Live data from Hacker News

Apple to Deprecate Scripting Languages in Future Versions of macOS

tidbits.com

31–40 of 67 posts

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#31
post #28

It’s not really UNIX anymore.

POSIX defines what Unix is, and there's no Python/Ruby/Perl here: https://shellhaters.org https://pubs.opengroup.org/onlinepubs/9699919799/

Agreed as it relates to UNIX(R). But, I think we have all come to expect BASH and other scripting to be available on our systems.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#32
post #15

Don’t just deprecate. Remove them entirely please. If I wanted them I would install up to date versions.

It's good practice to not just remove stuff, but to deprecate it first, to give everybody time to migrate. That's exactly what Apple is doing there. The deprecation notices clearly states that they'll eventually remove it:

> Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. Future versions of macOS won’t include scripting language runtimes by default, and might require you to install additional packages. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#33
post #30

Title is misleading and makes it sound like Apple is removing support for scripting features that are integrated with macOS - AppleScript for instance. More like "Apple to stop shipping scripting language interpreters in macOS".

If they ship with the OS, they're "integrated" with the OS.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#35
post #28

Earlier quoted context omitted.

POSIX defines what Unix is, and there's no Python/Ruby/Perl here: https://shellhaters.org https://pubs.opengroup.org/onlinepubs/9699919799/

Agreed as it relates to UNIX(R). But, I think we have all come to expect BASH and other scripting to be available on our systems.

Given that GNU stands for GNU's Not Unix then the whole puzzle is fitting together just perfectly.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#36

scripts are just text files that can do a great deal when executed by the scripting language runtime Microsoft have done a lot in Windows 10 to counter PowerShell malware https://blogs.technet.microsoft.com/poshchap/2015/10/16/secu... https://www.microsoft.com/security/blog/2017/12/04/windows-d... It’s not foolproof but it copes with many common attacks. It’s surprising Apple hasn’t taken this approach.

To do so would run counter to the "Mac's don't get viruses/malware" mythology. There's been a persistent "That's only a PC thing" for a long time. Fairly sure it was even referenced in Apple's own advertising during the "I'm a Mac, I'm a PC" phase.

Apple still advertises their operating systems as "Secure By Design". With the latest news about iOS zerodays in the wild for years, we know this isn't true.

Do a google search for "Secure By Design" site:apple.com to see where they use this term for both iOS and OSX. Someday, someone will win in court over this.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#37
post #28

Earlier quoted context omitted.

POSIX defines what Unix is, and there's no Python/Ruby/Perl here: https://shellhaters.org https://pubs.opengroup.org/onlinepubs/9699919799/

Agreed as it relates to UNIX(R). But, I think we have all come to expect BASH and other scripting to be available on our systems.

Bash is available if you want it, it just won't be the default shell.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#38

scripts are just text files that can do a great deal when executed by the scripting language runtime Microsoft have done a lot in Windows 10 to counter PowerShell malware https://blogs.technet.microsoft.com/poshchap/2015/10/16/secu... https://www.microsoft.com/security/blog/2017/12/04/windows-d... It’s not foolproof but it copes with many common attacks. It’s surprising Apple hasn’t taken this approach.

To do so would run counter to the "Mac's don't get viruses/malware" mythology. There's been a persistent "That's only a PC thing" for a long time. Fairly sure it was even referenced in Apple's own advertising during the "I'm a Mac, I'm a PC" phase.

I still hear non-technical people repeating this. I’ve also heard people distinguish them as “macs” and “computers”. Working in tech and surrounded by people in tech all the time makes it easy to forget just how confused people can be over these things.

Re: Apple to Deprecate Scripting Languages in Future Versions of macOS

#39
post #2

About bloody time! Apple don't keep their scripting languages updated. For example, macOS Mojave 10.14.6 ships with perl 5, version 18, subversion 4 (v5.18.4) in /usr/bin/perl; but my homebrew setup provides perl 5, version 30, subversion 0 (v5.30.0). (And for those who don't know perl, it's been semi-permanently pinned at "perl 5" as a major version number for about 20 years due to the existence of perl 6, which is…

To be fair, Mojave comes pre-installed with the latest release of Python and PHP.

why the fuck does mac os x come with php?!
Post reply on HN