4 ms·
Certainly not knocking rust analyzer – it's great! I think the missing piece of node versus Java is Java has first class support for threading, so I guess it de
by rockwotj 4y ago
Certainly not knocking rust analyzer – it's great! I think the missing piece of node versus Java is Java has first class support for threading, so I guess it depends if your system is IO or CPU bound, but for CPU bound systems, Java is certainly better than node. My naive understanding of Java's Jit and nodes jit is that Java's has more optimizations for CPU bound workloads, where a lot of v8s optimizations have gone into faster parsing and initial loading because that's an important use case for the web compared to Java which is mostly optimizing for the server use case at this point.
- xyzzy4747 4y agoIf it was CPU bound and multi-threaded then wouldn’t Rust be a lot better? Since it has no runtime or garbage collection, in addition to having good built-in thread safety. Hence my original point.
- rockwotj 4y agoSure, but my point is that it's slower to develop the equivalent Rust than Java