Show HN: Hsrs – Type-Safe Haskell Bindings Generator for Rust
Category: library
Tags: ffi, bindings-generator, rust-haskell-interop
Score: 6.0/10 (Innovation: 6, Technical: 6, Documentation: 7, Utility: 5)
Hsrs generates type-safe Haskell FFI bindings from annotated Rust code, handling memory management and serialization automatically via Borsh. It bridges two strongly-typed ecosystems with a clean, declarative approach that reduces boilerplate significantly. Interesting for Haskell-Rust interop but niche in audience.
Target audience: backend devs
Repository: https://github.com/harmont-dev/hsrs · Rust · MIT · 3 stars
View on Hacker News