L
Lloyd Dupont
quite honnestly if the garbage collection was really taking 1 seconds it
will really suck !
anyway, it's not the case as we well know ;-)
will really suck !
anyway, it's not the case as we well know ;-)
Cowboy (Gregory A. Beamer) - MVP said:If I read this correct, the logic is this:
1. Real time systems must poll every 1 second
2. .NET suspends threads during garbage collection
3. Garbage Collection must happen when memory gets low
4. Garbage collection will take more than one second
5. Therefore, .NET sucks
Sahil Malik said:Well, C++ rulz maybe correct, but it is still harder to work with when
compared with C# etc. Also fully managed code is safer in general. The point
of my previous post was, you can still use dotnet and avoid C++ by just a
little bit of clever thinking out of the box. Of course not everything is
do-able through purely managed code, but 99.999% is acheivable.
--
- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
-------------------------------------------------------------------------- --
Michael D. Ober said:Right on the mark. There are very, very few application domains that
absolutely require hard real-time processing. For these applications, a
RTOS is required anyway.
Mike Ober.
You may have also found a scenario where you need a
screwdriver instead of a hammer. It does not mean the hammer sucks.
screwdriver instead of a hammer. It does not mean the hammer sucks.
Tyrant Mikey said:Having interviewed with Microsoft myself, I seriously doubt the
authenticity of your claims here.
Chris said:Who would use an interpreted language for real time processing? Doesn't
sound like someone knew what they were doing when they chose a language
to meet their requirements.
You shouldn't use .NET for this type of thing... you C or C++ or some
other language that you control every aspect of the language.
[email protected] said:Let me tell you a scenario and you will see what I mean.
There is a large application that has communication with a real time
system . The app has to respond to the requests in no more than 1 s.
The app is a C# .NET app and everything is fine and everyone at
Dmitry Sazonov said:I developed real time stock trading applicaiton in C#. My applicaiton
trades
642,000 stocks symbols in real time, with reaction to market event less
than
1 millisecond. My applcation receiving 200 giga bytes / hour of reali time
data and generates hundreds of thousands orders to trade a day. All in C#.
I do not have probelms with Garbage Collectior because I'm trying to use
memory wisely. My app spends less than 2% in GC.
Therefore, you imaginary "realtime applicaiton with respond in no more
than
one second" is piece of cake for .NET.
Assuming you can really code, not yell at people.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.