hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.4K
active users

@asb
Interesting. I assume it’s the “allocating” variety of embedded Swift you’re thinking of, ie classes still supported and there’s still a heap?

Is it the sheer download size of the type metadata necessary for erasure, existentials, etc that’s the barrier with current Swift?

@inthehands the doc notes that the Swift runtime and stdlib is 5MB right now - so the work mentioned to produce smaller more minimal binaries would help a lot. You're right that avoiding heap allocation doesn't seem at all necessary in the wasm context.

Paul Cantrell

@asb
Got it. I’m wondering whether binary size is the main thing you were thinking of, or is there other stuff too?

@asb
Thanks! Wondering about size-reducing measures that would preserve existentials, although probably doesn’t go anywhere. Will post in the forum.