{"id":255600,"date":"2025-11-02T00:18:14","date_gmt":"2025-11-02T00:18:14","guid":{"rendered":"https:\/\/www.newsbeep.com\/ca\/255600\/"},"modified":"2025-11-02T00:18:14","modified_gmt":"2025-11-02T00:18:14","slug":"linux-kernel-ported-to-webassembly-demo-lets-you-run-it-in-your-web-browser","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ca\/255600\/","title":{"rendered":"Linux Kernel Ported To WebAssembly &#8211; Demo Lets You Run It In Your Web Browser"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"LINUX KERNEL\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/07\/linuxkernel.webp.webp\" width=\"100\" height=\"100\"\/><br \/>\nOpen-source developer Joel Severin today announced his work on porting the Linux kernel to WebAssembly and has successffully gotten the kernel up and running within WASM-capable web browsers.<\/p>\n<p>This WebAssembly port of the Linux kernel is up and running basic programs from a shell within a web browser. But there are stability issues and it didn&#8217;t take me long either to trigger crashes for this Linux kernel WASM port when running within Google Chrome.&#13;<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/11\/1762042693_301_image\" alt=\"Linux WebAssembly port\"\/><\/p>\n<p>Joel Severin described of this WASM kernel effort:<br \/>\n<br \/>&#8220;Now, this is a technology demo, it&#8217;s to show what&#8217;s possible. There are some things where what we have today makes this more painful than it has to be. The good news is that if there is a will to go forward with Linux and Wasm, at least I don&#8217;t see why the current restrictions cannot be lifted. But, there would need to be a commitment from Linux and Wasm people, not to mention the whole ecosystem around it, to actually implement those changes. Some fundamentals of each platform would need to change for a smooth experience, especially so on the Wasm side.&#8221;<br \/>\n<br \/>Those curious can learn more about this hobbyist WebAssembly port of the Linux kernel via the <a href=\"https:\/\/lore.kernel.org\/lkml\/618f3602-03aa-46a8-b2d4-3c9798c4cd2b@icemanor.se\/\" rel=\"nofollow noopener\" target=\"_blank\">LKML posting<\/a>.<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/ca\/wp-content\/uploads\/2025\/11\/1762042694_754_image\" alt=\"Linux WebAssembly port running on GitHub Pages\"\/><\/p>\n<p>The example demo of the WebAssembly Linux kernel port can be tried out via <a href=\"https:\/\/joelseverin.github.io\/linux-wasm\/\" rel=\"nofollow noopener\" target=\"_blank\">the GitHub Pages<\/a>. The code including patched versions of the Linux kernel, LLVM, Musl libc, initramfs, and BusyBox can be found via <a href=\"https:\/\/github.com\/joelseverin\/linux-wasm\/tree\/master\/patches\" rel=\"nofollow noopener\" target=\"_blank\">this GitHub repository<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"Open-source developer Joel Severin today announced his work on porting the Linux kernel to WebAssembly and has successffully&hellip;\n","protected":false},"author":2,"featured_media":255601,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[49,48,11359,11358,11356,11355,11362,11360,11357,11361,11354,11365,61,11363,11364],"class_list":["post-255600","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-ca","tag-canada","tag-desktop-linux","tag-linux-benchmarking","tag-linux-hardware-benchmarks","tag-linux-hardware-reviews","tag-linux-how-to","tag-linux-performance","tag-linux-server-benchmarks","tag-open-source-graphics","tag-phoronix","tag-phoronix-test-suite","tag-technology","tag-ubuntu-benchmarks","tag-ubuntu-hardware"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/255600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/comments?post=255600"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/255600\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media\/255601"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media?parent=255600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/categories?post=255600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/tags?post=255600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}