frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

JSLinux Now Supports x86_64

https://bellard.org/jslinux/
120•TechTechTech•3h ago

Comments

petcat•2h ago
I've always been fascinated by this, but I have never known what it would be useful for. Does anyone know of any practical use cases?
varun_ch•2h ago
Maybe if you’ve got some ancient software that’s missing source code and only runs with X Y and Z conditions, you could continue to offer it on the web and build around it like that? Not sure if that would be practical at all, but could be interesting
maxloh•2h ago
My college professor used it to teach us the Linux command line

We have Windows PCs in the classroom.

omoikane•2h ago
I use bellard.org/jslinux to test compilation of strange code sometimes[1], since it came with compilers that are different versions from what I have installed locally, and it's easier to open up a browser than starting a VM.

[1] For example:

https://www.ioccc.org/2020/yang/index.html#:~:text=tcc%200.9...

https://www.ioccc.org/2018/yang/index.html#:~:text=tcc%200.9...

s-macke•2h ago
Most such emulators have Internet access on the IP level. Therefore, this is a very cheap way to test anything on the Internet.

    apk add nmap
    nmap your.domain.com
However, the speed is heavily throttled. You can even use ssh and login to your own server.

It can also be used as a very cheap way to provide a complete build environment on a single website, for example to teach C/C++. Or to learn the shell. You don't have to install anything.

toast0•2h ago
I use a similar emulator (v86) as a way to share my hobby OS. Approximately zero people, even my friends, are going to boot my hobby OS on real hardware; I did manage to convince some of them to run it in qemu, but it's difficult. A browser environment shows the thing quite well; and easy networking is cool too.

My hobby OS itself is not very useful, but it's fun if you're in the right mood.

redleader55•1h ago
Agentic workloads create and then run code. You don't want to just run that code in a "normal" environment like a container, or even a very well protected VM. There are other options, ofc - eg. gvisor, crossvm, firecracker, etc, but this one is uncommon enough to have a small number of attackers trying to hack it.
srdjanr•58m ago
What's wrong with a well protected VM? Especially compared to something where the security selling point is "no one uses it" (according to your argument; I don't know how secure this actually is)
maxloh•2h ago
Unfortunately, he didn't attach the source code for the 64-bit x86 emulation layer, or the config used to compile the hosted image.

For a more open-source version, check out container2wasm (which supports x86_64, riscv64, and AArch64 architectures): https://github.com/container2wasm/container2wasm

zamadatix•2h ago
https://github.com/copy/v86 might be a more 1:1 fully open sourced alternative.
maxloh•2h ago
Not really. x86_64 is not supported yet: https://github.com/copy/v86/issues/133
wolttam•2h ago
I can launch this thing and start making arbitrary connections out to port 25 on the internet from some random IP? Hmm.
maxloh•2h ago
From the "Technical notes" page:

> Access to Internet is possible inside the emulator. It uses the websocket VPN offered by Benjamin Burns (see his blog). The bandwidth is capped to 40 kB/s and at most two connections are allowed per public IP address. Please don't abuse the service.

https://bellard.org/jslinux/tech.html

notorandit•2h ago
Incredible guy!
westurner•1h ago
How do TinyEmu and JSLinux compare to linux-wasm?

From "Show HN: Amla Sandbox – WASM bash shell sandbox for AI agents" (2026) https://news.ycombinator.com/item?id=46825119 :

>>> How to run vscode-container-wasm-gcc-example with c2w, with joelseverin/linux-wasm?

>> linux-wasm is apparently faster than c2w

From "Ghostty compiled to WASM with xterm.js API compatibility" https://news.ycombinator.com/item?id=46118267 :

> From joelseverin/linux-wasm: https://github.com/joelseverin/linux-wasm :

>> Hint: Wasm lacks an MMU, meaning that Linux needs to be built in a NOMMU configuration

From https://news.ycombinator.com/item?id=46229385 :

>> There's a pypi:SystemdUnitParser.

westurner•1h ago
UBY: touchscreen: How to scroll the scrollback
blackhaz•1h ago
Sorry for the off-topic, but what a bliss to see Windows 2000 interface. And what an absolute abomination from hell pretty much all the modern UIs are.
shevy-java•37m ago
Yeah. Microsoft really went downhill UI-wise.
cheema33•34m ago
Is that even remotely relevant to JSLinux?
nout•26m ago
Yes, it's one of the available emulated systems on JSLinux.
simonw•1h ago
The thing I most want to use this (or some other WASM Linux engine) for is running a coding agent against a virtual operating system directly in my browser.

Claude Code / Codex CLI / etc are all great because they know how to drive Bash and other Linux tools.

The browser is probably the best sandbox we have. Being able to run an agent loop against a WebAssembly Linux would be a very cool trick.

I had a play with v86 a few months ago but didn't quite get to the point where I hooked up the agent to it - here's my WIP: https://tools.simonwillison.net/v86 - it has a text input you can use to send commands to the Linux machine, which is pretty much what you'd need to wire in an agent too.

In that demo try running "cat test.lua" and then "lua test.lua".

jraph•19m ago
Simon, this HN post didn't need to be about Gen AI.

This thing is really inescapable those days.

simonw•14m ago
Parallel thread: https://news.ycombinator.com/item?id=47311484#47312829 - "I've always been fascinated by this, but I have never known what it would be useful for."

I should have replied there instead, my mistake.

apignotti•16m ago
We are working on exactly this: https://browserpod.io

For a full-stack demo see: https://vitedemo.browserpod.io/

To get an idea of our previous work: https://webvm.io

