Check out nimterop which aims to do what you mention in #1. Nim certainly is very effective at binding to any shared or static library and nimterop makes it more seamless. As always there's a long way to perfection but it is already capable.
- Make Nim easier for the developer AMoura
- Re: Make Nim easier for the developer edu500ac
- Re: Make Nim easier for the developer shashlick
- Re: Make Nim easier for the developer edu500ac
- Re: Make Nim easier for the developer mratsim
- Re: Make Nim easier for the develope... mantielero
- Re: Make Nim easier for the deve... Stefan_Salewski
- Re: Make Nim easier for the ... andrewrk
- Re: Make Nim easier for the ... AMoura