Hacker News new | ask | show | jobs
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...

1 comments

I followed your advice and closed my repo.
I was also a student of Prof. Schocken's in person, as well as part of the tech crew for a non-profit coding bootcamp he set up[0].

While I agree that posting this publicly is less than appreciated, he is VERY enthusiastic about seeing implementations in interesting programming languages, as far as I can remember from my class (last year). I sent him a link to the original repo, which will now be dead.

Would you be interested in forwarding a private link of some sort? I could forward it over.

[0] https://wecode.org.il/

I'm very interested about your idea. If he approves, I'll make the repository public again. If there is a better way to share my code with him, please let me know.
Sent him an email. Let's see what he says.
He's indeed interested in seeing your implementation - how can he reach you without disclosing his private address here?
Thanks! My email address is written in my github profile page: https://github.com/tamuhey Please tell him the address.