HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dvirbt

no profile record

Submissions

Show HN: MyraOS – My 32-bit operating system in C and ASM (Hack Club project)

github.com
247 points·by dvirbt·9 mesi fa·55 comments

comments

dvirbt
·9 mesi fa·discuss
No not at all, it’s really simple and high rewarding (in terms of usage)
dvirbt
·9 mesi fa·discuss
It was only doing problems when running things like Doom or videos, so I guess my rendering system isn’t optimized enough.
dvirbt
·9 mesi fa·discuss
Yes it is playable, I made an API for window graphics which gives every window the ability to render stuff on it’s surface. Then I used DoomGeneric to port my graphics API to Doom.
dvirbt
·9 mesi fa·discuss
Thank you and good luck!
dvirbt
·9 mesi fa·discuss
You can read about how NASA writes their code, I remember reading an article about it, which includes some great tips with how to avoid these kind of bugs. And I think also as other commenter said, new languages like Rust really help with avoiding bugs like that.
dvirbt
·9 mesi fa·discuss
Thank you so much! I also made a few years ago an high level filesystem, which helped me during I made this one. I think the main difference is just that you need to work with drivers here for every disk operation.
dvirbt
·9 mesi fa·discuss
That’s a great idea, could’ve really improved the overall project structure
dvirbt
·9 mesi fa·discuss
Thank you so much! That’s great to hear :) I feel like vibe coding projects like this, where the whole idea is to learn, vibe coding only makes it harder
dvirbt
·9 mesi fa·discuss
Yes you are right, could be a memory leak somewhere, I’ll need to take a look at it
dvirbt
·9 mesi fa·discuss
Wow 8MB of ram… that’s really amazing! Which hobbyOS did you made?
dvirbt
·9 mesi fa·discuss
Absolutely, I learned so much from this project! Do you think I should make a new version in Rust?
dvirbt
·9 mesi fa·discuss
Thanks! I’ll look into it
dvirbt
·9 mesi fa·discuss
Yes, you are right. Do you think I should make the video technical or just a showcase?
dvirbt
·9 mesi fa·discuss
I really hope so! :)
dvirbt
·9 mesi fa·discuss
Thank you!
dvirbt
·9 mesi fa·discuss
Yes, I think most of the time working on the project was working ob fixing memory bugs. GDB did a great job for me, have you tried to use it?
dvirbt
·9 mesi fa·discuss
Thank, I’ll do!
dvirbt
·9 mesi fa·discuss
Hey, it was enough for most basic stuff, but only running Doom or more advanced things would need above that.