334f905d22bc19
Joined 1 year ago
Joined 1 year ago
@jayeshk29 is our hero
Finally i can finish my fizzbuzz for the interview
Yeah what can go wrong when you are travelling and your computer is at home unlocked lmao?
Smart things are the worst shit ever. They make everything take longer, given the debugging/upgrading overhead. Not buying into that. What would be smart, would be a washing machine that cleans, dries, sorts and folds my clothes. Without talking to facebook. I would buy into that, but I don't need to share my washing machine status on instagram
There was also some Rust specific OS tutorial somewhere that was written nicely, but I can't find it right now.
Also if you want to get real hardware, there is the neorv32 that has nice documentation: https://stnolting.github.io/neorv32/ https://github.com/stnolting/neorv32
It's a risc-v core written in VHDL
https://www.kickstarter.com/projects/starfive/visionfive-2-l...
And if someone wants to get fancy and do some HW-SW-Codesign with risc-v and FPGAs, then there is the PolarFireSoC. A lot cheaper than AMD/Xilinx products and okay-ish to use. Their dev enviroment feels kinda outdated, but at least it's snappy. Also the documentation feels kinda sparse, but most stuff is documented __somewhere__ - you just gotta find it.
https://www.microchip.com/en-us/development-tool/MPFS-DISCO-...
Fun fact: The dev board costs less than the chip itself. (Apparently that's often the case, but I just noticed that the first time)
They should keep going though. Maybe someday I will be so annoyed that I finally stop using this website
Some time ago I was actually thinking about the exact thing in his statement. I mean even if the problems are structurally almost the same each year, it must be a huge time investment to come up with the stories and give them a little twist each year.
Either Eric should chill out and make it smaller, while still keeping the fun or some rich guys should pay him lots of money to make this his full-time job. The former is probably the healthier path for eric and the game
The best thing that helped me: Force myself to one single project only. And if I really don't want to do the current one, do a ___really___ small one, that's pure fun. I have to remind myself of that again and again, but it helps
It now took me 3 iterations and 3 years to get a somehow working risc-v CPU written in VHDL, that I am mostly satisfied with. It's a crazy hard struggle (finally pipelined though!). Everything breaks, I constantly get headaches and almost want to quit, but somehow I can keep on pushing this project. It helps me a lot.
Almost nothing works, things break all the time, it doesn't even look cool. But somehow it's satisfying that I can type words with a PS/2 keyboard on a VGA screen getting processed by my own RISC-V CPU (running Rust btw lol. I ditched that by now though, the struggle was too big). See here: https://i.imgur.com/PtKeAYt.mp4
I have no idea how far I can make it, maybe not fully self-hosted, but a small OS should be doable. I have interrupts and timers working, so I should have everything I need.
The downside is, I am way worse than OP and have no documentation at all. I should do that, but that's where the motivation is missing.
Edit: I type so slow in the video because I did poll the scancodes (too slow) and had to think which characters not to press, because i dont accept all yet and was scared that it breaks
https://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD667...