▲ | garganzol 5 days ago | |||||||
Every language tries to implement the best in class memory set/search primitives. Maybe we should move them to something called libos, where they will be implemented by every host OS? Then, OS manufacturers can supply libos.so/libos.dll/libos.dylib as part of the official OS distributions. If the wheels get reinvented again and again, it means that they should be readily available. | ||||||||
▲ | vitalnodo 4 days ago | parent | next [-] | |||||||
There is an existing concept called an exokernel. Moreover, I think Zig could be very suitable for this, because it already encourages passing allocators to functions to make memory allocation explicit. Recently, I/O has been (and is still being) reworked in a similar way. | ||||||||
▲ | ozgrakkurt 5 days ago | parent | prev [-] | |||||||
Isn’t this what libc is? Like musl-libc or glibc | ||||||||
|