Remix.run Logo
Any Nix package, live in the browser(fzakaria.com)
26 points by domenkozar an hour ago | 7 comments
yjftsjthsd-h 12 minutes ago | parent | next [-]

> we can run a Linux kernel in WebAssembly.

For a moment I thought someone did a port of Linux to wasm, but this is actually x86_64 Linux in a wasm qemu (with JIT, granted, which I suppose blurs the line). That's probably a lot more practical.

---

I'm stoked about the idea of using this for code review / bug reproduction / tutorials / demos. Obviously nix already gives you the reproducibility side of things, but running on any host system with zero setup and robust sandboxing should really improve its practical usefulness. Native nix doesn't give you "try this software by clicking a link and it works without installing anything", nor " here's some completely untrusted code someone wants you to run, and that's ~fine because it's in a browser tab".

indemnity 15 minutes ago | parent | prev | next [-]

Every damn vibe project: “Catchy hook, descriptive explanation”. Like they’ve all got their own marketing team now.

easterncalculus 14 minutes ago | parent | prev | next [-]

Seems very cool. I'm wondering what the next step would be for performance here. Trying python as suggested is quite slow so far.

  ~ # time python3 hello.py
  Hello World!
  real    0m 5.48s
  user    0m 4.11s
  sys     0m 1.24s
yjftsjthsd-h 6 minutes ago | parent [-]

There's a JIT, so running the same thing more than once makes it faster:

  ~ # time hello 
  Hello, world!
  real 0m 1.89s
  user 0m 0.67s
  sys 0m 1.14s
  ~ # time hello 
  Hello, world!
  real 0m 0.97s
  user 0m 0.36s
  sys 0m 0.55s
This would to me imply an obvious route of pre-warming the resumed image with your program. Or going all-in and natively compiling to wasm, but that's a much bigger lift.
thenthenthen 28 minutes ago | parent | prev | next [-]

Ugh cant stand the LLM-isms, cool idea tho, practical? For teaching maybe?

rvz 7 minutes ago | parent | prev [-]

Just looked at this and wondered, how much Claude AI slop went into this project and unsurprisingly a lot of it.

The entire site reeks of Claudisms and I doubt that the author even cares or knows what they are doing. The GitHub put me off immediately.

It's quite ridiculous to see such slop here and we are just going to see more of this.

yjftsjthsd-h 2 minutes ago | parent [-]

It's a good idea, and the implementation works. Are there actual problems, or are you just complaining that AI was used?