lai icon indicating copy to clipboard operation
lai copied to clipboard

Feature request: Rust bindings

Open rdrpenguin04 opened this issue 3 years ago • 3 comments

Hello! I'm working on a hobby OS, and I'm about at the point where this would be awesome for my project. Unfortunately, my OS is written in Rust.

I'd be willing to attempt to make bindings for this, but this could be a nice place for tracking that progress. I'm looking forward to trying this out!

rdrpenguin04 avatar Mar 25 '22 22:03 rdrpenguin04

It would indeed be nice to have some Rust bindings. Most of our data types either have unique or shared ownership (with appropriate finalization functions that decrement the refcount) already, so wrapping these types into Rust should be relatively straightforward. If you encounter any issues or corner cases, please let us know and we can maybe think of a workaround etc.

avdgrinten avatar Mar 26 '22 12:03 avdgrinten

I did create one rust bindings (unsafe ones IIRC), let me go on a search on my hard drive, find it and push it to GitHub if you need those :^)

Andy-Python-Programmer avatar Mar 27 '22 08:03 Andy-Python-Programmer

@rdrpenguin04 https://github.com/aero-os/lai-rs

Andy-Python-Programmer avatar May 07 '22 02:05 Andy-Python-Programmer