3 ms·
Thanks for sharing, we ended up designing something very similar in Scala Native [1]. The use case we had was to explore all possible code paths was to reduce t
by densh 5y ago
Thanks for sharing, we ended up designing something very similar in Scala Native [1]. The use case we had was to explore all possible code paths was to reduce the overhead of virtual call dispatch (since very often virtual calls have very few targets in practice), which is extremely dominant and prohibitive in JVM languages unless optimized away. I hope to see your work upstream in LLVM.
[1]: https://scala-native.readthedocs.io/en/latest/blog/interflow.html https://scala-native.readthedocs.io/en/latest/blog/interflow...
- carlopi 5y agoDevirtualization is always plenty of fun + has lots of potential. Added to the list of article to read.