OS with Erlang VM
Posted: Thu Feb 19, 2009 5:06 am
hello,
I am coding an operating system (called Versatile) in C which will be extensible with Erlang.
My idea is to have the kernel running in ring0 and load Erlang VM so that it will be possible to make the OS development in Erlang.
I already coded GDT (with Flat Memory model), IDT, interrupts, exceptions, VGA and keyboard drivers.
Now I'm working on memory management (paging, allocation, free).
I need to define strategies for the memory manager and the scheduler.
I would like to know which memory management strategy (slab allocator, firs fit, best fit) will be the best to execute Erlang Virtual Machine in ring0.
And the threading model: one process with multiple threads or multi-threading?
What do you think?
I am coding an operating system (called Versatile) in C which will be extensible with Erlang.
My idea is to have the kernel running in ring0 and load Erlang VM so that it will be possible to make the OS development in Erlang.
I already coded GDT (with Flat Memory model), IDT, interrupts, exceptions, VGA and keyboard drivers.
Now I'm working on memory management (paging, allocation, free).
I need to define strategies for the memory manager and the scheduler.
I would like to know which memory management strategy (slab allocator, firs fit, best fit) will be the best to execute Erlang Virtual Machine in ring0.
And the threading model: one process with multiple threads or multi-threading?
What do you think?