An open API service indexing awesome lists of open source software.

https://github.com/praj-foss/jnr-demo


https://github.com/praj-foss/jnr-demo

java jnr jnr-ffi native

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

jnr-demo 🎒
===
Examples of connecting Java to native libraries using [JNR FFI](https://github.com/jnr/jnr-ffi).
It contains only a basic example for now, but more will be added soon.

### Building
You will need **JDK 11** or higher to build the projects. Execute the Gradle task
`run` for any project to build and run it. The project name will be same as
the directory containing it. For example, execute the following to build and run `basics`:

```
./gradlew basics:run
```

### Blog posts
- [Exploring JNR (Part 1) - A faster way to connect Java to native libraries](https://www.praj.in/posts/2021/exploring-jnr-part-1)
- _Coming soon ..._

**Leave a ⭐ if it helped!**