# Why stackless (async/await) for Swift?

**URL:** <https://forums.swift.org/t/why-stackless-async-await-for-swift/52785>\
**Category:** Discussion\
**Created:** [October 13, 2021, 4:13pm UTC](https://forums.swift.org/t/why-stackless-async-await-for-swift/52785 "2021-10-13T16:13:39Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![dabrahams](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/dabrahams/32/9815_2.png) [@dabrahams](https://forums.swift.org/u/dabrahams)\
**Post date:** [October 14, 2021, 3:53pm UTC](https://forums.swift.org/t/why-stackless-async-await-for-swift/52785/16 "2021-10-14T15:53:32Z")

</div>

> [@Joe\_Groff](#):
>
> We'll hopefully eventually have `reasync` , akin to `rethrows`…

It's a start. I think we probably need something like `reasync` at a protocol granularity, so that the `async`-ness of my `BundleOfCallbacks` instance can determine the `async`-ness of the algorithm using that bundle. But we'll still be left with a lot of [meaningless syntax overhead](https://forums.swift.org/t/on-the-proliferation-of-try-and-soon-await/42621/142).

> [@tera](#):
>
> _update to update: you can do your own "fiber testing" without fibers: just malloc a bunch (say a million) of megabyte sized blocks (one malloc per each block or one giant malloc for all blocks) and write the first 1K in each block. i won't be surprised if half of current popular platforms/devices fail this test._

Sure, but as noted by the Boost.Fiber people, it's a fallacy that you need to allocate 1M for fiber stacks, in general. There are lots of interesting points in the design space.

---

_[View the full topic](https://forums.swift.org/t/why-stackless-async-await-for-swift/52785)._
