Why stackless (async/await) for Swift?

True. I may try some of the other, faster implementations to see how they compare.

1 Like

Erlang non-HIPE runs in as little as 721ms.
Go in as little as 454ms.
Pony in as little as 254ms.
LuaJIT in as little as 144ms.

I tried a bunch more but the examples are too out of date for modern versions of their tools.

7 Likes

Great, thank you! Swift looks the fastest.

Are you getting a faster result if you change from actor to class in the swift implementation?

1 Like

Thank you Alexander, I'm quoting you here as it is more appropriate to have it here rather in the topic named "The Swift Postmortem".

Anyone here aware of a good benchmark (or a set of benchmarks) to compare different approaches in this space? I tried the mentioned skynet benchmark but it only touches a fraction of the relevant surface area.

1 Like