News for hackers. Stuff that matters.
Re:What makes Nim practical? by towelguy on Friday January 23, 2015 @01:39PM (#8936443)
I wonder if it can generate bindings for Python like Vala does[0]? That would make it even more interesting for Python developers.

[0] https://github.com/antono/vala-object

Re:What makes Nim practical? by chrisheller on Friday January 23, 2015 @03:29PM (#8937073)
I haven't looked closely at the Vala stuff that you mentioned, but it is very straightforward to generate shared libraries in Nim with exported functions that you can access via ctypes. That's not quite the same as generating a python module that you can directly import, but it gets the job done.

You might also be interested in NimBorg, https://github.com/micklat/NimBorg , which supports embedding Python or Lua in a Nim program.