You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am eventually going to write a new backend for the GRIN whole program compiler, since i am dissatisfied with llvm. If i target cranelift i was thinking of just creating an ADT for the IR in haskell or idris2 ( another language GRIN will be written on ) and pretty print my program representation to feed into cranelift. Such use cases dont even need bindings
Feature
Language bindings to the Cranelift library that allow the library to be used outside Rust.
Benefit
Developers of languages other than Rust could make use of the library, increasing adoption of the project.
Implementation
One could use the UniFFI library, which is what matrix-rust-sdk uses.
Alternatively, one could manually write bindings for every target language using its native FFI capabilities.
The text was updated successfully, but these errors were encountered: