Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

weekend quest: A real Linux kernel, compiled to WebAssembly. Programs run on a fast RISC-V CPU with a wasm JIT. It works on Node.js, Browsers, and even iOS.

69,114 görüntüleme • 1 gün önce •via X (Twitter)

27 Yorum

Pooya Parsa profil fotoğrafı
Pooya Parsa1 gün önce

Run any Linux program on your device: bash, node, ubuntu, python, databases, even Doom. Right in your browser tab. The kernel boots in milliseconds. [demo in realtime]

Pooya Parsa profil fotoğrafı
Pooya Parsa1 gün önce

The kernel itself runs as native wasm. Only the programs are emulated, on kwemu: a riscv64 CPU written in Zig, with a wasm JIT. A syscall is a plain wasm call. Devices are paravirtual, backed by the JS SDK.

Pooya Parsa profil fotoğrafı
Pooya Parsa1 gün önce

And you can use the JS SDK to embed unkernel in any Node.js or Web app:

Pooya Parsa profil fotoğrafı
Pooya Parsa1 gün önce

Try online: Source:

Alex Zu profil fotoğrafı
Alex Zu1 gün önce

the syscall being a plain wasm call is the detail that matters. every emulator before this had to trap and marshal across a boundary, and that trap is where they all got slow and miserable. also means the filesystem is a js object you can shim in tests

John Lindquist profil fotoğrafı
John Lindquist1 gün önce

Amazing. Definitely going to see how I can push this.

Max Kupriianov profil fotoğrafı
Max Kupriianov1 gün önce

you should ditch the RISCV64, check out ARM64v8 emulator in Zig (validated against real HW like ampere and mac)

れいちぇる_Web制作出身のAI・Webアプリ開発者 profil fotoğrafı
れいちぇる_Web制作出身のAI・Webアプリ開発者1 gün önce

カーネルをWasm化してブラウザやiOSまで動かせるのは、OS依存の実験環境を配りやすくするのが面白いですね。RISC-V上のJITまで含めて、移植先ごとの差をどこで吸収しているのか気になります。

Je Xia profil fotoğrafı
Je Xia1 gün önce

insane 🚀

robby - rbby.dev profil fotoğrafı
robby - rbby.dev1 gün önce

Very cool !

KiNFiSH profil fotoğrafı
KiNFiSH1 gün önce

how practical is running a full WASI runtime inside the Linux guest given kwemu + JSPI and are there hard blockers on that ?

Syrus Akbary profil fotoğrafı
Syrus Akbary1 gün önce

Nice! Great work!!

Kuldeep Pisda profil fotoğrafı
Kuldeep Pisda1 gün önce

does guest RAM top out at wasm32's 4GB linear memory, or is unkernel on memory64 already

BrandonC profil fotoğrafı
BrandonC1 gün önce

Awesome!

Smobile profil fotoğrafı
Smobile1 gün önce

linux in wasm running on ios is a sentence that shouldn't work

J$ profil fotoğrafı
J$1 gün önce

That has got to be one of the coolest projects 🤯

Boardy profil fotoğrafı
Boardy1 gün önce

unkernel in a browser tab! tried to dm you about a sandbox builder running untrusted code i can intro you to but it didn't go through

Khalid Zoabi profil fotoğrafı
Khalid Zoabi1 gün önce

@jexia_ This is awesome! We had the same weekend quest 😯

YCM Jason profil fotoğrafı
YCM Jason1 gün önce

great song

John profil fotoğrafı
John1 gün önce

Excited at first, but is it normal of a pure CPU task to be around 19x slower than native run? Running on arm64 Android natively. npx unkernel --mem 1024

TheMaker profil fotoğrafı
TheMaker1 gün önce

I’d love to run <ununkernel> inside a browser inside it.

Dani Akash 🧪💥 profil fotoğrafı
Dani Akash 🧪💥1 gün önce

Can't wait to experiment on this 🤩

John Rood profil fotoğrafı
John Rood1 gün önce

the part agents people should clock: the sandbox boundary is an import list. everything the code inside can touch is a wasm import you chose to expose, so the capability surface is enumerable. a container gives you a wall with a whole kernel behind it.

aFuzzyBear 🇺🇦 profil fotoğrafı
aFuzzyBear 🇺🇦1 gün önce

👀

Alan Hoa👨‍💻 profil fotoğrafı
Alan Hoa👨‍💻1 gün önce

Hey Pro! Let's connect, followed

Adam Wolff profil fotoğrafı
Adam Wolff1 gün önce

I also built this this weekend. Promising!

Tom Zarebczan 🛡 profil fotoğrafı
Tom Zarebczan 🛡1 gün önce

Multithreaded with sharedarraybuffer?

Benzer Videolar