Git Product home page Git Product logo

openjdk / panama-foreign Goto Github PK

View Code? Open in Web Editor NEW
289.0 29.0 61.0 669.19 MB

https://openjdk.org/projects/panama

License: GNU General Public License v2.0

Makefile 0.01% Shell 0.15% JavaScript 0.02% M4 0.15% sed 0.01% Roff 0.15% HTML 0.26% CSS 0.01% Python 0.05% Java 74.10% C++ 13.82% XSLT 0.22% Perl 0.01% Batchfile 0.01% C 7.92% DTrace 0.01% Assembly 2.75% GDB 0.01% Objective-C 0.38% AppleScript 0.01%

panama-foreign's Introduction

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.


Foreign Function & Memory API

This repository contains changes which aim at improving the interoperability between the Java programming language and native libraries, which is one of the main goals of Project Panama. This is done by introducing a new Java API, the Foreign Function & Memory API, which can be used to:

  • interact with different kinds of memory resources, including so-called off-heap or native memory, as shown here;
  • find native functions in a .dll/.so/.dylib and invoke them using method handles, as shown here.

This API has been delivered, as incubating/preview APIs, in official JDK releases, see JEP 412, JEP 419 and JEP 424 for more details.

The Foreign Function & Memory API is best used in combination with a tool called jextract, which can be used to generate Java bindings to access functions and/or structs in a native library described by a given header file. The tool is available in a standalone repository which contains several examples which should help you getting started.

Early acccess (EA) binary snapshots of this repository can be found at: http://jdk.java.net/panama/

panama-foreign's People

Contributors

albertnetymk avatar chrishegarty avatar cl4es avatar coleenp avatar dfuch avatar egahlin avatar erikj79 avatar hns avatar iignatev avatar iklam avatar jddarcy avatar jesperirl avatar jonathan-gibbons avatar lahodaj avatar magicus avatar mbaesken avatar mcimadamore avatar mrserb avatar naotoj avatar prrace avatar prsadhuk avatar rwestrel avatar shipilev avatar stefank avatar sundararajana avatar tobihartmann avatar tstuefe avatar wangweij avatar xueleifan avatar zhengyu123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.