6 ms·
Sorry for the late reply (being rate limited) Thanks! Originally it only started as an experiment to see how far I could go making an OS in a high-level (highe
by ffwff 7y ago
Sorry for the late reply (being rate limited)
Thanks! Originally it only started as an experiment to see how far I could go making an OS in a high-level (higher than C at least) language, I was only planning to build a monotasking DOS system. Around this time, Andreas Kling started to show us his SerenityOS, which was one of the factors propelling me to reach this point. So shout outs to AK!
Yeah! It's pretty fun to develop an OS, albeit time consuming. You should check out the osdev wiki and the Intel/Seagate manuals, they should hopefully get you to the point where your OS can read/write/execute files, you should also take a look at how other kernels do things as a reference and actually implement them in your OS in a way that fits.
- z92 7y agoWhen does GC kick in during the boot sequence? And how are you managing memory? Is the whole OS mark and sweeped?
- ffwff 7y agoRight after the global descriptor table is setup and paging is enabled, the GC is then enabled. On every allocation, and whenever the os has no task available to switch to, a gc cycle is performed. Not really, the kernel and any process written in crystal has a garbage collector, any other userspace process can manage memory however they want to.
- crazypython 7y agoI wonder what a D OS would be like.
- tyler569 7y agoProbably a lot like https://github.com/PowerNex/PowerNex https://github.com/PowerNex/PowerNex :)
- unixhero 7y agoThe plot thickens.
- skocznymroczny 7y agoLatest commit bcb6cf9 on Mar 2
- sudo_rm 7y agoHow much experience do you have in OS dev before you jumped into this project?
- jchw 7y agoOh, I have dabbled in OS dev a tad already actually, although not in a long time. I think if I went for OS dev nowadays, I’d prefer to try and start as an EFI binary because I believe that way you get to start directly in long mode, and have some filesystem drivers to bootstrap with at least. Still, I don’t know if I will ever have the drive (and spare time) to push it as far as you have gotten Lilith.
- akling 7y agoHey ffwff, amazing work and pace on Lilith so far! I'm honored to have inspired you :)
- dang 7y agoSorry that your account was being rate-limited. It's software filters that do that, based on past activity by trolls. Unfortunately it also sometimes prevents project creators from showing up to discuss their work. I hate that! We've marked your account legit so this won't happen again.