News for hackers. Stuff that matters.
Re:LSE Halts by alecco on Friday February 25, 2011 @07:10AM (#2261899)
I still don't understand how they choose languages with garbage collection for systems that should be real time or similar.
Re:LSE Halts by davidw on Friday February 25, 2011 @07:37AM (#2261950)
Erlang is not "real time" in the hard, embedded systems sense, but it does pretty well and has GC.

Here's a bit more information: http://www.erlang.org/faq/academic.html#id55755

I don't know what sorts of 'real time' properties trading systems are required to have - can anyone talk about it with a bit more in-depth knowledge?

Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @08:49AM (#2262139)
I don't know much, but for high-frequency trading, fast is never fast enough. response times are measured in microseconds.

http://richg74.wordpress.com/2010/10/25/speedy-new-lse-tradi...

http://www.h-online.com/open/news/item/Linux-boosts-Stock-Ex...

Re:LSE Halts by alecco on Friday February 25, 2011 @08:59AM (#2262163)
Speed isn't all. The system should be based in algorithms with manageable worst case time.
Re:LSE Halts by alecco on Friday February 25, 2011 @08:55AM (#2262153)
I don't buy Erlang camp's reports.

A GC will always trash the cache, and that's the worst issue right now in hardware. (If you take out HDD I/O.)

Re:LSE Halts by axod on Friday February 25, 2011 @07:24AM (#2261925)
GC isn't a problem for realtime systems, if configured correctly. For example, have the GC running incrementally in a separate thread.
Re:LSE Halts by CountHackulus on Friday February 25, 2011 @11:08AM (#2262584)
Close, you do need to stop the world every once in a while to GC some of the harder stuff.

But it's true, there's flavors of Java that are certified for hard realtime. If you stop the GC for 100ms every 2s regardless if you need it or not, that's pretty nice and predictable behavior for a realtime system.

Re:LSE Halts by wingo on Friday February 25, 2011 @11:18AM (#2262636)
100ms is an eternity. You can do GC with 1ms pauses.

http://www.infoq.com/articles/azul_gc_in_detail, for one example.

Re:LSE Halts by timrobinson on Friday February 25, 2011 @07:11AM (#2261900)
It's not F# or Java, it's C++. http://news.ycombinator.com/item?id=2261896
Re:LSE Halts by alecco on Friday February 25, 2011 @07:20AM (#2261919)
It could be some left over system from the previous .Net platform causing a knock-on effect.
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @07:29AM (#2261935)
It could be anything. Why do you want it to be that?
Re:LSE Halts by alecco on Friday February 25, 2011 @07:34AM (#2261945)
I don't want it to be that. I'm saying the rumour sounds plausible.
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @08:50AM (#2262141)
Not so plausible to me, considering that the old system was in C#.
Re:LSE Halts by dagw on Friday February 25, 2011 @09:39AM (#2262282)
I'm pretty sure I've read somewhere that they where using F# for some parts.
Re:LSE Halts by IDisposableHero on Monday February 28, 2011 @10:25AM (#2271489)
Can we have a link please?
Re:LSE Halts by tzs on Friday February 25, 2011 @12:46PM (#2263017)
That seems unlikely. F# only recently moved from being an experimental language from Microsoft Research to a supported .NET language. The previous system is old enough to predate that.
Re:LSE Halts by StrawberryFrog on Friday February 25, 2011 @05:31PM (#2264054)
Agreed. and Anderson consulting using an experimental, non-obvious language? I don't see it.
Re:LSE Halts by scott_s on Friday February 25, 2011 @11:26AM (#2262660)
You may be interested in the Metronome project, which aims to provide a GC suitable for realtime use: http://domino.research.ibm.com/comm/research_projects.nsf/pa...

An academic paper about the project, Design and Implemention of a Comprehensive Real-Time Java Virtual Machine: http://domino.research.ibm.com/comm/research_people.nsf/page...