Daily Rust thread:
New unfinished tutorial: https://rust-lang.github.io/book/
Old finished tutorial: https://doc.rust-lang.org/book/
>rust
>trust
Coincidence?
>rust
>trus
>trum
>trump
COINCIDENCE?
>brainlets will hide this thread
Working on a tensor-oriented symbolic computation library in rust but it's limited to my spare time so it's going slow. Rip.
>>59113011
Currently writing a Chip-8 Emulator. Should I represent the Opcodes as enums and dissasemble? Or should I just dissasemble right away?
>>59113738
If you're talking about first compiling to an intermediary representation, that allows you to perform optimizations like reordering instructions as well as generally more easily being able to target various architectures (you just have to add the IL -> native part for each supported platform), so it's the way to go. There's no real reason to add an extra step between the IL and the native target though.