Live data from Hacker News

Darling – Run macOS software on Linux

darlinghq.org

61–70 of 138 posts

Re: Darling – Run macOS software on Linux

#61
post #40

Earlier quoted context omitted.

I think you’re severely underestimating what iTerm can do.

Can you share some examples that are unique to iTerm2?

I’ll let the website do the talking: https://iterm2.com/features.html. It’s not mentioned there, but iTerm’s has native tmux integration too: I barely know how to use it, but they show up as native tabs and windows that I can drag around and tile as I wish.

Re: Darling – Run macOS software on Linux

#62
post #54

Earlier quoted context omitted.

WSL doesn't meet the project's requirements: https://github.com/darlinghq/darling/issues/260

On the other hand, it's a bit weird that Darling requires a kernel module. Given the name (darling-mach) I guess it's doing something to make Linux look more like XNU, but it's surprising that the Darling team has to do that within Linux itself (given that Wine is apparently able to make Linux look like NT in userspace).

Not sure it's the underlying reason, but for a long while Go would use raw syscalls on Darwin, which is something that Windows has explicitly sabotaged for ages. It's a lot easier to trap a library call from userspace than a syscall.

Re: Darling – Run macOS software on Linux

#63

Earlier quoted context omitted.

A lot of software doesn't have a GUI, even on macOS?

I've been using OS X since about 2002, if I'm remembering right -- I bought my first Mac in 2001, I'm pretty sure (one of the crazy "clamshell" iBooks with a PowerPC G3), and OS X was not really suitable as a daily driver until 10.2 "Jaguar" in August 2002. I mention all this because even with that nearly 18 years of experience, I am really straining to think of a single non-GUI application for macOS that wasn't a Un…

[deleted]

Re: Darling – Run macOS software on Linux

#64
post #17

"Does it support GUI apps? Almost!". In what sense can this be considered to be "running MacOS software" then?

A lot of software doesn't have a GUI, even on macOS?

Apart from the Xcode toolchain, I cannot for the life of me think of a single macOS application that both has no GUI _and_ isn't already cross-platform or a Darwin/BSD version of a tool that already exists on Linux.

I'd actually like to know what non-Xcode command line apps you (or anyone else reading this!) is using that explicitly target macOS and nothing else - I've used Macs for only about five years and primarily for dev work, so maybe there's a treasure trove of cool stuff I'm missing.

Re: Darling – Run macOS software on Linux

#65

Earlier quoted context omitted.

I think you're taking this a step far. What does Windows have to do with this?

This software runs MacOS software in Linux. WSL2 can run Linux software on windows. This means theoretically you can use Windows to run WSL2 to run Darling to run XCode.

If you look at the issue, they did make it work on WSL2

Re: Darling – Run macOS software on Linux

#66
post #22

Do my eyes deceive me? O.o What trickery is this?! If I can run iTerm2 on Linux… snap. Um, I would seriously consider switching entirely over to Linux. My killer apps that make it hard for me to switch: - iTerm2 (must-have) - OmniGraffle (really nice, but not critical I guess) - Little Snitch (I understand there are alternatives, but LS is so nice!) - MoneyWell (budgeting—haven't found anything better) If anyone has…

iTerm2 is is the main thing holding you back? Give tilix a try and you will forget all about iTerm2 https://gnunn1.github.io/tilix-web/ Then you can also enjoy: - running containers natively without a clunky VM - KVM virtualization - say goodbye to virtualbox - middle-click paste - sounds odd but is really intuitive - infinite desktop customization - level up your linux skills - nothing does this faster than running…

Thank you for the tilix suggestion! All I ever wanted was a terminal that will rewrite the shell output if you resize the terminal.

I hear things about kitty but it’s not an Ubuntu package so ️

Re: Darling – Run macOS software on Linux

#67
post #40

Earlier quoted context omitted.

Can you share some examples that are unique to iTerm2?

I’ll let the website do the talking: https://iterm2.com/features.html . It’s not mentioned there, but iTerm’s has native tmux integration too: I barely know how to use it, but they show up as native tabs and windows that I can drag around and tile as I wish.

I'll give you iterm's tmux mode, seems tilix has an open issue for it but not implemented yet. https://github.com/gnunn1/tilix/issues/480

Everything else listed on iterm's site seem fairly trivial to do with tilix and other linux emulators in general.

In any event, lots of this stuff is better implemented in the shell itself (zsh and so on) much more portable that way.

Both iTerm2 and tilix are great on the desktop. Terminals are just a solved problem these days. Hell even Windows is catching up with their new terminal app (not to mention WSL(2)).

Re: Darling – Run macOS software on Linux

#68
post #57

After learning of the existence of a bunch of compatibility layers, I'm now occasionally pining for a Linux→Mac one. Because dealing with BSD software, aka ‘unknown option --help’, is a source of irritation sometimes. Plus there's actually open-source Linux software that doesn't have open-source analogs on Mac (not that I'll remember right now what it was). But then again, Linux has /proc and a boatload of common API…

First thing I do on my macs is installing gnu coreutils, sed, awk, etc. I'm happy for people who enjoy the "ideological UNIX purity" of BSD tools but I like to get work done and I don't think that comparing bloat between GNU tools and BSD tools is a conversation that you can meaningfully have on any recent compiter as a full hd wallpaper likely uses more RAM than both combined.

Re: Darling – Run macOS software on Linux

#69
post #6

I'd love to know (of popular software) what works well, and what doesn't. Is there such a list?

And most importantly (to me), does Adobe Lightroom, Premiere and Photoshop run under this? Frankly, those are about the last pieces of desktop software that prevent me to switch to Linux.

What job are you doing that you require these three software in addition to being most likely a sw developer ?
Post reply on HN