I wanna make something like the Little Man Computer but in Rust. Seems like a good first project with the language as well as a good way to learn more low level stuff about computers.
Yeah this project only works with i32
, try as I might to fix it. It is a fun proof of concept though, don't you think? I will probably rewrite a new one eventually as the refactoring of this one kinda just hit a wall so I reverted the changes. Or I come up with some other project idea, who knows! I have a feeling that making the littlerustcomputer work with any type would involve some unsafe { ... }
pointer magic - perhaps Rust isn't the right tool for the job here... It might be worth learning C/C++ anyway but whatever.