3 ms·
A bit fuzzy and dramatic; luckily the original documents are quite readable: top-level page: https://openjdk.org/projects/jdk/28/spec/ https://openjdk.org/proj
by w10-1 4mo ago
A bit fuzzy and dramatic; luckily the original documents are quite readable:
top-level page: https://openjdk.org/projects/jdk/28/spec/ https://openjdk.org/projects/jdk/28/spec/
JEP status: https://bugs.openjdk.org/secure/Dashboard.jspa?selectPageId=25101 https://bugs.openjdk.org/secure/Dashboard.jspa?selectPageId=...
I'd really like to see someone trace related developments in C#, Swift, Java, and Rust, since they all have been racing to catch up to hardware, and I believe they are cross-pollinating.
(My concern is how all this will affect the FFI memory shares.)
- slavapestov 4mo agoFWIW both Swift and Rust have had value types and generics that abstract over unboxed values since the start.
- gf000 4mo agoNot sure I would call them the same - not too familiar with Swift but for rust you probably mean types implementing the Copy trait? But Java's value types are a higher level semantic feature, these objects may do a Copy or a Clone based on heuristics. So probably not the exact analogue but of course rust being a lower level language it can express where and when memory is allocated.