News for hackers. Stuff that matters.
Re:Nim v2.0 Released by ElegantBeef on Tuesday August 01, 2023 @02:38PM (#36960408)
For Rust at least one can use https://github.com/arnetheduck/nbindgen
Re:Nim v2.0 Released by pzo on Tuesday August 01, 2023 @02:45PM (#36960522)
that looks interesting, thanks! Did you try it if it delivers on promises? There was not any new commit since 2020 so not sure if the project is stale by now.
Re:Nim v2.0 Released by ElegantBeef on Tuesday August 01, 2023 @03:02PM (#36960861)
I do not use Rust, so sadly I have not.
Re:Nim v2.0 Released by cb321 on Tuesday August 01, 2023 @05:33PM (#36963352)
As a 2-step approach, you could also probably use https://github.com/mozilla/cbindgen and then Nim's native C FFI.
Re:Nim v2.0 Released by snthpy on Wednesday August 02, 2023 @03:49AM (#36968160)
That looks interesting. Unfortunately it looks like it hasn't been updated in a while? Is that because it's complete or a lack of interest?

For example, the approach mentioned at the bottom of the README of integrating via nlvm (https://github.com/arnetheduck/nlvm) sounded great but appears to be unpursued.