2020-02-06
Roland Brand
next meetup will be
here
C FFI as common denominator allows for almost any combination without direct support
See Wikipedia "FFI" article
C type | std::os::raw |
---|---|
short | c_short |
int | c_int |
long | c_long |
long long | c_longlong |
unsigned short | c_ushort |
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 * | *mut c_void |
Rust bindings for the python interpreter
Classical FFI
expression-language