wjy + native   28

nteract: write your next code-driven story.
Fire up this desktop application and develop engaging documents with prose, executable code in a favorite language, pictures, and more.

If you are a data scientist, researcher, journalist, educator, student, or developer, use nteract to write code-driven, interactive stories.
tools  programming  jupyter  testing  desktop  ipython  native  notebook  showcase 
may 2018 by wjy
nativelibs4java/JNAerator: JNAerator: native bindings generator for JNA / BridJ / Node.js
JNAerator generates complete native bindings for C, C++ and Objective-C libraries, targetting BridJ, JNA or node.js runtimes.

A comprehensive documentation is available on its Wiki.

It was previously hosted on ochafik/nativelibs4java.
jna  native  ffi  generator 
november 2017 by wjy
Call a function in a shared library - Rosetta Code
Show how to call a function in a shared library (without dynamically linking to it at compile-time). In particular, show how to call the shared library function if the library is available, otherwise use an internal equivalent function.
native  programming  demo  reference 
november 2017 by wjy
Node Addons
Welcome! This is a quick guide-sheet to get you started with Node.js C++ addons. It’s meant to be super-easy to skim and copy/paste into your code.
node.js  c++  cpp  book  addon  module  native 
november 2017 by wjy
Some hacky experiments with the newly updated node-ffi that works cross-platform.
node.js  ffi  native  tools 
october 2017 by wjy
A Portable Foreign Function Interface Library
tools  programming  ffi  c  library  native 
october 2017 by wjy
node-ffi/node-ffi: Node.js Foreign Function Interface
node-ffi is a Node.js addon for loading and calling dynamic libraries using pure JavaScript. It can be used to create bindings to native libraries without writing any C++ code.

It also simplifies the augmentation of node.js with C code as it takes care of handling the translation of types across JavaScript and C, which can add reams of boilerplate code to your otherwise simple C. See the example/factorial for an example of this use case.

WARNING: node-ffi assumes you know what you're doing. You can pretty easily create situations where you will segfault the interpreter and unless you've got C debugger skills, you probably won't know what's going on.
native  node.js  nodejs  node  ffi  libffi  cool 
october 2017 by wjy
java-native-access/jna: Java Native Access
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.

JNA allows you to call directly into native functions using natural Java method invocation. The Java call looks just like the call does in native code. Most calls require no special handling or configuration; no boilerplate or generated code is required.

JNA uses a small JNI library stub to dynamically invoke native code. The developer uses a Java interface to describe functions and structures in the target native library. This makes it quite easy to take advantage of native platform features without incurring the high overhead of configuring and building JNI code for multiple platforms. Read this more in-depth description.

While significant attention has been paid to performance, correctness and ease of use take priority.

In addition, JNA includes a platform library with many native functions already mapped as well as a set of utility interfaces that simplify native access.
java  jni  library  jna  native  ffi 
october 2017 by wjy
Web vs. native: let’s concede defeat - QuirksBlog
I feel it’s time to revisit the web vs. native debate, and concede defeat — or, at least, concede that the web cannot, and should not, compete with native when it comes to complex, app-like structures.
mobiledev  native  mobileweb  webdev 
may 2015 by wjy
React Native | A framework for building native apps using React
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about — learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
javascript  js  react  native  frameworks  facebook 
april 2015 by wjy
NativeScript enables developers to build native apps for iOS, Android and Windows Universal while sharing the application code across the platforms. When building the application UI, developers use our libraries, which abstract the differences between the native platforms.
js  javascript  native  mobiledev  ios  android 
march 2015 by wjy
NativeScript for Cross-Platform Native App Development with JavaScript
Build iOS, Android and Windows Phone 8 native apps using JavaScript
javascript  js  nativescript  mobiledev  ios  android  native 
june 2014 by wjy
Aroma is game creation framework that targets Chrome’s Native Client. It lets you create games in the Lua programming language that can be be distributed through the Chrome Web Store.
development  framework  frame  native  games  NaCl  lua  chrome 
may 2012 by wjy

Copy this bookmark: