2 ms·
I wonder how it compares to (1) Go, (2) the JVM, and (3) native stuff like Rust and C++. Obviously as with all such benchmarks the skill of the programmer doin
by api 2y ago
I wonder how it compares to (1) Go, (2) the JVM, and (3) native stuff like Rust and C++.
Obviously as with all such benchmarks the skill of the programmer doing the implementing matters a lot. You can write inefficient clunky code in any language.
- kfuse 2y agoAll modern popular languages are fast, except the most popular one.
- paulddraper 2y agoAnd Python+Ruby
- api 2y agoJavaScript is hella fast for a dynamically typed language, but that's because we've put insane amounts of effort into making fast JITing VMs for it.
- zamalek 2y agoSure, but "for a dynamically typed language" still means that it's slow amongst all languages.
- jeffbee 2y agoJava and .NET (and JS or anything that runs under v8 or HotSpot) usually compare favorably to others because they come out of the box with PGO. The outcomes for peak-optimized C++ are very good, but few organizations are capable of actually getting from their C++ build what every .NET user gets for free.
- metaltyphoon 2y ago.NET go as far as having D(ynamic)PGO, which is enabled by default.
- junto 2y agohttps://medium.com/deno-the-complete-reference/net-vs-java-vs-go-vs-rust-hello-uuid-performance-7ead3e7e79aa https://medium.com/deno-the-complete-reference/net-vs-java-v...
- kristianp 2y agoI would say go is not in the same category of speed as rust anf c/c++. The level of optimisation done by them is next level. Go also doesn't inline your assembly functions, has less vectorisation in the standard libraries, and doesn't allow you to easily add vectorisation with intrinsics.