On Sat, 2014-03-22 at 00:39 +0000, bearophile wrote:
> TJB:
> 
> > Why a tough sell?  Please explain.
> 
> That code must always be hard-real time. So a GC is allowed only 
> during startup time (unless it's a quite special GC), hidden heap 
> allocations are forbidden, data access patterns need to be 
> carefully chosen, you even have to use most of the hot part of 
> the stack, etc.

Not entirely the case. Yes the ultra-high-frequency traders tend to be C
++ and hard real time with no operating system scheduler active. However
there are a number of high frequency trading systems using the JVM with
the G1 garbage collector since actually only soft real time is needed
for the trading they are doing.

It is also worth pointing out the LMAX Disruptor which is a lock-free
ring buffer based framework used to create dealing platforms on the JVM.
They outperform any other trading platform still. 
 
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[email protected]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [email protected]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Reply via email to