|
|
|
|
|
by pjmlp
71 days ago
|
|
Hardly given the limitation of V8 powering a dynamic language, it doesn't even match Java and .NET JIT compilers, as they have the benefit of actually using the type system for performance optimisations. What makes node projects bearable, is that occasionally I have an excuse to write C++ Addons, or to fix something in one of those npm packages that is more native code than JS. |
|
This stricter style js (asm.js) was the precursor to Webassembly; it still exists. You can also be very meticulous to craft monomorphic code through your project to get great performance.
Almost no one does this, cause it's harder, yet people still claim to know the limits of JS performance.
The AI Rust -> Typescript will provide the default structure V8 needs to run fast.