> One is suitable for embedding into a kernel, the other isn't.
I'd be very surprised if the linux kernel doesn't eventually get web assembly support.
I'd be very surprised if the linux kernel doesn't eventually get web assembly support.
Well currently we run code (e.g. drivers) as trusted full-permission code. Surely, web-assembly would be better than this from a security perspective.
Basic examples: code that takes a lock and never releases it, code that loops forever, code that leaks kernel resources.