Hacker News new | ask | show | jobs
by Wowfunhappy 2278 days ago
I mostly had the same thought as you, but one thing I imagine some people might want is access to Apple's own command line tools, particularly those who prefer using Linux but need to work with Apple formats for some reason.

There's osascript for executing Applescript code, plutil for working with plists, and diskutil for making DMGs. Those are just off the top of my head, there's probably others too.

1 comments

Hmmm - that's all fair! Though I'm not very sure why one would want to execute Applescript on Linux - scripts are typically either so platform-integrated that they're useless on non-Mac platforms or so generic that they're trivially replicated in languages like Python or Ruby.

I'd consider diskutil and plutil vaguely part of the "Xcode toolchain" (as in, using them (especially from outside macOS) is largely geared towards app development). That's certainly a huge use case for Darling - I actually think it would be interesting if they explicitly (but maybe not very loudly?) aimed for giving people access to iOS/macOS development without Mac hardware, rather than trying to be a general-purpose emulation layer.