Why did the team at LMAX use Java and design the architecture to avoid GC at all cost?
Posted
by
kadaj
on Programmers
See other posts from Programmers
or by kadaj
Published on 2013-12-23T14:04:05Z
Indexed on
2014/06/12
21:38 UTC
Read the original article
Hit count: 242
Why did the team at LMAX design the LMAX Disruptor in Java but all their design points to minimizing GC use? If one does not want to have GC run then why use a garbage collected language?
Their optimizations, the level of hardware knowledge and the thought they put are just awesome but why Java?
I'm not against Java or anything, but why a GC language? Why not use something like D or any other language without GC but allows efficient code? Is it that the team is most familiar with Java or does Java possess some unique advantage that I am not seeing?
Say they develop it using D with manual memory management, what would be the difference? They would have to think low level (which they already are), but they can squeeze the best performance out of the system as it's native.
© Programmers or respective owner