You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by GitBox <gi...@apache.org> on 2020/09/23 21:28:24 UTC

[GitHub] [incubator-datasketches-memory] jmalkin opened a new issue #121: Support newer Java version than 8

jmalkin opened a new issue #121:
URL: https://github.com/apache/incubator-datasketches-memory/issues/121


   Java 8 is long in the tooth. Newer versions will pose challenges for this library in particular, but the project risks being left behind over time due to incompatibility with modern JDKs.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[GitHub] [incubator-datasketches-memory] leerho commented on issue #121: Support newer Java version than 8

Posted by GitBox <gi...@apache.org>.
leerho commented on issue #121:
URL: https://github.com/apache/incubator-datasketches-memory/issues/121#issuecomment-730685251


   This does indeed look promising.  But as of October, 2020, the Foreign Memory Access API is still incubating in Java 14 and 15.  I have been interested in this Panama project for several years now.  It has been really slow in coming into being.  And, it appears, we may have to wait longer still.  
   
   It gives me hope that Java is finally trying to address the need to manage structured off-heap memory like the _c struct_, but alas, with 10X the verbosity!  What is still missing is the power of the _c union_,  which is used under the covers by the java compiler, but apparently still not available to java users.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[GitHub] [incubator-datasketches-memory] davecromberge commented on issue #121: Support newer Java version than 8

Posted by GitBox <gi...@apache.org>.
davecromberge commented on issue #121:
URL: https://github.com/apache/incubator-datasketches-memory/issues/121#issuecomment-717324196


   I think that [Project Panama](https://openjdk.java.net/projects/panama/) may be an interesting project to follow for its ambitions to promote better native interoperability.  
   
   This could potentially allow a migration path for native calls that are no longer supported beyond Java 8, as the proposal targets version 16 of the JDK: https://openjdk.java.net/jeps/393
   
   In particular, its foreign memory access API provides the ability to access off-heap memory in an efficient fashion: 
   https://github.com/openjdk/panama-foreign/blob/foreign-jextract/doc/panama_memaccess.md
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org