News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by pjmlp on Saturday July 29, 2023 @04:41AM (#36918215)
Like not everyone toy app isn't going to be the next FAANG, there are plenty of workloads where it hardly matters, while 30 years later it is still a mess in C and C++.

And between C++ and Rust coroutines, still not sure which one I like less.

Re:No-GIL mode coming for Python by doliveira on Saturday July 29, 2023 @11:15AM (#36921072)
I thought so too until I got to interact with databases and Big Data tools written in Java. God, what a mess that requires so much upkeeping, more dependency problems than I remember from C++ and probably some orders of magnitude more resources than they should.
Re:No-GIL mode coming for Python by pjmlp on Saturday July 29, 2023 @11:30AM (#36921218)
Doing code review for C++ code delivered by most well know offshoring companies, versus what they deliver in Java, will help get another point of view.
Re:No-GIL mode coming for Python by intelVISA on Saturday July 29, 2023 @02:20PM (#36922992)
Thankfully LLMs are becoming a viable, cost-effective, option for stuffing your favorite offshored codebase with even more unmaintainable spaghetti. What a time to be alive.
Re:No-GIL mode coming for Python by weinzierl on Saturday July 29, 2023 @06:03PM (#36925158)
"And between C++ and Rust coroutines, still not sure which one I like less."

I, myself, am not a Go guy, but I feel it has to be mentioned here. Go's approach might not be as universal as C++'s or Rust's but I think for a large number of use cases it makes sense.

Re:No-GIL mode coming for Python by pjmlp on Monday July 31, 2023 @02:58AM (#36939555)
Many that praise async/await in C#, kind of forget it took about 10 years to spread across all the layer of the language and runtime, since it was done via IL rewriting, it caused several issues with F# async tasks, due to the age of the ecosystem plenty of code isn't async/await friendly and needs to be wrapped into Task.Run() or similar.

There is a best practices guideline from one of the ASP.NET architects, https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b...

During last year they researched adding Go/Java's approach to .NET, but now it is too late. See the ASP.NET Q&A session at BUILD 2023.

Re:No-GIL mode coming for Python by ptx on Monday July 31, 2023 @09:43AM (#36942338)
This seems to be the relevant part of the Q&A: https://youtu.be/H5jI76Fq420?t=2396

Aside from being to late (already having two models and not wanting to add a third) they also mention that the Go/Java approach adds a performance penalty when calling native APIs.