Post #3407652
2026-06-26 14:32 UTC
@slava@mathstodon.xyz @SRAZKVT@tech.lgbt @pinskia@hachyderm.io if you really want to go for the "C successor" mantle though, i think you could do separately-compiled generics much simpler than swift, if you limit the use of generics to situations where they don't introduce representation polymorphism (like pointers, roughly the same situations where incomplete types are allowed in C) and let the developer bring their own metadata as needed
Replies (1)
-
@slava@mathstodon.xyz 2026-06-26 14:36
@joe@f.duriansoftware.com @SRAZKVT@tech.lgbt @pinskia@hachyderm.io or you could allow size polymorphism but insist that all generic values are POD