Hacker News new | ask | show | jobs
by chubot 968 days ago
Why a simulated PDP-11 CPU rather than compiling to wasm? I guess because wasm is pure computation with no interrupts and so forth? Also no access to the stack

Also it’s probably a lot more work to retarget the existing compilers to new back ends

Although if this is a new Go implementation, it’s probably a lot of work anyway

1 comments

Nontrivial amounts of the source are PDP-11 assembly -- a lot of it in the kernel, but also bits of userland.