6 ms·
Really cool project. Any plans to port the API to other languages? My use case for something like this is to represent types that are used on either side of FFI
by sushisource 9mo ago
Really cool project. Any plans to port the API to other languages? My use case for something like this is to represent types that are used on either side of FFI (Rust <--> Some other language). Pairing this with a code generator for the shared types would be great. That's something flatbuffers/capnproto do well that isn't just pure speed.
- eliasdejong 9mo agoYes, language ports are being worked on :) You will be able to access the same data in different languages using APIs specific to your language. Right now someone has already made a (private) Go port. And Rust is also in the works.
- flakiness 9mo ago> And Rust is also in the works. About to troll you on this point. I'm glad I wasn't too hasty. Looking forward to trying it out once it's there!
- simonw 9mo agoI vibe-coded a prototype Python library just to see how it could work - left you an issue comment about that here: https://github.com/fastserial/lite3/issues/6#issuecomment-3677332392 https://github.com/fastserial/lite3/issues/6#issuecomment-36... - code is at https://github.com/simonw/lite3/tree/conformance-suite/lite3-python https://github.com/simonw/lite3/tree/conformance-suite/lite3... (Update: I used the same process to add a JavaScript library as well: https://github.com/simonw/lite3/tree/conformance-suite/lite3-javascript https://github.com/simonw/lite3/tree/conformance-suite/lite3...)