First bits of a Haiku compatibility layer for NetBSD

Does anyone here remember Cosmoe? Cosmoe was an attempt to combine Haiku’s API with the Linux kernel and related tools, started in the early 2000s. The project eventually fizzled out, now only an obscure footnote for BeOS diehards such as myself. It seems, though, that the idea of combining the Haiku API with a mature UNIX-like operating system refuses to die, and a few days ago, on the NetBSD Users’s Discussion List, a developer by the name of Stephan picked up the baton.

Some years ago I already started to work on a compatibility layer for NetBSD and resumed working on it recently.

[…]

I think a compatibility layer would mostly consist of kernel components and a custom libroot.so. I have created a libroot that provides functionality missing in libc and it should behave like the original one. It makes use of libc and libpthread at the moment as well as syscalls of the kernel components. The source can be found on Github.

This is clearly an experimental project, but Stephan does note he has had success running the Haiku IPC test programs, so it’s definitely more than scribbles on a napkin. The attraction of this idea is clear, too – Haiku API, but on a stable kernel with vastly superior hardware and device support. I’m not entirely sure if it’s got life in it, but even if it doesn’t – it’s amazing work, and that in an of itself makes it a success.

11 Comments

  1. 2023-11-30 9:55 pm
  2. 2023-12-01 5:34 am
    • 2023-12-01 2:57 pm
      • 2023-12-02 4:12 pm
  3. 2023-12-01 6:03 am
  4. 2023-12-01 8:09 am
  5. 2023-12-01 2:27 pm
    • 2023-12-01 9:46 pm
  6. 2023-12-01 3:54 pm
    • 2023-12-03 6:45 pm
  7. 2023-12-03 9:17 am