TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Darling – MacOS translation layer for Linux

630 pointsby mikemokaover 8 years ago

27 comments

jernfrostover 8 years ago
I am hoping that with cross platform Swift we can start seeing more libraries to help us port Mac apps to Linux. I am a Mac developer but I&#x27;d love to make stuff available on Linux.<p>I really like Linux as a backup plan, in case Apple totally drops the ball on professionals on the Mac.<p>The Linux desktop is getting pretty good, but it lacks well designed high quality GUI applications. If porting to Linux was done easier that could change.
评论 #12856486 未加载
评论 #12856534 未加载
评论 #12856553 未加载
评论 #12857237 未加载
评论 #12857912 未加载
评论 #12860219 未加载
评论 #12856391 未加载
评论 #12856719 未加载
lambdaover 8 years ago
&gt; Since the most painful area is still the missing Cocoa implementation, hackers are welcome to explore the following possibility<p>I wonder why they suggest trying to rebuild Cocoa on top of Qt, rather than starting with the existing GNUstep?
ISNITover 8 years ago
It&#x27;ll super useful when&#x2F;if it supports XCode + Mac Developer Tools for iOS development. I think that&#x27;s the main thing keeping app developers on their Macs.
评论 #12855904 未加载
评论 #12855607 未加载
评论 #12855899 未加载
kevinherronover 8 years ago
This is neat, but I can&#x27;t think of a single non-GUI tool on OS X that I need or doesn&#x27;t have an equivalent in Linux...
评论 #12855887 未加载
评论 #12856989 未加载
评论 #12856063 未加载
评论 #12860715 未加载
评论 #12856565 未加载
评论 #12856734 未加载
评论 #12856027 未加载
dreamcompilerover 8 years ago
Back in the PowerPC days, there was a thing called Mac-on-Linux [0] that allowed GUI Mac apps to run in Linux. It worked pretty well. I wonder if that code base would be helpful. [0] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Mac-on-Linux" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Mac-on-Linux</a>
评论 #12859155 未加载
评论 #12857617 未加载
评论 #12857616 未加载
jhbadgerover 8 years ago
Is there anything the other way around? Running a Linux binary on MacOS? Sometimes the source isn&#x27;t available so recompiling isn&#x27;t an option.
评论 #12857678 未加载
评论 #12855812 未加载
评论 #12855973 未加载
评论 #12857955 未加载
评论 #12856375 未加载
captn3m0over 8 years ago
Another similar project was Magenta OS: <a href="http:&#x2F;&#x2F;crna.cc&#x2F;cat&#x2F;open-source" rel="nofollow">http:&#x2F;&#x2F;crna.cc&#x2F;cat&#x2F;open-source</a><p>&gt;Magenta was my attempt at implementing a mach compatibility layer on top of the Linux kernel.<p>The 2012 archive.org cache of this page has some details: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20120619162157&#x2F;http:&#x2F;&#x2F;crna.cc&#x2F;magenta.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20120619162157&#x2F;http:&#x2F;&#x2F;crna.cc&#x2F;ma...</a>
k33nover 8 years ago
This project has been around since 2012. I&#x27;m glad to see it&#x27;s getting some momentum!
评论 #12856297 未加载
评论 #12857217 未加载
JustSomeNobodyover 8 years ago
&gt; Why “Darling”?<p>&gt;The name Darling is a combination of “Darwin” and “Linux”. &gt;Darwin is the core operating system OS X and iOS build on.<p>If that&#x27;s the case, why not Darlin? But then, I&#x27;m southern so that&#x27;s why it makes more sense to me.
评论 #12856214 未加载
评论 #12856697 未加载
评论 #12859076 未加载
talideonover 8 years ago
Wouldn&#x27;t be a terrible idea to do something similar for the BSDs, particularly FreeBSD. A lot of the syscalls would be passthroughs, which would make things a little easier at least.
评论 #12866915 未加载
Mathnerd314over 8 years ago
Related: <a href="http:&#x2F;&#x2F;www.puredarwin.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.puredarwin.org&#x2F;</a>, partial OS built from open-source Apple libraries &#x2F; kernel.<p>The problem with both of these is re-implementing the Core Foundation (only partially open-source; <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Foundation_Kit#Major_implementations" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Foundation_Kit#Major_implement...</a>) &amp; proprietary Cocoa API&#x27;s that almost all GUI Mac apps use. Wine has done the equivalent for Windows, but so far nobody wants to do all the hard work of bug-for-bug compatibility. Probably because Apple is already becoming irrelevant, and almost every Mac product has a corresponding Windows equivalent.
partycoderover 8 years ago
If there were build tools that could help deploying to the App Store&#x2F;Google Play&#x2F;Windows Store&#x2F;Amazon Marketplace in a straightforward way, this would motivate people to write more portable software.<p>Those marketplaces are not only places to buy applications. Many applications there are free. They are also distribution channels that help people finding and installing your app.
wonksover 8 years ago
Hmm. I guess many developers use just the right amount of MacOS specific tools to justify this now. The git client Tower is something I&#x27;ve eyed before, but most tools I use are available on Linux, and I say that as someone who uses a Mac at work.
评论 #12856085 未加载
评论 #12855500 未加载
Rooster61over 8 years ago
It&#x27;s a shame that you can&#x27;t run a container with MacOS installed and just run the apps natively.<p>Unlikely to ever happen though. You&#x27;d have to run the MacOS kernel and Mach concurrent with the Linux kernel without virtualization (something I am not sure is possible). At that point, you might as well just bite the bullet and run a VM.
评论 #12856019 未加载
cmrdporcupineover 8 years ago
Very impressive. I wonder how useful the existing GNUstep libraries would be for supporting at least some subset of GUI apps. I wonder how far at this point OS X&#x27;s CoreFoundation etc. differ from what&#x27;s in GNUstep.
评论 #12856080 未加载
stomatoover 8 years ago
This is great. But I can&#x27;t think of a single macOS-only app I&#x27;d like to have in Linux, other than Terminal.app, Control Panel, Activity Monitor, etc. Everything else I use already runs in Linux.
评论 #12861760 未加载
评论 #12861267 未加载
samlittlewoodover 8 years ago
Is there a licence issue preventing the use of <a href="http:&#x2F;&#x2F;www.cocotron.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cocotron.org&#x2F;</a>, an existing Cocoa for Windows&#x2F;Linux?
nodesocketover 8 years ago
I don&#x27;t think the virtual esc key is going to be an issue. The placement actually seems more convenient than the current esc key location.<p>I am going to miss a regular USB port and MagSafe.
评论 #12860759 未加载
lathiatover 8 years ago
Oh this looks excellent, I was thinking of trying to make something like this work for running the Bonjour Compatability Suite for automated testing against Avahi.
contingenciesover 8 years ago
Just an amusing thing to notice: 大零 &#x27;&#x27;da ling&#x27;&#x27; means &quot;great zero&quot; in Mandarin Chinese.
jcofflandover 8 years ago
Darling has been around for sometime. In my experience it&#x27;s buggy and not nearly as far along as Wine.
Polarityover 8 years ago
80% of my apps i use run on electron :D
评论 #12858424 未加载
felipelemosover 8 years ago
iTerm finally!
评论 #12858857 未加载
odbol_over 8 years ago
&gt; &quot;At this point, does not yet run macOS application with a GUI&quot;<p>Great, so I can run OS X&#x27;s shitty versions of Linux utilities... on Linux.
评论 #12860298 未加载
cheiVia0over 8 years ago
It would be really great to be able to build macOS-only open source apps on Linux.
microcolonelover 8 years ago
Maybe this will some day mean Imgix can stop racking mac pros.
baqover 8 years ago
what can apple&#x27;s lawyers do to kill this project?
评论 #12857269 未加载