Async Rust Isn't Bad: You Are

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • io-uring

    The `io_uring` library for Rust

  • > You wanna know what else didn't ship with async? The thing all your bullshit async websocket servers run on: Linux. Last time I checked, Linux, and the POSIX world in whole, seems to be doing just fine running the entire internet without it. signal, timerfd, epoll, kqueue exist. Guess what? That's all tokio and these runtimes are doing. They can't magically put something to sleep. The kernel is the one who's not bringing your CPU to a halt when your read isn't doing anything, not tokio.

    Linux since 5.11/5.15 timeframe has shipped with an growingly speedy & capable async, io-uring.

    There are still security issues, to the degree that Google has started simply disabling io-uring. But for many application-servers, it feels like the risk today is minimal and it feels probable the situation will improve over time; I for one would not bet against io-uring.

    If anything I think there's a huge possibility to write really good languages or standard libraries that dive headfirst into this better new world. I view there as being a huge late mover advantage, ready for the taking, now that operating systems have finally gotten good, now that we can offload work so effectively to the kernel. There's works like https://github.com/tokio-rs/io-uring to make use of io-uring, but I worry that it only covers slices of what could be possible, that it's just cutting out a single path of use, and that path is deeply constrained by path dependence. It'd be interesting to see what a (not necessarily Rust) stdlib would look like that was io-uring first, that tries to enable a significantly wide breadth of async usage.

    I'm also interested & excited to see if wasm (& wasi) can start to make good use of the new excellent async that has bloomed so recently.

    Briefly scanning the post, evidence is that this person is also quite bad at async themselves. I don't see evidence that they've absorbed any of the lessons on the many many pitfalls of epoll. There's a reason that there are dozens of event-loop libraries out there; this stuff is quite hard to get right! Also, a quick scan hasn't shown any notable epoll improvements in the past decade; would love to be found wrong on that. https://idea.popcount.org/2017-02-20-epoll-is-fundamentally-... https://idea.popcount.org/2017-03-20-epoll-is-fundamentally-... https://news.ycombinator.com/item?id=13736674

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Create a data structure for low latency memory management

    4 projects | /r/rust | 4 Dec 2022
  • Window managers heavily lagging while Desktop environment doesn't

    1 project | /r/archlinux | 9 Oct 2021
  • calendar

    4 projects | /r/qtile | 26 May 2023
  • Does anyone know how to build this with EWW?This is an awesome wm rice, actually,but I can't figure out how to make it.Also,I want to build it with EWW in hyprland. Source:https://www.youtube.com/watch?v=-dkpcEeKk0E&t=3

    3 projects | /r/awesomewm | 22 May 2023
  • Anyone have Rust code running on under Garlic OS?

    2 projects | /r/RG35XX | 6 May 2023