Skip to content

Comment on Project Valhalla, Simple as it can be, but not simplerparent

Comments

Which languages that are built on top of the JVM would have significant issues if generics weren’t implemented via erasure? I’m pretty sure Scala would be happier with reified generics. I think the CLR might not be as popular a target because of the Microsoft ties (and the main implementation being Windows-only and closed-source for most of the CLR’s existence).

Scala actually was implemented for the CLR, but was later dropped. Here is what its creator said: https://news.ycombinator.com/item?id=14179881

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.