by agentultra · 2mo ago · 0 comments
Or, you can have fast programs that use memory efficiently.
You just can’t do it in JavaScript. You can get really performant with JavaScript with careful engineering for sure… but there’s a big wall of diminishing returns even with all of the JIT compilation and tracing garbage collection.
Nothing stopping those same JS developers from learning some Zig or Rust or whatever. It might actually be easier to learn than memorizing all of JavaScript’s implicit coercion rules.
But if that’s too much to ask then stay in JS land and make sure there are JS devs to write tools for!
Even the V8 team gave up on documentation: https://v8.dev/blog
There is nothing stopping JS devs from working with byte buffers with near-zero overhead.
React is a whole beast.
It would be neat to see some JS devs killing some benchmarks.
Surely there can be some middle ground were you just want some small part of your app to run faster without including another tech ecosystem (locked within a Wasm sandbox).