Re:Free-threaded CPython is ready to experiment with
by vulnbludog on Saturday July 13, 2024 @05:38AM
(#40952899)
How do companies like Instagram/OpenAI scale with a majority python codebase? Like I just kick it on HN idk much about computers or coding (think high school CS) why wouldn’t they migrate can someone explain like I’m five
Re:Free-threaded CPython is ready to experiment with
by pansa2 on Saturday July 13, 2024 @06:03AM
(#40952994)
Python may well have been the right choice for companies like that when they were starting out, but now they're much bigger, they would be better off with a different language.
However, they simply have too much code to rewrite it all in another language. Hence the attempts recently to fundamentally change Python itself to make it more suitable for large-scale codebases.
<rant>And IMO less suitable for writing small scripts, which is what the majority of Python programmers are actually doing.</rant>
Re:Free-threaded CPython is ready to experiment with
by imtringued on Saturday July 13, 2024 @02:18PM
(#40955783)
They have tools like Triton that compile a restricted subset to CUDA.
Maybe if you’ve got an embarrassingly parallel problem, and dozen(s) of cores to spare, you can match the performance of a single-threaded JIT/AOT compiled program.