frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

4•FerkiHN•7mo 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•7mo ago
Please share your opinion.
FerkiHN•7mo 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•7mo ago
Wasm as replacement for css and HTML? Thats what are you asking about?
FerkiHN•7mo 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•7mo 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•7mo 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•7mo 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•7mo ago
Thank you!
palmfacehn•7mo ago
Here are two approaches:

https://github.com/yewstack/yew

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

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

From memory, initial page load times are slower

theworIdismine•7mo 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

breve•7mo ago
Avalonia is an example: https://avaloniaui.net/

Here are some Avalonia WebAssembly demos:

- https://solitaire.xaml.live/

- https://bandysc.github.io/AvaloniaVisualBasic6/

- https://eremex.github.io/controls-demo/

Uno is a similar idea: https://platform.uno/

Suno, AI Music, and the Bad Future [video]

https://www.youtube.com/watch?v=U8dcFhF0Dlk
1•askl•33s ago•0 comments

Ask HN: How are researchers using AlphaFold in 2026?

1•jocho12•3m ago•0 comments

Running the "Reflections on Trusting Trust" Compiler

https://spawn-queue.acm.org/doi/10.1145/3786614
1•devooops•8m ago•0 comments

Watermark API – $0.01/image, 10x cheaper than Cloudinary

https://api-production-caa8.up.railway.app/docs
1•lembergs•9m ago•1 comments

Now send your marketing campaigns directly from ChatGPT

https://www.mail-o-mail.com/
1•avallark•13m ago•1 comments

Queueing Theory v2: DORA metrics, queue-of-queues, chi-alpha-beta-sigma notation

https://github.com/joelparkerhenderson/queueing-theory
1•jph•25m ago•0 comments

Show HN: Hibana – choreography-first protocol safety for Rust

https://hibanaworks.dev/
5•o8vm•27m ago•0 comments

Haniri: A live autonomous world where AI agents survive or collapse

https://www.haniri.com
1•donangrey•27m ago•1 comments

GPT-5.3-Codex System Card [pdf]

https://cdn.openai.com/pdf/23eca107-a9b1-4d2c-b156-7deb4fbc697c/GPT-5-3-Codex-System-Card-02.pdf
1•tosh•40m ago•0 comments

Atlas: Manage your database schema as code

https://github.com/ariga/atlas
1•quectophoton•43m ago•0 comments

Geist Pixel

https://vercel.com/blog/introducing-geist-pixel
2•helloplanets•46m ago•0 comments

Show HN: MCP to get latest dependency package and tool versions

https://github.com/MShekow/package-version-check-mcp
1•mshekow•54m ago•0 comments

The better you get at something, the harder it becomes to do

https://seekingtrust.substack.com/p/improving-at-writing-made-me-almost
2•FinnLobsien•55m ago•0 comments

Show HN: WP Float – Archive WordPress blogs to free static hosting

https://wpfloat.netlify.app/
1•zizoulegrande•57m ago•0 comments

Show HN: I Hacked My Family's Meal Planning with an App

https://mealjar.app
1•melvinzammit•57m ago•0 comments

Sony BMG copy protection rootkit scandal

https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootkit_scandal
2•basilikum•1h ago•0 comments

The Future of Systems

https://novlabs.ai/mission/
2•tekbog•1h ago•1 comments

NASA now allowing astronauts to bring their smartphones on space missions

https://twitter.com/NASAAdmin/status/2019259382962307393
2•gbugniot•1h ago•0 comments

Claude Code Is the Inflection Point

https://newsletter.semianalysis.com/p/claude-code-is-the-inflection-point
3•throwaw12•1h ago•1 comments

Show HN: MicroClaw – Agentic AI Assistant for Telegram, Built in Rust

https://github.com/microclaw/microclaw
1•everettjf•1h ago•2 comments

Show HN: Omni-BLAS – 4x faster matrix multiplication via Monte Carlo sampling

https://github.com/AleatorAI/OMNI-BLAS
1•LowSpecEng•1h ago•1 comments

The AI-Ready Software Developer: Conclusion – Same Game, Different Dice

https://codemanship.wordpress.com/2026/01/05/the-ai-ready-software-developer-conclusion-same-game...
1•lifeisstillgood•1h ago•0 comments

AI Agent Automates Google Stock Analysis from Financial Reports

https://pardusai.org/view/54c6646b9e273bbe103b76256a91a7f30da624062a8a6eeb16febfe403efd078
1•JasonHEIN•1h ago•0 comments

Voxtral Realtime 4B Pure C Implementation

https://github.com/antirez/voxtral.c
2•andreabat•1h ago•1 comments

I Was Trapped in Chinese Mafia Crypto Slavery [video]

https://www.youtube.com/watch?v=zOcNaWmmn0A
2•mgh2•1h ago•1 comments

U.S. CBP Reported Employee Arrests (FY2020 – FYTD)

https://www.cbp.gov/newsroom/stats/reported-employee-arrests
1•ludicrousdispla•1h ago•0 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
2•vladeta•1h ago•1 comments

Show HN: SVGV – A Real-Time Vector Video Format for Budget Hardware

https://github.com/thealidev/VectorVision-SVGV
1•thealidev•1h ago•0 comments

Study of 150 developers shows AI generated code no harder to maintain long term

https://www.youtube.com/watch?v=b9EbCb5A408
2•lifeisstillgood•1h ago•0 comments

Spotify now requires premium accounts for developer mode API access

https://www.neowin.net/news/spotify-now-requires-premium-accounts-for-developer-mode-api-access/
2•bundie•1h ago•0 comments