Hacker News new | past | comments | ask | show | jobs | submit login

Java's gotten a lot better with latency with new GCs. Some codebases use statically-allocated memory in Java and do it very carefully. Sometimes shops will just shut off the GC. Graal also gives you AOT options now.

One thing I read is that memory allocation can be faster in Java because malloc can result in system calls. Deallocation is what's slower.




You can also use your own allocator in C++ to reduce system calls.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: