3 ms·
Will this mean that we can get rid of type erasure when running native code?
by NickHoff 10y ago
Will this mean that we can get rid of type erasure when running native code?
- tormeh 10y agoWhy is type erasure necessary anyway? Surely this can be worked around somehow. You could manually do what you do with array length in C - pass the information along manually. Why can't the compiler do this in a transparent manner for us? Is it speed?
- lmm 10y agoIt's more likely to make type erasure more extensive. The main effect of type erasure is to stop people doing naughty things in generic methods. When one doesn't have to support JVM reflection, erasure can be pushed further.