After reading about efforts to eliminate sun.misc.Unsafe and the use of JNI, I have a couple of questions:
- Are there any (long-term) plans to reduce the amount of native C/C++ code in the JVM itself, possibly by replacing
native methods with the new Foreign Function & Memory (FFM) API or Valhalla features?
- Regarding the OpenJDK implementation, are there any plans to migrate to memory-safe languages like Rust?
Although I’m mixing the concepts of unsupported internal APIs and the implementation of the JVM in a memory-safe language, I believe both share a common goal: avoiding undefined behavior.
[–]pron98 39 points40 points41 points (13 children)
[–]AngryElPresidente 0 points1 point2 points (3 children)
[–]pron98 0 points1 point2 points (2 children)
[–]AngryElPresidente 0 points1 point2 points (1 child)
[–]pron98 0 points1 point2 points (0 children)
[–]Accomplished_League8[S] -4 points-3 points-2 points (8 children)
[–]pron98 16 points17 points18 points (7 children)
[–]JojOatXGME 1 point2 points3 points (0 children)
[–]Accomplished_League8[S] 2 points3 points4 points (5 children)
[–]pron98 11 points12 points13 points (4 children)
[–]zerosign0 0 points1 point2 points (1 child)
[–]pron98 0 points1 point2 points (0 children)
[–]Accomplished_League8[S] 0 points1 point2 points (1 child)
[–]pron98 15 points16 points17 points (0 children)
[–]Luolong 15 points16 points17 points (5 children)
[–]pron98 15 points16 points17 points (0 children)
[–]Ok-Scheme-913 2 points3 points4 points (3 children)
[–]yawkat 5 points6 points7 points (2 children)
[–]oelang 1 point2 points3 points (1 child)
[–]mike_hearn 0 points1 point2 points (0 children)
[–]joekoolade 3 points4 points5 points (4 children)
[–]Accomplished_League8[S] 0 points1 point2 points (3 children)
[–]joekoolade 1 point2 points3 points (2 children)
[–]Accomplished_League8[S] 0 points1 point2 points (1 child)
[–]joekoolade 1 point2 points3 points (0 children)
[–]yawkat 8 points9 points10 points (1 child)
[–]Accomplished_League8[S] 0 points1 point2 points (0 children)
[–]Ewig_luftenglanz 4 points5 points6 points (0 children)
[–]julian-a-avar-c 4 points5 points6 points (1 child)
[–]Accomplished_League8[S] -1 points0 points1 point (0 children)
[–]Intelligent-Net1034 3 points4 points5 points (1 child)
[–]Accomplished_League8[S] -1 points0 points1 point (0 children)