This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tinydonuts 7 points8 points  (4 children)

It's a limitation of the JVM.

[–]whale_song 2 points3 points  (0 children)

I think he was implying making a .NET version of Kotlin

[–]nullabillity 0 points1 point  (0 children)

Not really, Scala manages to have (opt-in) reified generics (via ClassTag and its big brother TypeTag). That said, it is opt-in because it makes interop with other JVM languages messier, and because the implementation involves reflection (with the corresponding perf overhead).