E
E
Egorithm2017-01-18 19:54:14
C++ / C#
Egorithm, 2017-01-18 19:54:14

How to process stream in real time?

I don't even know how to phrase it. So I'll give you an example.
Let's say I decided to make a text editor with syntax highlighting. But the syntax highlighting should not work when I press some button, but in real time.
How is this done? I don't even know how to google it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2017-01-18
@EgoRusMarch

Multithreading. One thread waits for input from the keyboard, another one checks and highlights the syntax, the third one draws a clock in the corner, the fourth one in the background saves the current one to a temporary file...

Z
z0rgoyok, 2017-01-18
@z0rgoyok

And in "real time" is when?

D
d-stream, 2017-01-19
@d-stream

Realtime is not on windows or Linux
Need a realtime operating system.
But in the background - then "almost immediately" - we have already described above about mogoflow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question