Live data from Hacker News

macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

developer.apple.com

31–40 of 450 posts

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#31

Fucking finally ! Between this and deprecating Bash [1], I'm glad macOS is dropping all these obsolete packages it's been including (Emacs soon?). Their antiquity mean they're more of a hindrance to proper development than help. Now, if they'd officially endorse one open-source packaging solution as an alternative, I'd be fully satisfied. [1] https://news.ycombinator.com/item?id=20090193

MacPorts has or had semi-official status. It was hosted by macOS Forge, which was an official Apple site that included other projects such as XQuartz. I'm unclear on the current status.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#32

Wait.. So I'll have to install Ruby before I can install Brew? Ok. Ruined 2 minutes of my day.

I expect homebrew to switch to installing their own local ruby via a zsh.

They already install their own local ruby today, but use the system-ruby as an entrypoint.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#33

Earlier quoted context omitted.

In other words, nothing serious. Does anyone actually use Docker on Mac? Xhyve is more of a proof-of-concept than a production-ready tool.

> Does anyone actually use Docker on Mac? What? We use it at work every day for local development, and my previous employer did as well. It has issues, definitely, but they have more to do with Docker than with xhyve.

But doesn’t Docker on Mac run a Linux VM? I don’t think it uses any of MacOS’s isolation features.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#34
post #12
post #10

Earlier quoted context omitted.

No - the problem with the misc other interpreters is that they don’t provide sufficient binary stability for Apple to simply include the newest one in every update (which I suspect they would happily do). They’re not removing the commandline (although moving to zsh? :-/), or banning interpreters. They’re just not including them built into the os anymore. As for the AppleScript and JavaScript questions: Apple makes th…

I think you read more into my question than what I meant. I was asking literally about the best way to install it was without a system level ruby. Once you have homebrew, you can install ruby; but what about before that? Download and install ruby from ruby-lang.org, install homebrew and a brewed ruby, then uninstall the one from ruby-lang.org?

At least for Python the standard .pkg's available from python.org have always been very useful for me. Especially since you can install as many versions as you want simultaneously since they install in separate folders. As a tester who used to have to keep installs of lots of versions this was very helpful.

I should know the situation for Ruby as well... but don't remember anymore.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#35

So, what's the point of using Macs as a better Linux, if they are continuing to strip out the parts of Linux that are useful? Might as well use WSL or Cygwin and save a bunch of money.

This is a great move.

It will be two lines of code and two minutes to install the interpreter you need, and you will no longer be tied to a global, possibly ancient system version.

Likewise, you won't have your own installed applications break on update because (for example) python2.7 was EoL and dropped from the OS.

Installing your own instance of python or ruby should be two lines and about two minutes assuming a decent internet connection.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#36

Fucking finally ! Between this and deprecating Bash [1], I'm glad macOS is dropping all these obsolete packages it's been including (Emacs soon?). Their antiquity mean they're more of a hindrance to proper development than help. Now, if they'd officially endorse one open-source packaging solution as an alternative, I'd be fully satisfied. [1] https://news.ycombinator.com/item?id=20090193

MacPorts has or had semi-official status. It was hosted by macOS Forge, which was an official Apple site that included other projects such as XQuartz. I'm unclear on the current status.

MacOS Forge has been deprecated for years (2016?), all its hosted projects have moved off. I don't think Apple has done anything for MacPorts since then, so I wouldn't consider it a current endorsement.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#38

Wait.. So I'll have to install Ruby before I can install Brew? Ok. Ruined 2 minutes of my day.

Good point. Hopefully the Homebrew installer script will bootstrap this for you. They already build and distribute binary packages, they probably can easily download the existing Ruby package and execute it.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#40
post #11

Earlier quoted context omitted.

Does OSX offer reasonable container technology? chroot?

macOS has a native hypervisor framework, Docker and xhyve uses it. https://developer.apple.com/documentation/hypervisor https://github.com/moby/hyperkit

Qemu has a backend too if I'm not mistaken?
Post reply on HN