1.0.37 • Published 8 months ago
cobhan v1.0.37
Cobhan FFI
Cobhan FFI is a system for enabling shared code to be written in Rust or Go and consumed from all major languages/platforms in a safe and effective way, using easy helper functions to manage any unsafe data marshaling.
Types
- Supported types
- int32 - 32bit signed integer
- int64 - 64bit signed integer
- float64 - double precision 64bit IEEE 754 floating point
- Cobhan buffer - length delimited 8bit buffer (no null delimiters)
- utf-8 encoded string
- JSON
- binary data
- Cobhan buffer details
- Callers provide the output buffer allocation and capacity
- Called functions can transparently return larger values via temporary files
- Modern tmpfs is entirely memory backed
- Return values
- Functions that return scalar values can return the value directly
- Functions can use special case and return maximum positive or maximum negative or zero values to represent error or overflow conditions
- Functions can allow scalar values to wrap
- Functions should document their overflow / underflow behavior
- Functions that return scalar values can return the value directly
1.0.37
8 months ago
1.0.26
2 years ago
1.0.25
2 years ago
1.0.29
2 years ago
1.0.27
2 years ago
1.0.33
2 years ago
1.0.31
2 years ago
1.0.30
2 years ago
1.0.35
2 years ago
1.0.34
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.9
2 years ago
1.0.22
2 years ago
1.0.11
2 years ago
1.0.21
2 years ago
1.0.10
2 years ago
1.0.20
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago