3 ms·
Stack allocation is the one 'killer feature' c# has had over java since forever. Really critical for games, ie 3d math for example. Still no 'value objects' in
by le-mark 8y ago
Stack allocation is the one 'killer feature' c# has had over java since forever. Really critical for games, ie 3d math for example. Still no 'value objects' in java, I don't when or if they're planned nowadays, i stopped following that long ago.
- pjmlp 8y agoApparently it wasn't a show stopper for Markus Persson. Value objects are still on the roadmap, specially since Oracle plans to eventually replace Hotspot with Graal.
- peterashford 8y agoYou can native allocate a byte buffer in java, pack data in it and submit it to hardware. Zero difference from writing it in C/C++ in that case.