sdgathman on Nostr: You can call C code from Java with JNI (Java Native Interface) - register C functions ...
You can call C code from Java with JNI (Java Native Interface) - register C functions that get run for class methods. It's no more difficult than the C-API for C-Python.
https://www.baeldung.com/jniPublished at
2023-08-10 19:40:57Event JSON
{
"id": "1facef46dadb881054780a946779b73d92bb615958f207b5b6cde3d142d0ecdb",
"pubkey": "300ec228d0823779c529dc87278dea4b804cb258ef0f4ae6542125ee0222829e",
"created_at": 1691696457,
"kind": 1,
"tags": [
[
"p",
"ee152f951a3ada50c33086313202cca64af5ed00a67520ea35bb624330a1d877",
"wss://relay.mostr.pub"
],
[
"p",
"12da98a3a66fb47b43526b1b241e91df632bfd4058dc5364938dc932fe931118",
"wss://relay.mostr.pub"
],
[
"e",
"4e5cf7d17e7b18dc56355adce8e32f9d272002421d1f84fec13c59abab7a4086",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://chatter.llamarific.social/objects/225da30f-9eb6-4179-bcd7-9041ca99bd53",
"activitypub"
]
],
"content": "You can call C code from Java with JNI (Java Native Interface) - register C functions that get run for class methods. It's no more difficult than the C-API for C-Python. https://www.baeldung.com/jni",
"sig": "58c64251cb1573c843c7d7d04ed0c748a02aed7a2fd4ebce75e23f038eb3be3e0ad73420f663e5a2e81bc1c8364b1fba93c438074db8b7d8ab69337fd77ed310"
}