|
|
|
|
|
by SilasX
2211 days ago
|
|
As always, I can't recommend this course enough, it's a really enlightening dive through the layers that make up a computer, and I presented about my experience with it at a Python meetup. With that said ... 1) They respectfully ask that you not share your solutions, so as to ensure others have to figure it out or ask for help in the forums. 2) Why share the assembler specifically? That's probably the least difficult or interesting project, as it's mostly just translating the mnemonics to binary. 3) Holy code duplication! [A] Surely Rust allows you to break off a simpler structure that just represents the mapping from assembly to binary, and then you can have one loop that does the insert/to-owned on each element? [A] https://github.com/tamuhey/hack-assembler-rust/blob/master/s... |
|