Live data from Hacker News

Darling – Run macOS software on Linux

darlinghq.org

131–138 of 138 posts

Re: Darling – Run macOS software on Linux

#131
post #126

Earlier quoted context omitted.

If you can’t find what you need in the man page, because of the bloat, well, it’s the bloat that’s the problem, not the lack of —help.

Nak. Help output can be more concise because it does not have to explain what the command is used for, does not have to enumerate every option for a particular flag, does not need a "See Also" or "Examples" section, etc.

It's what the SYNOPSIS section is for, at the top of the man page, so you don't need to scroll down in the pager.

In a more general sense, though, this is why BSD systems generally try to avoid bloat in the core utilities. It's not about the code size - it never was - but rather the overhead on maintainers and users.

Re: Darling – Run macOS software on Linux

#133
post #117

Earlier quoted context omitted.

No GUI apps (well, kinda). But you can run WebKit on Linux already, if that helps.

Could you elaborate on running WebKit on Linux? Is it the same engine that latest Safari release is using?

Safari mostly uses the open-source WebKit, except it of course sets all the Mac defines and Apple-specific feature flags, and there’s a bit of extra code sprinkled in internally. On Linux you can get something similar but not exactly the same by using one of the WebKit browsers, such as GNOME Web.

Re: Darling – Run macOS software on Linux

#134
post #117

Earlier quoted context omitted.

Could you elaborate on running WebKit on Linux? Is it the same engine that latest Safari release is using?

Safari mostly uses the open-source WebKit, except it of course sets all the Mac defines and Apple-specific feature flags, and there’s a bit of extra code sprinkled in internally. On Linux you can get something similar but not exactly the same by using one of the WebKit browsers, such as GNOME Web.

Thanks, just installed Epiphany and was able to reproduce issue with flexbox that only Safari had. Somehow I thought that Safari and WebKit browsers were using a bit different forks of WebKit. That proves me wrong.

Re: Darling – Run macOS software on Linux

#135
post #134

Earlier quoted context omitted.

Safari mostly uses the open-source WebKit, except it of course sets all the Mac defines and Apple-specific feature flags, and there’s a bit of extra code sprinkled in internally. On Linux you can get something similar but not exactly the same by using one of the WebKit browsers, such as GNOME Web.

Thanks, just installed Epiphany and was able to reproduce issue with flexbox that only Safari had. Somehow I thought that Safari and WebKit browsers were using a bit different forks of WebKit. That proves me wrong.

They are; it just might not be different enough for your purposes.

Re: Darling – Run macOS software on Linux

#136
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…

As someone who prefers BSD, I feel right at home on the macOS command line. Although it has slowly been moving towards Linux, e.g. macOS now defaults to bash for the shell.

Re: Darling – Run macOS software on Linux

#138
post #66

Earlier quoted context omitted.

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 ️

It is for me. I've just tried it. As so often unfortunately the package is sufficiently out of date to make installation of the author's prebuilt binary ( https://sw.kovidgoyal.net/kitty/binary.html ) worthwhile.

Well then I could just go back to enlightenment’s terminal :)
Post reply on HN