frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Why don't browsers load websites directly in WASM?

3•FerkiHN•5h ago
I've been wondering — modern browsers are optimized to parse and run HTML, CSS, and JavaScript. But what if a browser was built to load and run websites written directly in WebAssembly?

Wouldn’t this improve performance, startup speed, and reduce overhead from parsing multiple formats? Why hasn't anyone created a browser where the default language for sites is WASM?

Is it a technical limitation, security concern, or just lack of interest from the ecosystem?

I’d love to hear what the HN community thinks.

Comments

FerkiHN•5h ago
Please share your opinion.
FerkiHN•5h ago
I'm still exploring this idea and I know it's far from perfect, but I posted it here because HN is a great place for constructive feedback.

If this concept sounds interesting to you — even if you think it's flawed — I’d love to hear how you would improve or reshape it. Maybe there’s a better way to approach it, or a different angle I haven’t considered.

Feel free to break it down, challenge it, or build on it. That's exactly what I'm here for

high_na_euv•4h ago
Wasm as replacement for css and HTML? Thats what are you asking about?
FerkiHN•4h ago
Not quite — I'm not saying we should replace everything like HTML or CSS, but I'm exploring the idea of a browser that can load and run full sites or apps written entirely in WASM.

Like how operating systems run .exe or ELF binaries — what if a browser did the same but with .wasm? Maybe not for regular documents, but for apps/games/tools where you want full control, performance, and custom UI rendering without relying on the traditional web stack.

Just brainstorming, I’m curious what others think.

mb2100•4h ago
modern OSes also come with a windowing system and GUI apis. And even terminals have a stdin/stdout. You'd need some kind of interface to interact with the world.
magicalhippo•4h ago
Do you mean building the page via DOM manipulation using WASM? So the browser loads an empty page, and the WASM generates the page by calling createTextNode() and such?
mb2100•4h ago
This. WASM may be a replacement for JavaScript, but what about HTML, CSS and the DOM?

If you want to know what WASM is actually a good fit for and what not, see https://queue.acm.org/detail.cfm?id=3746171

FerkiHN•4h ago
Thank you!
palmfacehn•3h ago
Here are two approaches:

https://github.com/yewstack/yew

https://www.egui.rs/#demo

mmarian•3h ago
Check Blazor WebAssembly: https://learn.microsoft.com/en-us/aspnet/core/blazor/hosting...

From memory, initial page load times are slower

theworIdismine•2h ago
i don't think you understand what wasm does. it cannot substitute html because wasm and html do completely different things!! the web is not just about speed, people buy things because they are pretty too, not just because they are useful. if you need speed, you download a program.

and if you are passing your words through a llm before submitting them here, please stop, i'd rather see honest yet broken english

Decker: HyperCard for Modern Platforms

https://internet-janitor.itch.io/decker
1•metadat•1m ago•0 comments

Context Fail

https://www.dbreunig.com/2025/06/22/how-contexts-fail-and-how-to-fix-them.html
1•rafaepta•1m ago•0 comments

Carl Woese: The Sherlock Holmes of Biology

https://docs.google.com/document/d/1yz9OUBUjfDhh3yoQj1o4s76hTSXkmTlE2w2ZgzpOf6o/edit?usp=sharing
1•jdcampolargo•1m ago•0 comments

Show HN: A static site generator running in the browser

https://mastrojs.github.io/#the-static-site-generator-that-runs-in-your-browser
1•mb2100•2m ago•0 comments

Historical Tech Tree

https://www.historicaltechtree.com/
1•calvinfo•3m ago•0 comments

Open Targets Hackathon: Celebrating 10 Years of Innovation in Target Discovery

https://www.opentargets.org/hackathon
1•carcruzdev•4m ago•0 comments

Generate AI art in the browser for $0 (no login, prompt templates included)

https://michelangelo.best/
1•bai422•5m ago•2 comments

Exploring ways to make async Rust easier

https://carllerche.com/2021/06/17/six-ways-to-make-async-rust-easier/
1•fanf2•5m ago•0 comments

