Online Developer Meeting (2025-03-25): Difference between revisions

m
Tweak text
m (Add agenda item)
m (Tweak text)
Line 14: Line 14:
* Run-time checks for adequate libraries
* Run-time checks for adequate libraries
** BLAS library can be correct at compile-time, but switched at run-time to one that is not (MacOS and functions with <code>float</code> types).  How should this be handled?
** BLAS library can be correct at compile-time, but switched at run-time to one that is not (MacOS and functions with <code>float</code> types).  How should this be handled?
** Java 1.9 or higher is now required.  How to check at run-time in <code>initialize_jvm</code> that JVM is adequate?
** Java 1.9 or higher is now required for Octave 11.  How to check at run-time in <code>initialize_jvm</code> that JVM is adequate?
*** tactic #1: initialize JVM and call <code>FindClass("java/lang/ref/Cleaner")</code> and then tear down JVM if it is not adequate.
*** tactic #1: initialize JVM and call <code>FindClass("java/lang/ref/Cleaner")</code> and then tear down JVM if it is not adequate.
*** tactic #2: check Java version number against 1.9 before initializing (but may be difficult to have cross-platform compatibility)
*** tactic #2: check Java version number against 1.9 before initializing (but may be difficult to have cross-platform compatibility)
1,173

edits