Re:We halved DNS build delay and cut memory use by 85%
by kevin_thibedeau on Monday November 02, 2026 @07:29PM
(#50346328)
Why the heavy reliance on Javascript when native code would bring performance and energy savings?
[ Parent
| on HN ]
Re:We halved DNS build delay and cut memory use by 85%
by cowlevel on Monday November 02, 2026 @09:38PM
(#50347301)
isn't that their job? you can't deliver native code to web browsers.
Re:We halved DNS build delay and cut memory use by 85%
by x-complexity on Monday November 02, 2026 @10:37PM
(#50347739)
1) This decision was made pre-AI, where human familiarity mattered. Since the devs that would've used this were familiar with JS, that was what they were stuck with.
2) You're targeting to the wrong person. Blame the managers at Netscape for pushing Brendan Eich into creating JS, rather than letting him use Scheme as the scripting language. From there, it would've made sense to allow Scheme to be compiled into bytecode.
Re:We halved DNS build delay and cut memory use by 85%
by lmz on Tuesday November 03, 2026 @03:13AM
(#50349376)
Why would Scheme be more likely to lead to bytecode than JS?
Re:We halved DNS build delay and cut memory use by 85%
by jgrahamc on Tuesday November 03, 2026 @10:43AM
(#50353404)
There's a lot of native code at Cloudflare. Just go look up the optimisations we did around crypto or compression in assembly. Or every time we use a compiled language like Go or Rust or C++.
I'd also say that when you look at JITed language like Lua and JavaScript the performance is pretty damn impressive. As with so many things it depends what you're doing.