Roadmap for small binaries

It just occurred to me that vtables make it trival to completely eliminate a class from compiled code if that class isn’t used anywhere. Thanks for helping me connect the dots!

I’m curious whether this is a fundamental limitation of having parametric polymorphism and multiple dispatch in the same language. To avoid cluttering this thread, created Reconciling dynamic multimethod dispatch, parametric types and static compilation if anyone has thoughts or insights.

Do you anticipate creating a small writeup to describe how this project works once it’s ready? Sounds exciting!

3 Likes