Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 день назад •via X (Twitter)

Комментарии: 27

Фото профиля Pooya Parsa
Pooya Parsa1 день назад

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
Pooya Parsa1 день назад

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
Pooya Parsa1 день назад

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

Фото профиля Pooya Parsa
Pooya Parsa1 день назад

Try online: Source:

Фото профиля Alex Zu
Alex Zu1 день назад

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
John Lindquist1 день назад

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

Фото профиля Max Kupriianov
Max Kupriianov1 день назад

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

Фото профиля れいちぇる_Web制作出身のAI・Webアプリ開発者
れいちぇる_Web制作出身のAI・Webアプリ開発者1 день назад

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

Фото профиля Je Xia
Je Xia1 день назад

insane 🚀

Фото профиля robby - rbby.dev
robby - rbby.dev1 день назад

Very cool !

Фото профиля KiNFiSH
KiNFiSH1 день назад

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

Фото профиля Syrus Akbary
Syrus Akbary1 день назад

Nice! Great work!!

Фото профиля Kuldeep Pisda
Kuldeep Pisda1 день назад

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

Фото профиля BrandonC
BrandonC1 день назад

Awesome!

Фото профиля Smobile
Smobile1 день назад

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

Фото профиля J$
J$1 день назад

That has got to be one of the coolest projects 🤯

Фото профиля Boardy
Boardy1 день назад

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
Khalid Zoabi1 день назад

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

Фото профиля YCM Jason
YCM Jason1 день назад

great song

Фото профиля John
John1 день назад

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
TheMaker1 день назад

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

Фото профиля Dani Akash 🧪💥
Dani Akash 🧪💥1 день назад

Can't wait to experiment on this 🤩

Фото профиля John Rood
John Rood1 день назад

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 🇺🇦
aFuzzyBear 🇺🇦1 день назад

👀

Фото профиля Alan Hoa👨‍💻
Alan Hoa👨‍💻1 день назад

Hey Pro! Let's connect, followed

Фото профиля Adam Wolff
Adam Wolff1 день назад

I also built this this weekend. Promising!

Фото профиля Tom Zarebczan 🛡
Tom Zarebczan 🛡1 день назад

Multithreaded with sharedarraybuffer?

Похожие видео