News for hackers. Stuff that matters.
Re:Apple removes Python 2.7 in macOS 12.3 beta by throwaway894345 on Friday January 28, 2022 @04:14PM (#30120442)
I generally agree. I don’t think Python is even “easy to start with” these days. I think it got that reputation in the early 00s, but since then the competition has surpassed it.

Languages like Go are arguably easier to use and getting a basic project up and running and sharing it with others is far easier than with Python. If you really care about a scripting workflow, it’s as easy to do ‘go run main.go’ as it is to do ‘python main.py’ for projects without dependencies and for projects with dependencies it’s a lot easier to just do ‘go run main.go’ than configuring a venv and installing your dependencies and then running ‘python main.py’.

Nit: Ocaml is about on par with Go. Some programs will be faster and others will be slower, but OCaml is very much in the same performance tier as Go, Java, and C# (benchmark game prohibits idiomatic Go code for certain benchmarks so it appears artificially slow).

Re:Apple removes Python 2.7 in macOS 12.3 beta by igouy on Saturday January 29, 2022 @01:09PM (#30128722)
> … prohibits idiomatic Go…

No it does not.

Re:Apple removes Python 2.7 in macOS 12.3 beta by throwaway894345 on Saturday January 29, 2022 @03:44PM (#30130214)
Per the sibling thread, I think you’re mistaken, but that’s okay. It’s a widely written about topic and anyone can read up on it. We don’t need to hash it out here.
Re:Apple removes Python 2.7 in macOS 12.3 beta by igouy on Sunday January 30, 2022 @01:46PM (#30139853)
> We don’t need to hash it out here.

We don't: as you have shown absolutely nothing to back up your claim, it can be flatly rejected.

Re:Apple removes Python 2.7 in macOS 12.3 beta by igouy on Friday January 28, 2022 @04:30PM (#30120616)
Please show that Go is being made to appear artificially slow, as you claim.
Re:Apple removes Python 2.7 in macOS 12.3 beta by throwaway894345 on Friday January 28, 2022 @05:56PM (#30121635)
It’s not allowed to preallocate memory in certain benchmarks, so it has to do allocations in a tight loop. Go’s allocations are more expensive by design because idiomatic Go doesn’t create as much garbage as other GC languages.

If you’re here for a language slap fight, you’ll have to find someone else to talk to.

EDIT: good grief, the overwhelming majority of your recent comments are “debates” about the benchmark game. Do you have an alert for references to this phrase or something?

[dead]
Re:Apple removes Python 2.7 in macOS 12.3 beta by throwaway894345 on Friday January 28, 2022 @10:44PM (#30123577)
Well tossaway’s account was created 66 days ago so clearly not, and anyway I’m not going to be baited into your holy war.