Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using C# for real time applications

Tags:

Can C# be used for developing a real-time application that involves taking input from web cam continuously and processing the input?

like image 835
krackoder Avatar asked Sep 21 '10 15:09

krackoder


People also ask

What is using () in C#?

The using statement causes the object itself to go out of scope as soon as Dispose is called. Within the using block, the object is read-only and can't be modified or reassigned. A variable declared with a using declaration is read-only.

How do I start learning C?

Get started with C. Official C documentation - Might be hard to follow and understand for beginners. Visit official C Programming documentation. Write a lot of C programming code - The only way you can learn programming is by writing a lot of code.

Is C easy to learn?

While C is one of the more difficult languages to learn, it's still an excellent first language pick up because almost all programming languages are implemented in it. This means that once you learn C, it'll be simple to learn more languages like C++ and C#.


1 Answers

You cannot use any main stream garbage collected language for “hard real-time systems”, as the garbage collect will sometimes stop the system responding in a defined time. Avoiding allocating object can help, however you need a way to prove you are not creating any garbage and that the garbage collector will not kick in.

However most “real time” systems don’t in fact need to always respond within a hard time limit, so it all comes down do what you mean by “real time”.

Even when parts of the system needs to be “hard real time” often other large parts of the system like the UI don’t.

(I think your app needs to be fast rather than “real time”, if 1 frame is lost every 100 years how many people will get killed?)

like image 181
Ian Ringrose Avatar answered Sep 24 '22 17:09

Ian Ringrose