To #async veterans: are #futures actually difficult to work with, or are they not worse than threaded code?

I just spent 4 hours tracking the propagation of a single error...

@dcz Nothing is worse than threaded code. 😄

@eliasr I found tha the actor model is actually workable! But I can see how those familiar with the usual C/C++/Java free-for-all threading might revolt at the thought :)

Follow

@dcz I worked on research about parallel programming modelsa few years ago, here is one of the papers: doi.org/10.1016/j.parco.2013.0

You can read the introduction part without subscription, it's a kind of overview of parallel programming approaches including something about the actor model.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml