by treeform · 3y ago · 0 comments
That said Nim does have the nimpy library that allows for pretty seamless interop with python. Which means you can just import PyTorch, or scipy, or opencv and use them in Nim.
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.
https://dev.to/dumblepytech1/the-way-integrate-rust-into-nim...
Haven't read it yet but it looks promising.