5 ms·
Writing Pong in Rust for My OS Written in Rust
- enriquto 6y agon-gate is going to have a field day with this one
- eggy 6y agoI never heard of n-gate before. I've just lost two hours of work I have to make up tonight! Funny stuff.
- AlchemistCamp 6y agoThis is the first time I've seen pong not written in assembly.
- 0xFluegel 6y agoI still have a VHDL version lying around from my old student project. :)
- colejohnson66 6y agoWasn’t the original “written” using discrete logic (as in, no ROM)? How close to the original is your VHDL version then?
- 0xFluegel 6y agoSince it's a student project to learn about VHDL and synthesis the pong clone had a few additions like simple math-expression based textures and we ignored trying to get close to the exact movement behaviour. But you actually get to control it with rotation based input. :) In regards to ROM. It was an FPGA, meaning it was reprogrammed on every startup. But all behaviour was built as logic without accessing any memory.
- secondcoming 6y agoIt's Rust all the way down!
- wealthyyy 6y agoWhen Christ returns from vacation, He wants everything, including the Bible, to be rewritten on Rust.
- logicchains 6y ago"And he who dares write Unsafe code shall be strung up and scourged. His limbs broken, his flesh stripped from his body, and his eyes pierced. For he has defiled the glory of Rust, and the righteous should not suffer such a man to live."
- wealthyyy 6y agoNo offense, but is this from the Koran?
- deleted 6y ago[deleted]
- ibraheemdev 6y agoNo, it is not from the Quran.
- ctsk 6y agoWorthy of https://kingjamesprogramming.tumblr.com/ https://kingjamesprogramming.tumblr.com/
- drran 6y agoRust is already used in Bible (6 or 7 times). Ezekiel 24:6 Therefore thus says the Lord Yahweh: Woe to the bloody city, to the caldron whose rust is therein, and whose rust is not gone out of it! take out of it piece after piece; No lot is fallen on it.
- snicker7 6y agoToo bad the author used Wordpress instead of Zola. Otherwise, his next post could be "Blogging about writing Pong in Rust in my OS written in Rust in a blog engine written in Rust".
- cryptoquick 6y ago...served from a Warp server written in Rust...
- max_ 6y agoAm inspired how can I learn how to write a RISC-V OS? Is it alot of work?
- steveklabnik 6y agoThe very first link in the post is to https://osblog.stephenmarz.com/ https://osblog.stephenmarz.com/, which is the author's tutorial on doing so. You should check it out!
- jhvkjhk 6y agoTsinghua University has a course about writing OS on RISC-V by Rust. However you probably needs Google Translate to read it since it’s written in Chinese. https://rcore-os.github.io/rCore-Tutorial-Book-v3/ https://rcore-os.github.io/rCore-Tutorial-Book-v3/