mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Aral Balkan

Darling is a translation layer for running macOS (10.15; command-line) apps on Linux. It’s built on Darwin and is similar to WINE.

Might be interesting if, say, you want to look into maybe supporting your command-line app on macOS without having to pay Apple a few grand every-so-many years or mess with setting up a virtual machine for an operating system that doesn’t want to run on any device Tim Cook doesn’t personally profit from.

darlinghq.org/

The downside is you have to build it yourself. The upside of the downside is that the build instructions* are actually really good and I didn’t run into any trouble even when building in a Distrobox container running Fedora 36 on my host system running Fedora Silverblue 37.

I did get a few warnings on launch** but I was able to install homebrew and the Xcode command-line tools without problem.

* docs.darlinghq.org/build-instr
** github.com/darlinghq/darling/i

docs.darlinghq.orgBuild instructions - Darling Docs

@aral really interresting, i wonder if it would allow packaging an ios app from linux, and run it on an attached ios device (a task that currently requires XCode), that would be quite awesome.

edit: unsurprisingly there are quite a few issues related to xcode open already, so it seems unable to do so (yet), but the devs are certainly aware of the interrest in that use case.

@DiogoConstantino Multipass is neat if you want to, say, run Ubuntu on Mac but Darling lets you do the opposite: run ~macOS (Darwin) on Linux.

But that is the other way around, Linux on a Mac machine instead of Mac on a Linux machine.

@corne Ah! I tough that was the intention, must have miss read it.

@aral

@aral @ianbetteridge how much advantage is there in terms of execution speed or binary size with respect to using a docker image for your tool?

I guess that the command line becomes much easier for the user to interact with…

@aral @ianbetteridge oh, sorry, I had it working in the wrong direction (confused about the comment on having to pay for Apple’s Development Program)… and knowing what Wine does, I should have known… never mind!

@aral on mastodon there is @bugaevc who is working on Darling.

@amdg2 @bugaevc Ah, neat. I’m apparently already following.

@bugaevc Thanks, followed.

@amdg2 @LubosD @facekapow@fosstodon.org @curioustommy

@aral Darling does not support all of macOS and it has surprising drawbacks, as discussed when I reported a SciTECO problem: github.com/rhaberkorn/sciteco/

@aral how much of Cocoa is implemented (excluding stub classes)?

@aral are there any significant use cases, i.e., non-GUI macOS apps that aren’t open-source and cannot just be recompiled for Linux? (The one I can think of is Xcode command-line build tools, though no idea if it’s practically usable with this.)