TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Joys of Porting a Kernel to WebAssembly

45 pointsby ridruejoover 3 years ago

2 comments

PaulDavisThe1stover 3 years ago
&gt; A few years later, after having perfected my skills as a programmer,<p>Phew. I was worried it might take him a decade or two. Here I am 3.5 decades in, and I&#x27;m still an imperfect programmer. Clearly, I just suck.<p>More seriously ... can someone explain the point of this? Why would you want to implement &quot;a kernel&quot; in WebAssembly? The browser (JS) environment already more or less defines a virtual machine already ... why would you overlay that abstraction with yet another semantically very similar abstraction? If you want to play with &quot;kernel&quot; concepts, why would you do this inside a browser rather than on an actual machine (or even a host-supported VM) ?
评论 #28815851 未加载
评论 #28816156 未加载
评论 #28817607 未加载
评论 #28819102 未加载
评论 #28817047 未加载
Eccoover 3 years ago
Is it possible to implement a preemptive scheduler on WebAssembly? How would the kernel interrupt a running task?