65 private links
A piece criticizing the asyncio approach in Python (especially considering the performance tradeoffs in this language). Also provides viable alternatives.
Deep dive on a proper benchmarking and implementation for 1M task on the Erlang runtime. Clearly the previous benchmark had room for improvements.
Doesn't give the whole picture (memory isn't the only important parameter) but interesting results nonetheless. A few surprises in there, Java and C# do much better than one might assume for instance.
Very early days and still hackish to use but that's definitely big news for the Python ecosystem.
Nice exploration of false sharing on performances in several hardware scenarii. A couple of surprises along the way.
It's good to also see articles which point out the problems with Rust. Overall I find it an interesting language but people tend to oversell it too much. This is a nice reminder it already carries complexity issues.
A little reminder that those too often forgotten execution policies for C++ algorithms actually exist and can give interesting results nowadays.
Interesting new concurrency model in Java. Probably a good inspiration in other situations.
Nice summary on the false sharing problem with caches and how it can impact your performances in multithreaded contexts.
Illustrated with Java, still this highlight fairly well the caveats of mutable collections in multithreaded code.
This completes the article about why the GIL doesn't prevent data races. It explains in a bit more detail how the incrementation was creating the data race.
Contrary to popular belief, data races are definitely a reality in Python. Don't be fooled, the Global Interpreter Lock won't prevent them.
Good reminder on how a shared atomic can become a huge bottleneck in multi-CPU setups.
This could be a game changer for a future Python 4.
Ever wondered what's hiding behind a mutex? This article goes a good job to explain this.
If you're still struggling with atomics and memory fences (and you should) this is a good piece to read. It really goes through it all.