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 I thought Crytal compiled to Erlang's VM bytecode
@leo its main target is native code
also i did have to write a lot of c glue code because crystal doesn't support things like bitfields
@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
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !