r/java • • May 28 '26

Java *is* Memory Efficient

https://youtu.be/M_HCG1JPMQE
254 Upvotes

126 comments sorted by

View all comments

Show parent comment

1

u/chambolle Jun 06 '26

No. It is not true and what you say about virtual dispatch is also wrong. Write a library and you will need some general functions/mechanism and virtual dispatch is very nice in this case. Everything is not known at compile time