News for hackers. Stuff that matters.
Re:Anthropic acquires Bun by wiseowise on Tuesday December 02, 2025 @05:47PM (#46128006)
Not in the browser, and no – webassembly doesn't count, otherwise you can say the same about Go and others.
Re:Anthropic acquires Bun by creata on Tuesday December 02, 2025 @05:55PM (#46128073)
Wasm does count, and you can say the same about Go and others.
Re:Anthropic acquires Bun by Sammi on Tuesday December 02, 2025 @06:54PM (#46128579)
Js just runs as is. Atwood's Law and all that.
Re:Anthropic acquires Bun by jazzypants on Tuesday December 02, 2025 @08:20PM (#46129147)
Sure, they run, but they can't touch the DOM or do much that's very interesting without JavaScript.
Re:Anthropic acquires Bun by techscruggs on Tuesday December 02, 2025 @06:31PM (#46128386)
I remember a time ...
Re:Anthropic acquires Bun by kreijstal on Tuesday December 02, 2025 @07:45PM (#46128930)
java did run in the browser once.... it was embedded directly on the browser there was also nsapi

you could also run java with js if you are brave enough https://kreijstal.github.io/java-tools/

Re:Anthropic acquires Bun by TeaVMFan on Tuesday December 02, 2025 @09:55PM (#46129773)
Java runs in the browser currently, after a transpilation step (same as .ts):

https://teavm.org/

Re:Anthropic acquires Bun by gf000 on Wednesday December 03, 2025 @05:18AM (#46132721)
Also CheerpJ (with support for Swing UIs even), Closure compiler, and now GraalVM also has an experimental WasmGC target.
Re:Anthropic acquires Bun by fishmicrowaver on Tuesday December 02, 2025 @06:31PM (#46128376)
May I ask, what is this obsession with targeting the browser? I've also noticed a hatred of k8s here, and while I truly understand it, I'd take the complication of managing infrastructure over frontend fads any day.
Re:Anthropic acquires Bun by MasterScrat on Tuesday December 02, 2025 @07:19PM (#46128768)
HN has a hatred of K8s? That’s new to me
Re:Anthropic acquires Bun by fishmicrowaver on Tuesday December 02, 2025 @07:48PM (#46128951)
This is a site for startups. They have no business running k8s, in fact, many of the lessons learned get passed on from graybeards to the younger generation along those lines. Perhaps I'm wrong! I'd love to talk shop somewhere.
Re:Anthropic acquires Bun by smt88 on Tuesday December 02, 2025 @10:44PM (#46130076)
K8s is used in many situations it shouldn't be, and a lot of HNers (including me) are bitter about having to deal with the resulting messes
Re:Anthropic acquires Bun by amingilani on Tuesday December 02, 2025 @05:49PM (#46128025)
Why doesn’t wasm count?
Re:Anthropic acquires Bun by programmarchy on Tuesday December 02, 2025 @06:18PM (#46128277)
Compile step makes things more complicated.
Re:Anthropic acquires Bun by kevin_thibedeau on Tuesday December 02, 2025 @06:38PM (#46128428)
As opposed to minimized JS.
Re:Anthropic acquires Bun by Sammi on Tuesday December 02, 2025 @06:52PM (#46128557)
Same problem, different orders of magnitude.
Re:Anthropic acquires Bun by mcpeepants on Tuesday December 02, 2025 @06:53PM (#46128565)
why would the tool minify the script it generated?
Re:Anthropic acquires Bun by wiseowise on Wednesday December 03, 2025 @02:50AM (#46131386)
You don’t need to minimize JS to be able to run it.