I am curious if type-proofs and arrow-meta have proven to get around some of the expensive boxing that the jvm normally imposes
r
raulraja
10/09/2020, 8:08 PM
They help removing virtual dispatch since you can project syntax from a type to other without interfaces or abstract classes just through a function
raulraja
10/09/2020, 8:09 PM
Also specially when proofs are declared inline
raulraja
10/09/2020, 8:09 PM
For the rest I'm not sure we can do more than what inline classes do.
raulraja
10/09/2020, 8:12 PM
We plan on investigating a form of polymorphism based on top level functions where implementors are inlined and abstract functions can be used as templates. That could remove indirection through interfaces.
raulraja
10/09/2020, 8:13 PM
That is specialized implementors to data types to remove polymorphism and using just abstract functions as inline templates
raulraja
10/09/2020, 8:14 PM
Still to be researched and in idea stage. We did a small prototype but left it because it required more time