Open
Description
- ABI and/or API compatibility with Linux and/or POSIX. Can be thought of in different forms:
- Be able to recompile Linux/POSIX programs with a minimal set of changes (ideally, none), i.e. source-level API compatibility, or
- Be able to run Linux/POSIX programs without modifications (binary ABI compatibility)
- Be able to load Linux kernel modules without modifications. We need to target a specific Linux kernel I think, perhaps 4.9.32 (current LTS version). This would be incredibly cool since it means we could jumpstart the development and use ready-made components from Linux as a form of "lego" blocks. I.e. the
ip
module (TCP/IP subsystem) could be use straight away, and the same with block devices, file system implementations, etc. This forces cocOS to be very compatible with Linux of course, but it would be cool to see if something this could actually be pulled through.
The end goal: be able to run an unmodified Debian/Ubuntu userland on top of cocOS, and do stuff like this:
$ sudo apt-get install nginx
$ gcc -c file1.c
...etc. Think of it of something like Windows Subsystem for Linux, but instead of running it on top of the Windows NT kernel, it would be running more on "bare metal".
Is it doable to achieve something like this as a one-man project? I don't know, I haven't tried yet. 🤣
Metadata
Metadata
Assignees
Labels
No labels