Re:Speeding up the JavaScript ecosystem – one library at a time
by croes on Wednesday November 30, 2022 @12:38AM
(#33797373)
Just because it can be faster doesn't mean it's fast.
[ Parent
| on HN ]
Re:Speeding up the JavaScript ecosystem – one library at a time
by hajile on Wednesday November 30, 2022 @09:38AM
(#33801319)
When you get down to basics, JS has arrays, structs, ints, floats, and strings+regex (both backed by very fast C++ implementations. If you stick to these things as if they were C analogs, the performance potential is very high.
Viewed in those terms, it shouldn't be surprising that JS can be incredibly fast (faster than C in some cases).