You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JNA's Native.register() function is convenient and tidy, but presents problems on platforms that can have non-standard OS_ARCH names. For example, some versions of linux might report arch as linux-x86-64 where others might report that same arch as linux-gnu-x86_64. This causes problems for packaging and auto-loading native libraries across different distributions and operating systems.
besu-native lib loading needs to be more explicit and opinionated in order to ensure native library implementations are available for all supported platforms.
The c-kzg-4844 java wrapper has fairly robust native lib loading. Using a similar strategy would not only be more robust than JNA, but it would also conform the native lib loading behavior across besu's native lib providers.
The text was updated successfully, but these errors were encountered:
Description
JNA's Native.register() function is convenient and tidy, but presents problems on platforms that can have non-standard OS_ARCH names. For example, some versions of linux might report arch as
linux-x86-64
where others might report that same arch aslinux-gnu-x86_64
. This causes problems for packaging and auto-loading native libraries across different distributions and operating systems.besu-native lib loading needs to be more explicit and opinionated in order to ensure native library implementations are available for all supported platforms.
The c-kzg-4844 java wrapper has fairly robust native lib loading. Using a similar strategy would not only be more robust than JNA, but it would also conform the native lib loading behavior across besu's native lib providers.
The text was updated successfully, but these errors were encountered: