Saturday, September 28, 2024

New top story on Hacker News: Show HN: Bringing multithreading to Python's async event loop

Show HN: Bringing multithreading to Python's async event loop
11 by nbsande | 1 comments on Hacker News.
This project explores the integration of multithreading into the asyncio event loop in Python. While this was initially built with enhancing CPU utilization for FastAPI servers in mind, the approach can be used with more general async programs too. If you’re interested in diving deeper into the details, I’ve written a blog post about it here: https://ift.tt/BGzafih

New top story on Hacker News: Show HN: Modern Benchmarking Tooling for JavaScript

Show HN: Modern Benchmarking Tooling for JavaScript
7 by evnwashere | 2 comments on Hacker News.
I always had a sweet tooth for how easy it is to use google/benchmark, but when working with js, current libraries didn't feel right and some were not even accurate enough, so I decided to create my own library to make JavaScript benchmarking tooling better. With more free time, I finally implemented all features I wished for in 1.0.0 and made a lightweight C++ single-header version for moments when google/benchmark is too much. Hope this library helps you as much as it does me.

New top story on Hacker News: Autossh – automatically restart SSH sessions and tunnels

Autossh – automatically restart SSH sessions and tunnels
26 by denysonique | 5 comments on Hacker News.