News for hackers. Stuff that matters.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by gautamcgoel on Saturday July 08, 2023 @08:38AM (#36643800)
This is potentially problematic. It creates a conflict of interest: will the GIL proposal be accepted based on technical merits and potential benefits to the Python community overall, or just because the Python foundation wanted money? The problems that Meta faces in production are not necessarily the problems faced by every Python developer. In particular, Meta might value performance more than backwards-compatibility, while other Python users might feel differently. If Meta were to offer unconditional financial support, that would clearly be good for Python; attaching conditions to their money makes the situation trickier to navigate.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by jsnell on Saturday July 08, 2023 @08:42AM (#36643831)
Your premise is incorrect, as this is not a promise of money.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by bob1029 on Saturday July 08, 2023 @08:44AM (#36643853)
What is Meta's end game with Python? Do they genuinely just want a stable build without GIL because of some cranky in-house code piles, or is this the first step towards a bigger mission to wrangle an entire ecosystem?
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by trollied on Saturday July 08, 2023 @09:27AM (#36644187)
Would you they rather used these man years to implement it behind closed doors & never release the build?

They use Python. They want to donate engineering time. They think this is a good idea. Why does there have to be a sinister motive?

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by kevincox on Saturday July 08, 2023 @10:20AM (#36644687)
Calling it a "donation" is even too generous. They use python and would save a lot of money running it (less severs) if it could run multi-threaded. Implementing it themselves and maintaining a fork may be cheaper in the short term but due to ongoing maintenance and third-party extension incompatibility it would likely cost them more in the long run. So they are effectively investing 3 engineer/years of resources to A) ensure the project gets done and B) help it get done faster.

I don't see any charity here, this is just a smart business move by them. When you run as many servers as Meta does being able to run 1/4 as many instances is huge RAM and therefore money saving. It won't take long to add up to 3 engineer/years.

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by fsociety on Saturday July 08, 2023 @10:47AM (#36644923)
I agree charity is not the right way to frame it. But if this was a pure money decision they would save time and effort forking the language and improving it as closed source.

They have the expertise to run a language fork and because of the scale they run at they would easily save more money doing so. Meta contributing to OSS is not an economic decision. It is about branding, trying to attract technically strong individuals (who tend to contribute to OSS or want to), and sticking to their open culture.

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by biorach on Saturday July 08, 2023 @12:03PM (#36645660)
> they would save time and effort forking the language and improving it as closed source.

Actually, experience has shown the opposite to be true. Time and time again even large organisations find their fork falling behind the community version and the pain of merging new versions from upstream grows and grows

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by AlphaSite on Saturday July 08, 2023 @09:23AM (#36644145)
They use Python as the basis for instagram, which is a large growing service.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by bugglebeetle on Saturday July 08, 2023 @11:06AM (#36645099)
And now Threads as well.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by netheril96 on Saturday July 08, 2023 @09:45AM (#36644338)
GIL has been a major pain point when training machine learning models, where every library is Python first. The data preprocessing phase must happen quickly enough and in parallel with respect to the GPU operations. The simplest option is doing data processing in several threads other than the one driving GPU operations, but that is not possible with GIL. TensorFlow and PyTorch each has their workarounds for this problem, but many difficulties remain. Removing the GIL will be greatly beneficial to this domain at least.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by OldManRyan on Saturday July 08, 2023 @08:57AM (#36643940)
You not reading the thread is problematic. Meta is pledging 3 years of engineer time not money.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by Macha on Saturday July 08, 2023 @09:27AM (#36644184)
And it's 3 years of engineer time to work on this project, so I don't get the bribery insinuation. Engineer time to work on a specific project is only valuable if you consider the specific project valuable.

You could maybe make the argument that they're trying to swing priorities if this is considered valuable but less valuable than other things, but give the PSF doesn't actually employ anyone who it can direct to work on specific projects anyway, how is this any different from the already existing prioritisation process of "things that somebody is interested enough to go through the PEP process and then work on"

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by nullindividual on Saturday July 08, 2023 @09:26AM (#36644176)
Time is money. Meta is pledging the salaries of three individuals.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by YetAnotherNick on Saturday July 08, 2023 @09:52AM (#36644408)
But it is just for the nogil project. If suppose python foundation doesn't believe merit in GIL, they aren't getting any benefit out of the situation.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by nullindividual on Saturday July 08, 2023 @10:08AM (#36644565)
Never the less, the OP is incorrect. Time is money. The fact HN doesn't seem to recognize this and downvoted the comment is mystifying.

We all remember the anti-OSS 'Linux is only free if your time is free'.

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by YetAnotherNick on Saturday July 08, 2023 @10:32AM (#36644785)
Because the whole point of the thread is "It creates a conflict of interest because money" which it doesn't. Time costs money, sure, but time is not equal to money. There are many differences. Otherwise where is my money from HN.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by nullindividual on Saturday July 08, 2023 @10:38AM (#36644835)
Woah, are you kidding? I would have died to have people dedicated to OSS I worked on! Time is money. We get paid for our _time_ at the core of what we do as a profession. This should be plainly obvious.

The alternative is Meta puts in no money to salaries and benefits for up to three individual's time on this project, or Meta puts in no money at all.

Meta is paying, one way or another, for this project.

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by YetAnotherNick on Saturday July 08, 2023 @04:24PM (#36648350)
> Meta is paying, one way or another, for this project.

Did I deny this?

To put it in extreme clear example, just said time for someone to punch you != time for someone to work for you, while money is same all across. I hope you don't disagree with it.

Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by ZiiS on Saturday July 08, 2023 @09:50AM (#36644391)
TBH having CPython internal experiance is quite a qualification. They would probably contribute at least some of thier time in the no PEP 703 case so the delta is even leass.
Re:Meta pledges Three-Year sponsorship for Python if GIL rem... by stavros on Saturday July 08, 2023 @09:58AM (#36644458)
It doesn't really matter to the argument though, no?