Skip to content

Implement new FFM API approach #454

@DigitalSmile

Description

@DigitalSmile

Goal: create a plugin, that can talk to hardware using FFM API. It was introduced in JDK22 and is going to replace old JNI in future releases of JDK. For now it is marked for restricted use since next JDK25.

Todo list:

  • Write some code, that works with FFM API objects (layouts, arenas, function calls, etc.)
  • Implement all basic Provider interfaces (gpio, i2c, spi, pwm)
  • Write JMH tests to measure performance
  • Cover methods with tests and javadocs

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions