All Projects → sn99 → rust-ffi-examples

sn99 / rust-ffi-examples

Licence: other
FFI examples written in Rust

Programming Languages

Makefile
30231 projects
rust
11053 projects
go
31211 projects - #10 most used programming language
c
50402 projects - #5 most used programming language
dart
5743 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to rust-ffi-examples

cargo-valgrind
A cargo subcommand, that runs valgrind and displays its output in a helpful manner.
Stars: ✭ 66 (+57.14%)
Mutual labels:  ffi, ffi-bindings
eta-ffi
A command line tool to automate the generation of ffi import code for the bindings of various Java libraries.
Stars: ✭ 19 (-54.76%)
Mutual labels:  ffi, ffi-bindings
ffi-libc
Useful Ruby FFI bindings for libc
Stars: ✭ 32 (-23.81%)
Mutual labels:  ffi, ffi-bindings
Libnotify
Ruby bindings for libnotify using FFI.
Stars: ✭ 138 (+228.57%)
Mutual labels:  ffi
Goluwa
a game framework written in luajit
Stars: ✭ 173 (+311.9%)
Mutual labels:  ffi
Pythonnet
Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
Stars: ✭ 2,873 (+6740.48%)
Mutual labels:  ffi
pedax
Reversi Board with edax, which is the strongest reversi engine.
Stars: ✭ 18 (-57.14%)
Mutual labels:  ffi
Tflite native
A Dart interface to TensorFlow Lite (tflite) through dart:ffi
Stars: ✭ 120 (+185.71%)
Mutual labels:  ffi
cxx-cmake-example
An example repo to setup cxx (Rust FFI library) with the CMake build system.
Stars: ✭ 64 (+52.38%)
Mutual labels:  ffi
Node Win32 Api
win32 api
Stars: ✭ 214 (+409.52%)
Mutual labels:  ffi
Inline Rust
Use snippets of Rust inline in your Haskell programs
Stars: ✭ 210 (+400%)
Mutual labels:  ffi
Rust Bindgen
Automatically generates Rust FFI bindings to C (and some C++) libraries.
Stars: ✭ 2,453 (+5740.48%)
Mutual labels:  ffi
Python Mpv
Python interface to the awesome mpv media player
Stars: ✭ 245 (+483.33%)
Mutual labels:  ffi
Rustr
Rust and R Integration
Stars: ✭ 160 (+280.95%)
Mutual labels:  ffi
cuda
Haskell FFI bindings to CUDA
Stars: ✭ 73 (+73.81%)
Mutual labels:  ffi-bindings
Ffi Navigator
Stars: ✭ 122 (+190.48%)
Mutual labels:  ffi
Curryrs
Bridge the gap between Haskell and Rust
Stars: ✭ 252 (+500%)
Mutual labels:  ffi
Rust Ffi Guide
A guide for doing FFI using Rust
Stars: ✭ 207 (+392.86%)
Mutual labels:  ffi
Emacs Module Rs
Rust binding and tools for emacs-module (Emacs's dynamic module support)
Stars: ✭ 203 (+383.33%)
Mutual labels:  ffi
Awesome Php Ffi
PHP FFI examples and use cases
Stars: ✭ 217 (+416.67%)
Mutual labels:  ffi

FFI examples written in Rust

A table for C/C++ type in Rust

C type Corresponding std::os::raw type
short c_short
int c_int
long c_long
long long c_longlong
unsigned short c_ushort
unsigned, unsigned int c_uint
unsigned long c_ulong
unsigned long long c_ulonglong
char c_char
signed char c_schar
unsigned char c_uchar
float c_float
double c_double
void *, const void * *mut c_void, *const c_void
usize size_t
isize ptrdiff_t

You can also use https://crates.io/crates/libc instead of std::os::raw

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].