4 ms·
How does java equal performance ?
by umen 4y ago
How does java equal performance ?
- badpun 4y agoA lot of core products in FAANGs (e.g. Search at Google) are written largely in Java. They're quite performant, esp. for the scale they operate at. Also, FAANGS are very mindful of performance, because at their scale, it translates into gigantic infrastructure costs. They wouldn't be choosing Java if it had poor performance. On the other hand, Python is/was banned at Google for anything performance-sensitive. Specifically for serving requests, lack of firbers/green threads is a killer for Java (you will be outcompeted by languages which have fibers, such as Scala), but it's still miles ahead of languages which don't even have full-blown multithreading (i.e. without interpretet lock), such as Python.