logoalt Hacker News

danudeyyesterday at 11:36 PM1 replyview on HN

Doing concurrency in Rust was more complex (though not overly so) than doing it in Golang was, but the fact that the compiler will outright not let me pass mutable refs to each thread does make me feel more comfortable about doing so at all.

Meanwhile I copy-pasted a Python async TaskGroup example from the docs and still found that, despite using a TaskGroup which is specifically designed to await every task and only return once all are done, it returned the instant theloop was completed and tasks were created and then the program exited without having done any of the work.

Concurrency woo~


Replies

awesome_dudetoday at 3:57 AM

The person I was replying to sounded exactly like the Rust zealots roving the internet trying to convince people to change.