Skip to content

Why does async not use the existing terms Promise or Future? #269

Answered by ioquatix
hibachrach asked this question in Q&A
Discussion options

You must be logged in to vote

You are correct, the terminology is overloaded and in many cases, generally, over-complicated.

I talked to this in some of my presentations. Having a clear understanding of "concurrency" vs "parallelism" is important.

"Async" means "not existing or occurring at the same time" - the opposite of synchronous. I like to think of it as "code without (the consideration of actual) time". In my mind, "concurrent" (interleaved) execution and "parallel" (simultaneous) execution are both forms of asynchronous execution. The opposite is code which always executes with synchronisation between each step - i.e. synchronous execution. This is probably why we have "synchronisation primitives" which bring …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hibachrach
Comment options

@ioquatix
Comment options

Answer selected by hibachrach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants