With pure C and Assembly. This is very quirky, I had to change a lot of stuff moving it onto replit.
Due to the way I did gdt setup and other things I couldn't actually get paging or switching to user mode to work. I still made what was essentially a "user program" but it cant even be loaded on replit!
Im not going to be improving this any more due to its inability to enter user mode. After I failed paging I intended to just use segmentation but without being able to enter user mode users could just change their own segments to anything they wanted. The only way to implement user programs now is some kind of interpreter embedded into the kernel.
@sugarfi Micropython is hardware, and Numba is a JIT compiler. You still need an interpreter, even if you manage to compile python to assembly without the risk of compilation mistakes.
1) It would still be slower than when done in C and Assembly
2) Python has no form of memory management