| ▲ | motoboi 3 hours ago | |||||||||||||
Rust? OK. C++ or go? Then you'll have to take a very closer look, because the java JIT is wonderful. A masterpiece of several hands, actually. | ||||||||||||||
| ▲ | bluGill 3 hours ago | parent | next [-] | |||||||||||||
If low latency is your goal than you don't want JIT. JIT has two issues in low latency, first the first time through your code isn't compiled yet and so you get high latency. Second, it optimizes for the common case, which means when you hit an exception that exception will be higher latency because everything hits a branch miss. Of course we are talking generals here. Sometimes the above is acceptable and Java/JIT is just fine. Sometimes it is unacceptable and you cannot use Java/JIT. Know your domain. Of course in all cases (C, Rust, C++), you have to understand the system and what it is doing. Every language has a standard library that will do things that are not low latency on you. You have to know which library functions will do what, memory allocation and copies are both things that code often does without thought that are incompatible with low latency. No matter what you need to know what your language does that is against you. | ||||||||||||||
| ||||||||||||||
| ▲ | 2 hours ago | parent | prev [-] | |||||||||||||
| [deleted] | ||||||||||||||