top | item 32492908

(no title)

aldrich | 3 years ago

I'm curious to know why they have chosen to use FreeBSD as a base as opposed to Darwin/XNU on which macOS itself is based.

Nothing against FreeBSD (happy user here) so there's probably some good reasoning behind this.

discuss

order

jamil7|3 years ago

From the FAQ:

The short answer is "hardware support". ravynOS should run on most commodity x86_64 hardware using FreeBSD's very stable and performant drivers.

The longer answer is that plus I don't see any real advantage to using xnu. We have merged in Mach support now (big thanks to NetBSD, NextBSD and the iX Systems folks for that) so the xnu approach just seems to add complexity and the effort of writing and maintaining drivers.

Considering how big this project is already, I opted to stick with the BSD kernel - at least for now

bogwog|3 years ago

Regarding hardware support, will this run on actual Apple silicon? If not, it seems like Linux would have been the better choice for maximizing hardware support, if only for Asahi Linux's work.

(btw, I don't know much about this kind of work, so I have no idea if it's feasible to port the drivers from Asahi to FreeBSD, or if they'll have to start mostly from scratch)

yjftsjthsd-h|3 years ago

> We have merged in Mach support now

Mach the kernel, the IPC system, or the binary format?

gattilorenz|3 years ago

Probably because Darwin is half abandoned, while FreeBSD is actively maintained and with plenty of drivers

samtheprogram|3 years ago

Darwin is still open sourced, but mainly because of drivers and differences in certain other things (threads maybe, Mach ports / IPC, etc) that don’t have the integration or implementation with existing software is a major headwind to attempting a full encompassing Darwin OS.

PureDarwin was (is?) an attempt that hasn’t been able to break through those headwinds.

fithisux|3 years ago

Possibly driver support. But I would feel better if at some point they co-operate with PureDarwin to run on real XNU.