Re:Nim 0.20.0 (1.0 RC1) released
by haolez on Thursday June 06, 2019 @04:04PM
(#20118532)
What's the current async/await story on Nim? I'm considering it for a new project.
[ Parent
| on HN ]
The story is that it's used in production and works quite well (but I am pretty biased as I developed most of it). If you want some examples take a look at my book[1] which includes a whole chapter where you build a chat app using Nim's async/await. The code for this is freely available[2].
https://github.com/dom96/nim-in-action-code/blob/master/Chap...
Does the linked line imply that a slow client will block the rest of the clients from receiving new messages?
Yes. Ideally this should have a time out on it, but this is an edge case :)
Great! Congratulations!
I’ve been bitten by Python in this area a few times and I was looking for a statically typed alternative for a while. Nim seems to fit the bill.
The obvious choice would be Go, but the learning curve for my mostly Python-based shop seems higher and Nim looks cooler :)
Thanks! Be sure to get in touch if you run into any trouble[1] :)