News for hackers. Stuff that matters.
Re:It Can Happen to You by Chyzwar on Friday March 05, 2021 @03:19AM (#26354265)
V8 documents these changes very well[1].

You can write very fast JS code. When carefully written it can have Java like performance[2]. It is just very hard in practice where most ecosystem is optimized for developer productivity.

When performance matter, write your own code and carefully benchmark everything. You can see this working for Typescript and VSCode[3]

[1] https://v8.dev/blog [2] https://benchmarksgame-team.pages.debian.net/benchmarksgame/... [3] https://github.com/microsoft/TypeScript/pull/43035#issuecomm...

Re:It Can Happen to You by IggleSniggle on Sunday March 14, 2021 @12:05AM (#26452938)
My understanding is that when written carefully, it can have Go-like performance.