←back to thread

160 points todsacerdoti | 1 comments | | HN request time: 0.203s | source
Show context
a_wild_dandan ◴[] No.41899143[source]
I’m continually surprised at JavaScript’s speed. Seeing JS sometimes nipping at the heels of C/rust/etc in performance benchmarks blows me away. V8 is such an incredible piece of engineering.

In my work, it’s hard to justify using something other than JS/TS — incredible type system, fast, unified code base for server/mobile/web/desktop, world’s biggest package ecosystem for anything you need, biggest hiring pool from being the best known language, etc.

It’s just such a joy to work with, ime. Full-stack JS has been such a superpower for me, especially on smaller teams.

The dissonance between how the silent majority feels about JS (see, e.g the SO yearly survey), vs the animus it receives on platforms like HN is sad. So here’s my attempt at bringing a little positivity and appreciation to the comments haha.

replies(2): >>41901486 #>>41911966 #
1. fredrikholm ◴[] No.41911966[source]
It's important to recognize how seldom this carries out in practice.

I've rewritten some ~10 small node servers to Go, Java and C#, and they've always been >10X faster without changing algorithms.

Even in the few cases where dynamic languages catch up, they're often written in an unidiomatic style (read: optimized) and compete with unoptimized/naive C/C++.