Hacker News new | ask | show | jobs
by ongy 247 days ago
Huh, that way of doing asynchronicity is quite interesting.

Though my Haskell and Rust primed brain really dislikes the way ownership of the memory allocation for the response struct works.

It gets allocated by the caller (library), handed over to the function fully owned, and then gets consumed by the response function?