Reasons to Retire as Soon as You Can [video]

https://www.youtube.com/watch?v=mt_hsaqWLQo
1•walterbell•6m ago•0 comments

The bots that keep on giving

https://wxp.io/blog/the-bots-that-keep-on-giving
1•lucastech•7m ago•1 comments

City to get its own Monopoly board after contest

https://www.bbc.com/news/articles/cg4rnke7v7ro
1•Bluestein•7m ago•0 comments

Franklin W. Stahl, 95, Dies; Helped Create a 'Beautiful' DNA Experiment

https://www.nytimes.com/2025/07/07/science/franklin-w-stahl-dead.html
1•mitchbob•7m ago•2 comments

Cats Confuse Reasoning LLM – Adversarial Triggers for Reasoning Models

https://arxiv.org/abs/2503.01781
1•tfpgh•7m ago•0 comments

Breakthrough in Semiconductor Technology Paves the Way for Faster 6G Networks

https://www.techbriefs.com/component/content/article/53313-breakthrough-in-semiconductor-technology-paves-the-way-for-faster-6g-networks
1•Kaibeezy•8m ago•0 comments

Video Roll: All-in-One Video Enhancements Web Extension

https://videoroll.app/en
1•gxy5202•8m ago•0 comments

Early Desktop Publishing Tools That Didn't Make It

https://tedium.co/2022/10/12/forgotten-desktop-publishing-tools-history/
2•ohjeez•8m ago•0 comments

Show HN: ModelFetch – Deploy MCP servers anywhere TypeScript/JavaScript runs

https://github.com/phuctm97/modelfetch
2•phuctm97•9m ago•0 comments

Identity Is A Bitchat Challenge (MITM Flaw)

https://www.supernetworks.org/pages/blog/agentic-insecurity-vibes-on-bitchat
1•supernetworks_•9m ago•0 comments

Why Are Protesters in Mexico City Angry at Remote Workers?

https://www.nytimes.com/2025/07/07/world/americas/mexico-city-protests-rent-prices-tourists.html
1•mitchbob•11m ago•1 comments

Show HN: CVGuru – Free and Simple Resume Builder (With AI in Right Places)

https://cvguru.app/
1•DanYan•14m ago•0 comments

Show HN: I built a toy music controller for my 5yo with a coding agent

https://github.com/jeffmccune/sonoserve
1•JeffMcCune•15m ago•0 comments

Unleashing the power of end-user programmable AI

https://dl.acm.org/doi/pdf/10.1145/3746223
2•andsoitis•16m ago•0 comments

TiddlyWiki Community Survey 2025

https://tiddlywiki.com/#Community%20Survey%202025
1•jermolene•17m ago•0 comments

Why JWTs Can't Handle AI Agent Access

https://www.permit.io/blog/why-jwts-cant-handle-ai-agent-access
2•gemanor•17m ago•0 comments

Show HN: Trying to eat better? I built a nutrional assistant

https://chat.eko-bazaar.com/
6•dammsaturn•18m ago•0 comments

Show HN: CLI for smooth ESLint adding or rules migration

https://github.com/runespoor-engineering/cli-eslint-disable
2•BorysShuliak•18m ago•1 comments

How I ensure every Daily Q-less puzzle is solvable

https://www.damiensnyder.com/blog/qless-solver/
2•todsacerdoti•18m ago•0 comments

Apple Intelligence – Beware the AI 80/20

https://blog.dfeldman.co/apple-intelligence-beware-the-ai-80-20-f09f1960f711
2•schvenk•18m ago•1 comments

My uncle created the TIFF File

https://old.reddit.com/r/Archivists/comments/1lu46k0/my_uncle_created_the_tiff_file/
2•ohjeez•19m ago•0 comments

Python-Fu: Object-Oriented, Metaprogramming, Testing, Packaging

https://yourlabs.org/posts/2025-07-08-python-fu-metaprogramming-object-oriented-testing-debugging-crash-course/
5•1337shadow•19m ago•0 comments