Yes that's certainly nice, but it would be even nicer if there was some example code for every CPU instruction that you could run this way (accessible using a single click).
I think this would be doable with QEMU, which AFAIK reasonably keeps up with CPU capabilities.
Hm, it could actually make for a fun hack.
Adds to todo list
I'm currently doing a series on the different ISA extensions to x86 over at dev.to/ and ultimately the idea behind the series was to build something like this by the end.
repl.it supports compiling and running code that uses many intrinsics.
Doesnt a cloud vm do this?
Technically yes, but that's really just the raw buttons and switches.
A version of the godbolt compiler explorer that included execution would be cool.
Would you be willing to pay for this and how much?