I think I’d be in favor of this approach. It doesn’t “erase” the types, while it steers clear of the difficulty of implementing them at runtime.
I think I’d be in favor of this approach. It doesn’t “erase” the types, while it steers clear of the difficulty of implementing them at runtime.
For me the best effort would be a systems language rewrite of a static analyser to make them faster
You get erased generics, and your static analysis execution similar to how TypeScript behaves.
If you want a SA tool in a compiled language, just have a look at Mago: https://github.com/carthage-software/mago
A space for Bonfire maintainers and contributors to communicate