frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Why is JavaScript STILL the only choice for browser-side programming

3•mikece•2h ago
Earlier this year JavaScript -- and it's integration with web browsers -- turned 30. The combined factors that JavaScript has been "good enough" and that the language and runtime has evolved significantly in the last 20 years has kept JavaScript as the language everyone has to learned "because it's the only one that runs in a web browser." Why is this still the case?

Visual Studio Code was created as a very light-weight text editor and the revolution that has made it the go-to editor for so many languages is the Language Server Protocol: VS Code doesn't need to understand your language, you only need an LSP that does and somewhat magically VS Code and your favorite language will get along as though they were made for each other.

Why can't we do something similar to LSP for browser-side languages? And no, I don't count anything that is implemented in WASM as being valid for what I'm saying: just because you can compile the Python or Ruby interpreter to WASM doesn't mean the browser natively supports it and native support is what I wish other languages had.

Comments

Nzen•1h ago
There are a couple of responses to your question:

* focusing on one language across the several browser vendors reduces the resources required for the different dimensions that each language supports : security, compatibility, performance, communicaton overhead for language standardization

* LSP does not define execution semantics, it defines text markup. A browser need to execute code, not just show it. So, now, a given browser needs to have a language plugin or call out to system programs to handle language X. That was a big hassle when they used to do so with the jvm and flash because of the same issues as above: is the version compatible, is the communication secure, do the different language vendors and browser vendors communicate their changes to each other in a timely and efficient fashion ?

GSA, Google Announce Transformative 'Gemini for Government' OneGov Agreement

https://www.gsa.gov/about-us/newsroom/news-releases/gsa-google-announce-gemini-onegov-agreement-08212025
1•ep_jhu•42s ago•0 comments

Did Ronald Reagan Have Aphantasia

https://hollisrobbinsanecdotal.substack.com/p/vision-without-seeing-part-ii
1•HR01•58s ago•0 comments

Why Can't the U.S. Build 5-Minute E.V. Chargers?

https://www.nytimes.com/2025/08/19/climate/us-electric-vehicle-chargers-china.html
1•bookofjoe•1m ago•1 comments

A Small Town in Alabama Became a Textile Haven

https://www.cntraveler.com/story/how-florence-alabama-became-a-textile-haven
1•speckx•2m ago•0 comments

Peer reviewers more likely to approve articles that cite their own work

https://www.nature.com/articles/d41586-025-02547-1
4•rntn•3m ago•0 comments

Alano Fishing Game – A Relaxing Adventure on the Water

1•thediversemark•4m ago•0 comments

Singles Are Sick of Dating Apps. But There Are 2.5M on Raya's Waitlist

https://www.wsj.com/style/raya-waitlist-founder-daniel-gendelman-3c64be91
1•uptown•4m ago•0 comments

Solar panels in space 'could provide 80% of Europe's renewable energy by 2050'

https://www.theguardian.com/environment/2025/aug/21/solar-panels-in-space-could-provide-80-of-europes-renewable-energy-by-2050
1•jjp•5m ago•0 comments

Ukrainian held in Italy over blast mystery of Nord Stream gas pipelines

https://www.bbc.com/news/articles/crkz1jl5j06o
1•colinprince•5m ago•0 comments

Apple Fitness Chief Accused of Toxic Workplace Culture and Harassment

https://www.nytimes.com/2025/08/21/technology/apple-fitness-jay-blahnik.html
2•donohoe•6m ago•0 comments

Ask HN: How do you let others try your LLM agents

2•fsilavong•7m ago•0 comments

Discrete optimization for on-call scheduling (2021)

https://www.rainforestqa.com/blog/discrete-optimization-for-on-call-scheduling
2•todsacerdoti•7m ago•0 comments

There might be a 'Planet Y' hiding in the outer solar system

https://www.newscientist.com/article/2493480-there-might-be-a-planet-y-hiding-in-the-outer-solar-system/
1•kPwn•8m ago•0 comments

Why Wall Street thinks the metaverse will be worth trillions (2022)

https://fortune.com/longform/wall-street-metaverse-web3-investors-roblox-meta-platforms-microsoft/
4•pera•10m ago•0 comments

Measuring the Mean Plane of the Distant Kuiper Belt

https://arxiv.org/abs/2508.14156
3•bikenaga•11m ago•1 comments

Bank forced to rehire workers after lying about chatbot productivity, union says

https://arstechnica.com/tech-policy/2025/08/bank-forced-to-rehire-workers-after-lying-about-chatbot-productivity-union-says/
7•ndsipa_pomu•14m ago•0 comments

Paul Graham Hacker News Archive

https://pghn.rhett.info/
1•basketbla•16m ago•1 comments

EPC23102: V, 35 A EPower Stage IC

https://epc-co.com/epc/products/gan-fets-and-ics/epc23102
1•addaon•18m ago•1 comments

Adding my home electricity uptime to status.href.cat

https://aggressivelyparaphrasing.me/2025/08/21/adding-my-home-electricity-uptime-to-status-href-cat/
4•todsacerdoti•19m ago•1 comments

Show HN: I Help Startups Go from Idea to Revenue in 30-60 Days

https://www.syket.io/
1•syketdas•19m ago•0 comments

"We are currently clean on OPSEC": The Signalgate Saga (DEFCON 33) [video]

https://www.youtube.com/watch?v=KFYyfrTIPQY
2•pona-a•20m ago•0 comments

Qoder: Agentic Coding Platform for Real Software

https://qoder.com/blog/qoder-introduction
2•meetpateltech•23m ago•0 comments

Bank backtracks on AI job cuts, apologises for 'error' as call volumes rise

https://www.abc.net.au/news/2025-08-21/cba-backtracks-on-ai-job-cuts-as-chatbot-lifts-call-volumes/105679492
4•speckx•24m ago•0 comments

What happened before the Big Bang? Computational method may provide answers

https://phys.org/news/2025-08-big-method.html
2•bikenaga•25m ago•1 comments

A summary of recent AI research (2016)

https://blog.plan99.net/the-science-of-westworld-ec624585e47
2•mike_hearn•26m ago•0 comments

Continental drying, shrinking freshwater, and land contributions to sea level

https://www.science.org/doi/10.1126/sciadv.adx0298
1•PaulHoule•26m ago•1 comments

Typosquatting GitHub Container Registry `Ghrc.io`

1•bschaatsbergen•27m ago•0 comments

Forced every engineer to take sales calls.They rewrote our platform in 2 weeks

https://old.reddit.com/r/Entrepreneur/comments/1mw5yfg/forced_every_engineer_to_take_sales_calls_they/
14•bilsbie•27m ago•3 comments

AI is creeping into the Linux kernel – and official policy is needed ASAP

https://www.zdnet.com/article/ai-is-creeping-into-the-linux-kernel-and-official-policy-is-needed-asap/
2•CrankyBear•28m ago•0 comments

Clopen Data

https://bastian.rieck.me/blog/2025/clopen_data/
1•Pseudomanifold•28m ago•0 comments