News for hackers. Stuff that matters.
Re:The Future of Programming by jamii on Wednesday July 31, 2013 @05:14AM (#6132604)
> No solution on Sun JVM will ever be able to replace Erlang for applications which require low-latency processing

http://martinfowler.com/articles/lmax.html

I've spent a great deal of time trying to make a very similar erlang system reach 1/100 of the throughput/latency that the LMAX guys managed in pure java. There are days when I cry out in my sleep for a shared mutable variable.

Re:The Future of Programming by stass on Wednesday July 31, 2013 @01:18PM (#6135299)
If you need shared state to pass a lot of data between CPUs than erlang might not be a right solution; however the part that needs to do it can be isolated, implemented in C, and communicated with from BEAM.

What always amuses me about LMAX is the way they describe it (breakthrough! Invention!), while what they "invented" is a ring buffer and is the the solution everybody arrives to first. This is the way how all device drivers communicate with peripheral devices, for example; and fast IPC mechanism people used in UNIX for decades. Even more funny, that it takes less code to implement it in C from scratch than use LMAX library.