Re:Writing a “bare metal” operating system for Raspberry Pi 4
by kennywinker on Wednesday October 06, 2021 @07:12PM
(#28779663)
Hi! Thank you for writing and publishing this project! Just to clarify: no part of my critique was aimed at you or your choices in this codebase. My main point is that unlike the original commenter in this thread, i believe that well written C is not as clear and simple as well written rust (or other modern languages). I then tried to back that up by cherry picking a random line of “c-like” code from your codebase. My beef is with C, not you or anybody else using it :)
Re:Writing a “bare metal” operating system for Raspberry Pi 4
by isometimes on Wednesday October 06, 2021 @11:57PM
(#28781654)
That makes complete sense, and I don’t take it personally. It’s been so cool to read all this valuable feedback!
I must say that I’m very comfortable in C, only because it’s where I landed up as a kid. I actually find it way less confusing than more “modern” languages (I kinda skipped OO etc.!), and I enjoy the “control” it gives. Maybe you can’t teach an old dog new tricks after all! ;-)
My goal was to demonstrate some basic principles to get code running on bare metal, encourage curiosity, further my own knowledge and document my findings.
I appreciate that more self-documenting code might be desirable, but to some people (me included) a large number of lines can be as off-putting as more esoteric syntax. I acknowledge, however, that it is very hard to please everyone!