Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Chronicle's system is built in what Lawrey describes as "C-like Java" and it's this that he encourages people to code low latency systems in. "

Does anyone have any guidelines for this type of code?



Basically it sounds like they adhere to MISRA C principles (but for Java) which is used in industries where performance and safety is more critical. Think embedded systems in automotive, space, etc.


Avoid creating classes and use lots of arrays and simple objects like float, int, and char. This way you avoid the dynamic allocations that are so common for objects in Java.


As they say: "You can write FORTRAN in any language".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: