Skip to content

Comment on Swift Cryptoparent

Comments

Swift doesn't monomorphize generics like Rust does[0], for example.

Swift can monomorphize generics, but it doesn't do so by default. Normally this is left up to the compiler, but it's possible to force monomorphization using inlining attributes.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.