Decision Workspace
gnucobol-rs-link vs gnucobol-rs-ffi vs gnucobol-rs
Side-by-side comparison of Rust crates
gnucobol-rs inter-program linkage: BY REFERENCE / BY CONTENT / BY VALUE parameter-passing byte semantics over the oracle-proven gnucobol-rs core (the CALL.LAYOUT court). Dynamic dlopen loading is a deferred, separately-gated feature.
C-ABI shim for gnucobol-rs: exposes the native-Rust libcob algorithms (cob_move, accessors, ...) with `extern "C"` linkage so a C program can link gnucobol-rs as a drop-in libcob replacement. The ONLY crate that uses unsafe (the C boundary); the gnucobol-rs core stays forbid(unsafe_code).
Faithful Rust port of GnuCOBOL packed-decimal (COMP-3), zoned, and display numeric byte semantics and the MOVE conversions between them, proven byte-identical against the GnuCOBOL 3.2 libcob oracle. Plus a PIC->field-model parser , DATA DIVISION record-layout engine, , COPY+REPLACING copybook expander, pure-Rust decimal arithmetic, VALUE initial-record images, PIC P-scaling, OCCURS DEPENDING ON physical-max layout, LEVEL-88 condition-name predicates, and SET-TO-TRUE byte construction. Not a compiler; not arithmetic.
Core Metrics
| gnucobol-rs-link | gnucobol-rs-ffi | gnucobol-rs | |
|---|---|---|---|
| Health Score | 41 | 44 | 58 |
| Total Downloads | 16 | 17 | 1.9K |
| 30d Downloads | 0 | 0 | 189 |
| Dependents | 0 | 0 | 23 |
| Releases | 1 | 1 | 112 |
| Last Updated | 32d ago | 25d ago | 20d ago |
| Age | 1m | 25d | 1m |
Health Breakdown
Technical Details
| gnucobol-rs-link | gnucobol-rs-ffi | gnucobol-rs | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.8.50 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | LGPL-3.0-or-later | LGPL-3.0-or-later | LGPL-3.0-or-later |
| Dependencies | 1 | 1 | 1 |
| Crate Size | 17KB | 6KB | 930KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.74 | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gnucobol-rs leads with a health score of 58/100, but none of the options score above 80.