shevy-java•38m ago
He builds epicness.
AlecMurphy•32m ago
If anyone is interested, I made some modifications last month to get TempleOS running on the x86_64 JSLinux: https://ring0.holyc.xyz/

Building a Procedural Hex Map with Wave Function Collapse

https://felixturner.github.io/hex-map-wfc/article/
221•imadr•3h ago•32 comments

JSLinux Now Supports x86_64

https://bellard.org/jslinux/
120•TechTechTech•3h ago•27 comments

Show HN: The Mog Programming Language

https://moglang.org
64•belisarius222•2h ago•26 comments

Is legal the same as legitimate: AI reimplementation and the erosion of copyleft

https://writings.hongminhee.org/2026/03/legal-vs-legitimate/
157•dahlia•5h ago•150 comments

DARPA's new X-76

https://www.darpa.mil/news/2026/darpa-new-x-76-speed-of-jet-freedom-of-helicopter
88•newer_vienna•3h ago•74 comments

Bluesky CEO Jay Graber is stepping down

https://bsky.social/about/blog/03-09-2026-a-new-chapter-for-bluesky
130•minimaxir•1h ago•132 comments

Launch HN: Terminal Use (YC W26) – Vercel for filesystem-based agents

50•filipbalucha•3h ago•38 comments

Fixfest is a global gathering of repairers, tinkerers, and activists

https://fixfest.therestartproject.org/
108•robtherobber•3h ago•9 comments

Florida judge rules red light camera tickets are unconstitutional

https://cbs12.com/news/local/florida-news-judge-rules-red-light-camera-tickets-unconstitutional
155•1970-01-01•3h ago•238 comments

Thomas Selfridge: The First Airplane Fatality

https://www.amusingplanet.com/2026/03/thomas-selfridge-first-airplane-fatality.html
3•Hooke•10m ago•0 comments

Fontcrafter: Turn Your Handwriting into a Real Font

https://arcade.pirillo.com/fontcrafter.html
380•rendx•11h ago•126 comments

Rethinking Syntax: Binding by Adjacency

https://github.com/manifold-systems/manifold/blob/master/docs/articles/binding_exprs.md
24•owlstuffing•1d ago•6 comments

Restoring a Sun SPARCstation IPX part 1: PSU and NVRAM (2020)

https://www.rs-online.com/designspark/restoring-a-sun-sparcstation-ipx-part-1-psu-and-nvram
71•ibobev•5h ago•40 comments

Flash media longevity testing – 6 years later

https://old.reddit.com/r/DataHoarder/comments/1q6xnun/flash_media_longevity_testing_6_years_later/
103•1970-01-01•1d ago•49 comments

Show HN: DenchClaw – Local CRM on Top of OpenClaw

https://github.com/DenchHQ/DenchClaw
51•kumar_abhirup•5h ago•53 comments

Durdraw – ANSI art editor for Unix-like systems

https://durdraw.org/
13•caminanteblanco•1h ago•6 comments

Workers report watching Ray-Ban Meta-shot footage of people using the bathroom

https://arstechnica.com/gadgets/2026/03/workers-report-watching-ray-ban-meta-shot-footage-of-peop...
68•randycupertino•1h ago•20 comments

The Most Beautiful Freezer in the World: Notes on Baking at the South Pole

https://www.newyorker.com/culture/the-weekend-essay/the-most-beautiful-freezer-in-the-world
10•mitchbob•1h ago•2 comments

Ireland shuts last coal plant, becomes 15th coal-free country in Europe (2025)

https://www.pv-magazine.com/2025/06/20/ireland-coal-free-ends-coal-power-generation-moneypoint/
756•robin_reala•10h ago•464 comments

Velxio, Arduino Emulator

https://velxio.dev/
13•dmonterocrespo•1d ago•4 comments

An opinionated take on how to do important research that matters

https://nicholas.carlini.com/writing/2026/how-to-win-a-best-paper-award.html
40•mad•4h ago•3 comments

No leap second will be introduced at the end of June 2026

https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/P6D36VZSZBUSSTSMZKFXKF4T4IXWN23P/
50•speckx•8h ago•55 comments

Reverse-engineering the UniFi inform protocol

https://tamarack.cloud/blog/reverse-engineering-unifi-inform-protocol
123•baconomatic•8h ago•52 comments

Jolla on track to ship new phone with Sailfish OS, user-replaceable battery

https://liliputing.com/the-new-jolla-phone-with-sailfish-os-is-on-track-to-start-shipping-in-the-...
134•heresie-dabord•4h ago•89 comments

FreeBSD Capsicum vs. Linux Seccomp Process Sandboxing

https://vivianvoss.net/blog/capsicum-vs-seccomp
96•vermaden•7h ago•37 comments

What I Always Wanted to Know about Second Class Values

https://dl.acm.org/doi/epdf/10.1145/3759427.3760373
20•todsacerdoti•3h ago•8 comments

US Court of Appeals: TOS may be updated by email, use can imply consent [pdf]

https://cdn.ca9.uscourts.gov/datastore/memoranda/2026/03/03/25-403.pdf
495•dryadin•14h ago•385 comments

Algebraic topology: knots links and braids

https://aeb.win.tue.nl/at/algtop-5.html
51•marysminefnuf•6h ago•4 comments

The optimal age to freeze eggs is 19

https://www.lesswrong.com/posts/dxffBxGqt2eidxwRR/the-optimal-age-to-freeze-eggs-is-19
47•surprisetalk•6h ago•64 comments

The engine of Germany's wealth is blocking its future

https://europeancorrespondent.com/en/r/the-engine-of-germanys-wealth-is-blocking-its-future
186•mariuz•5h ago•238 comments