Live data from Hacker News

RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

ravynos.com

141–148 of 148 posts

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#141

You're using open-source Apple code (Darwin) and aiming for Cocoa API compatibility. How are you handling the legal side? Apple's APIs and frameworks are proprietary. Are you reimplementing them from scratch, or using something like GNUstep?

Looking (briefly) at the source code, it looks like they are at least partially using source code from Cocotron

https://cocotron.org/

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#142
post #34

> Developers can port existing Cocoa applications with minimal changes. I wonder how big the actual gap between close to Cocoa App compatibility and full app compatibility is? Being able to run MacOS apps natively would unlock a huge barrier to adoption here.

First, this will at best be source compatible.

And if it ever reaches a usable state, I assume it will far behind Apple's current systems.

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#143

Seems at least one of the same developers works on both PureDarwin and ravynOS: https://www.puredarwin.org/news/The-Road-to-20-5-0.html (This is the first time I've heard of the latter.)

The text gives the impression that PureDarwin has been Clauded

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#144

Earlier quoted context omitted.

Maybe, but ELF doesn't support doing so

One might be interested in the not-very-alive FatELF implementation, though: https://icculus.org/fatelf/

Yep, that sounds like the same idea:

> The format is very simple: it adds some accounting info at the start of the file, and then appends all the ELF binaries after it, adding padding for alignment. The end of the file isn't touched, so you can still do things like self-extracting .zip files for multiple architectures with FatELF.

But I would indeed call it very-not-alive; their demo image is Ubuntu 9.04

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#145

Earlier quoted context omitted.

I’m super confused as to what is missing in the FOSS world, how does it “have little to offer?” It really sounds like you just like the macOS style and want a clone of it, and that’s certainly fine as a desire or a request, but if you like macOS, macOS is already available. For what logical reason should a project be copying macOS? I would absolutely agree that a logical reason is to run macOS apps on other platforms…

> You’ve established that a Linux desktop environment in macOS style alone is not sufficient, and that makes me wonder what details of the underpinnings is Linux getting wrong compared to Mac? Is launchd superior to systemd? Pretty much anything is better than systemd. CoreAudio is far superior to anything Linux has. WindowServer is better than Wayland.

The “everything is better than systemd” thing is a reactionary hot take from the early days of systemd. In practice systemd has a lot of great tools and I can’t think of any from macOS that are superior. For example, macOS has nothing close to the power that systemd journal gives you. Launchd uses XML, has less flexibility on launch dependencies, and has worse debugging functionality.

You should look into PipeWire for audio in Linux. It can do things that no other audio platform can. Route a browser tab into Audacity while also sending it to a virtual mic for a call, while a synth app feeds a DAW.

I would agree that Wayland has more development time to go to get better, but Wayland is architected better from the start and represents a more modern design. A lot of Wayland’s security advantages are by design where macOS had to tack them on after the fact. You also get a modular, extensible architecture with compositer diversity.

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#146
post #61

Earlier quoted context omitted.

XNU has some interesting features. It’s Mach based, so it has Mach ports, which are an IPC system that is fairly heavily used by macOS. It has DriverKit, which is a C++ framework for drivers that’s got morecsuppirt than the usual Unix driver model. Mach-O does more than ELF, and enables the two-layer namespacing that makes macOS able to manage dynamic linking dependencies better than ELF. Nothing really earth-shatter…

Is it possible to write device drivers for Ravynos with Driver kit?

It looks like eg. their USB drivers use the IOKit API.

Re: RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

#148
post #137

Maybe someone more familiar with operating systems kernels can answer this: Is Darwin really all the exiting? It is different from both the BSD kernels and Linux, but less so than Windows. Other than the ability to run macOS applications (assuming you can clone the libraries and APIs from macOS) is there some benefit of Darwin that I'm not seeing?

Just to clarify, did you mean ‘exciting’ by > Is Darwin really all the exiting? I’ve tried to reread your question, and couldn’t get the sense, before I thought maybe that’s an autocorrection / misprint.

I'm pretty sure it's "Is Darwin really all that exciting?"
Post reply on HN