Skip to content

Comment on Nim 0.20.0 (1.0 RC1) releasedparent

Comments

It does do that. The only issue you might have is library support, but I have found it to be pretty good. For example Nim has had async HTTP client for a while now, while even Rust is just now getting it.

https://nim-lang.github.io/Nim/httpclient

https://github.com/nim-lang/Nim/commit/783087fd

The async lib doesn't supports timeout, meaning not usable in production or any serious workload.

I can see where you get that idea from, indeed the httpclient module doesn't have timeout flags for it's async recieve. But the asyncdispatch has a withTimeout procedure that should happily take the Future that you get from an async recieve and give you a timeout for it.

Neither does JavaScript fetch, I dont get your point

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.