Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mcculley
on July 19, 2018
|
parent
|
context
|
favorite
| on:
The Java type system is broken
Those casts are still there. The compiler puts them in and the JVM has to execute them.
icedchai
on July 19, 2018
[–]
Yes. And my point is they'd be there anyway, with or without generics. It's not "generics" making the JVM any slower.
mcculley
on July 19, 2018
|
parent
|
next
[–]
If the types were reified, the compiler and the JVM would know what type was there. No cast would be needed.
MaxBarraclough
on July 20, 2018
|
parent
|
prev
[–]
> they'd be there anyway
No. That's the point.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: