[nim-dev] Re: Compile dynlib from Nim

  • From: chrisheller <chris.heller@xxxxxxxxxxxxxx>
  • To: nim-dev@xxxxxxxxxxxxx
  • Date: Sun, 22 Nov 2015 09:47:37 +0000

It would be awesome to see Nim support with Salt (I'm totally hoping that's
what this is question is related to).

As far as plugins go, are you wanting to take Nim source and compile that
dynamically and then load the compiled code? Or are you wanting to accept
binary plugins, but ones that were written in Nim and have some Nim-based API
that they are written to?

Also, given your background, you may be interested in some of Nim/Python
integration that exists. **@jboy** has recently published nim-pymod,
https://github.com/jboy/nim-pymod , which allows generating a Python wrapper
module for a Nim module. Also there is NimBorg,
https://github.com/micklat/NimBorg, which allows loading Python code and
accessing it from Nim.


Other related posts: