Comments (5)
I think we can use the JNI library from the substrate.
But we will not be able to do static
image anymore.
from fdk-java.
If I compiled the existing JNI code as a static lib is there a way we could make that work?
from fdk-java.
Yes, this will work but it will require special interfaces for calling to C functions.
Someting like:
interface MyCFunction extends CFunctionPointer {
@InvokeCFunctionPointer
public int call(...);
}
I will need to think a bit about this what's better.
from fdk-java.
@tzezula can this be closed now or do you still have spark to do?
from fdk-java.
Sorry, I've forgot to close it.
Closing..
from fdk-java.
Related Issues (20)
- JUnit5 option for FDK users. HOT 3
- Make fdk-java runtime modular HOT 2
- Add support for Java SE 11 HOT 4
- JSON Enabled function returns Error when Empty value is passed HOT 3
- override exit codes HOT 1
- FDK build image does not use pre-cached maven deps due to version mismatches
- [cross-fdk] formalize context contract
- RFE: improve logs readability HOT 1
- JVM in FDK is not running in headless mode
- Maven error during image build HOT 1
- Fn: name must be a valid string
- Update Javadoc for functionId
- Readme.md uses "fn run" and "fn call" HOT 1
- Set stable automatic module names
- Remove any Java examples/docs files that have been moved to Docs Repo HOT 1
- [Feature Request] Cookies HOT 3
- FnTesting: module java.xml does not export jdk.xml.internal to unnamed module
- How should I test my external dependencies?
- Merci
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fdk-java.