{"id":266829,"date":"2025-11-02T12:06:13","date_gmt":"2025-11-02T12:06:13","guid":{"rendered":"https:\/\/www.newsbeep.com\/us\/266829\/"},"modified":"2025-11-02T12:06:13","modified_gmt":"2025-11-02T12:06:13","slug":"linux-kernel-ported-to-webassembly-demo-lets-you-run-it-in-your-web-browser","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/us\/266829\/","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\/us\/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\/us\/wp-content\/uploads\/2025\/11\/1762085173_851_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\/us\/wp-content\/uploads\/2025\/11\/1762085173_773_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":266830,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[7278,7277,7275,7274,7281,7279,7276,7280,7273,7284,74,7282,7283],"class_list":{"0":"post-266829","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-technology","8":"tag-desktop-linux","9":"tag-linux-benchmarking","10":"tag-linux-hardware-benchmarks","11":"tag-linux-hardware-reviews","12":"tag-linux-how-to","13":"tag-linux-performance","14":"tag-linux-server-benchmarks","15":"tag-open-source-graphics","16":"tag-phoronix","17":"tag-phoronix-test-suite","18":"tag-technology","19":"tag-ubuntu-benchmarks","20":"tag-ubuntu-hardware"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts\/266829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/comments?post=266829"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/posts\/266829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/media\/266830"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/media?parent=266829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/categories?post=266829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/us\/wp-json\/wp\/v2\/tags?post=266829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}