I'd love some sort of clean, multiplatform-aware c...
# random
k
I'd love some sort of clean, multiplatform-aware codegen for kotlin. I've had a similar problem with codegen for non-boxing primitives, e.g. https://github.com/kyonifer/koma/tree/master/koma-core-api/common/src/koma/internal/default/generated/ndarray
a
reified generics would definitely be your option. They automatically box primitive types, which is why I was looking into it
k
you mean doing some sort of auto codegen on refied types?
if you mean just using reified in the code, unfortunately not sufficient for all use cases.