writing an os in crystal
@fluff Isn't crystal garbage collected? I know you can write OSs in gc'd languages but don't you have to port the runtime to work on baremetal first?
@hunter yeah crystal has a runtime, however that can be disabled by passing some compiler flags
for now i'll implement the simplest os, then add in a stack/heap scanning gc later
@fluff literally HOW, this is dope
@toffy just a lil crystal cross compile + manual linking
i'll put it on a github soon(tm)
@kurisu honestly, just bit fields in structs, is there a way to make an integer that spans n bits?
@kurisu yeah i really need to do that, i have better things to do right now though....
imagine json for anything but settings
@tn5421 you're right, i should use csv instead
@fluff not quite the same, but Proxmox Cluster File System (pmxcfs) uses a database as "filesystem"
@miup looks like a frontend to an actual file system if you ask me
@fluff well, it keeps track of the files in it like a FS... but anyway, thats a special case, for clustering to be consistent...
@fluff What sites/blogs/books/whatevers have you been reading to learn how this all works and how to make it? Would be awesome to be able to make a little OS.
@OTheB wiki.osdev.org, plus reading source code from other hobby oses
@fluff the 1st always made more sense to me with multiple disks lol, like, mounting a different disk through what seems like a symbolic link on the main disk? goes against intuition a little but not too big of a deal
@fluff Also AWESOME progress this is gonna be rly cool
@toffy thanks thanks!
@fluff depends if you are doing a DOS or not 🤔
I personally prefer /
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !