java-cpp-example - Example of using C++ classes from Java. Showcases SWIG, JNA and JNI

  •        14

This repository contains three examples of calling a simple C++ library from Java code. The library doesn't do anything but contains a class, MyClass, forcing us to support C++ (and not just plain C).

https://github.com/remram44/java-cpp-example

Tags
Implementation
License
Platform

   




Related Projects

RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.

  •    C

------------------------------------------ See Help\swigtutorial.html Upgrading from version 3 ------------------------------------------ See 3.x_to_4.x_upgrade.txt Windows users (Visual Studio 2008 and 2010) ----------------------------------------- Load RakNet_VS2008.sln and convert if necessary.After the project conversion, if you encounter error MSB4006,follow the steps below to fix it:1. Open project properties2. Click on "Common Properties"3. Click on "Framework and References"4. Look

JniHelpers - Tools for writing great JNI code

  •    C++

The best examples for JniHelpers is the test suite itself. See the classes within src/test/cpp, they are documented and explain correct usage of the library.JniHelpers is not SWIG. It does not attempt to automatically create wrappers around native code.

jna - Java Native Access

  •    Java

The definitive JNA reference (including an overview and usage details) is in the JavaDoc. Please read the overview. Questions, comments, or exploratory conversations should begin on the mailing list, although you may find it easier to find answers to already-solved problems on StackOverflow. JNA provides Java programs easy access to native shared libraries without writing anything but Java code - no JNI or native code is required. This functionality is comparable to Windows' Platform/Invoke and Python's ctypes.

uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++

  •    C++

Sponsored and contributed by Cynny SpA. uvw is a header-only, event based, tiny and easy to use libuv wrapper in modern C++. The basic idea is to hide completely the C-ish interface of libuv behind a graceful C++ API. Currently, no uv_*_t data structure is actually exposed by the library. Note that uvw stays true to the API of libuv and it doesn't add anything to its interface. For the same reasons, users of the library must follow the same rules who are used to follow with libuv. As an example, a handle should be initialized before any other operation and closed once it is no longer in use.

sqlite_orm - SQLite ORM light header only library for modern C++

  •    C++

Now we tell sqlite_orm library about schema and provide database filename. We create storage service object that has CRUD interface. Also we create every table and every column. All code is intuitive and minimalistic. Too easy isn't it? You do not have to specify mapped type explicitly - it is deduced from your member pointers you pass during making a column (for example: &User::id). To create a column you have to pass two arguments at least: its name in the table and your mapped class member pointer. You can also add extra arguments to tell your storage about column's constraints like not_null (deduced from type), primary_key, autoincrement, default_value or unique(order isn't important).


cpp-dependencies - Tool to check C++ #include dependencies (dependency graphs created in

  •    C++

The tool cpp-dependencies creates #include dependency information for C++ source code files, which it derives from scanning a full source tree. The dependency information is output as .dot files, which can be visualized in, for example, GraphViz.

fast-cpp-csv-parser - fast-cpp-csv-parser

  •    C++

This is a small, easy-to-use and fast header-only library for reading comma separated value (CSV) files. The following small example should contain most of the syntax you need to use the library.

PHP-CPP - Library to build PHP extensions with C++

  •    C++

The PHP-CPP library is a C++ library for developing PHP extensions. It offers a collection of well documented and easy-to-use classes that can be used and extended to build native extensions for PHP. The full documentation can be found on http://www.php-cpp.com. Watch out: PHP 7 only! This library has been updated to work with PHP versions 7.0 and up. If you wish to create extensions for older PHP versions, use the PHP-CPP-LEGACY library instead. The PHP-CPP and PHP-CPP-LEGACY library have (almost) identical API's, so you can easily port extensions for PHP 5.* to PHP 7 and the other way around.

grammars-v4 - Grammars written for ANTLR v4; expectation that the grammars are free of actions.

  •    ANTLR

This repository is a collection of Antlr4 grammars. The root directory name is the all-lowercase name of the language parsed by the grammar. For example, java, cpp, csharp, c, etc...

AMQP-CPP - C++ library for asynchronous non-blocking communication with RabbitMQ

  •    C++

AMQP-CPP is a C++ library for communicating with a RabbitMQ message broker. The library can be used to parse incoming data from a RabbitMQ server, and to generate frames that can be sent to a RabbitMQ server. This library has a layered architecture, and allows you - if you like - to completely take care of the network layer. If you want to set up and manage the network connections yourself, the AMQP-CPP library will not make a connection to RabbitMQ by itself, nor will it create sockets and/or perform IO operations. As a user of this library, you create the socket connection and implement a certain interface that you pass to the AMQP-CPP library and that the library will use for IO operations.

atom-beautify - :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github

  •    CoffeeScript

Atom-Beautify respects the core.telemetryConsent configuration option from Atom editor. If you do not wish to have usage data sent to Google Analytics then please set core.telemetryConsent to no or undecided option before using Atom-Beautify. See Anonymous Analytics section of docs for details. Thank you. Atom-Beautify is going to be completely rewritten with Unibeautify at its core! See unibeautify branch for work in progress and Issue #1174.

cpp-ethereum - Ethereum C++ client

  •    C++

This repository contains cpp-ethereum, the Ethereum C++ client.It is the third most popular of the Ethereum clients, behind geth (the go client) and Parity (the rust client). The code is exceptionally portable and has been used successfully on a very broad range of operating systems and hardware.

webthree-umbrella - Former home of cpp-ethereum (Oct 2015 to Aug 2016)

  •    

cpp-ethereum is the Ethereum C++ client.This repository was an "umbrella" repository which was the home for the various C++ projects betwen October 2015 and August 2016. Prior to that point all the work had happened under a single repository (cpp-ethereum), and that is where all C++ runtime development work has now returned, with solidity now being a standalone repository.

awesome-cpp - A curated list of awesome C/C++ frameworks, libraries, resources, and shiny things

  •    

A curated list of awesome C/C++ frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.C++ Standard Library - including STL Containers, STL Aglorithm, STL Functional, etc.

Boost - CPP Library

  •    C

Boost provides free peer-reviewed portable C++ source libraries. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications. It supports String, Containers, Streams, Generic programming, Concurrent programming, Math, Memory and lot more.

Pantheios - The C/C++ Logging Sweetspot

  •    C

A C++ diagnostic logging API that is simple to use, 100% type-safe, generic, infinitely-extensible, atomic, platform-independent, and extremely efficient. And, best of all, it upholds the spirit of C: you only pay for what you use. Pantheios is readily extended to use the existing transport mechanisms of feature-rich diagnostic logging libraries such as ACE, log4cpp, log4cplus, log4cxx.

aleth - Aleth – Ethereum C++ client, tools and libraries

  •    C++

The collection of C++ libraries and tools for Ethereum, formerly known as cpp-ethereum project. This includes the full Ethereum client aleth. The Ethereum Documentation site hosts the cpp-ethereum homepage, which has a Quick Start section.

ffead-cpp - Framework for Enterprise Application Development, c++ framework, c++ web framework, c++ application framework, c++ rest framework, c++ soap framework, c++ web sites,c++ web applications, c++ driven web development - c++

  •    C++

ffead-cpp is a web-framework, application framework, utilities all bundled into one. It also provides an embedded HTTP/HTT2/Web-Socket compliant high-performance server core. It is a collection of modules all geared towards performing individual roles which together form the cohesive back-bone of ffead-cpp. It provides a very simple to use and maintain web-framework library with advanced features like Reflection, Dependency Injection (IOC), Inbuilt REST/SOAP support, Security/Authentication features. Moreover implementation for interfacing to caching tools like Memcached/Redis are provided in-built. Database integration/ORM framework (SDORM) solves all major issues with respect to interfacing with SQL/No-SQL database alike.