genny VS nimpy

Compare genny vs nimpy and see what are their differences.

genny

Generate a shared library and bindings for many languages. (by treeform)

nimpy

Nim - Python bridge (by yglukhov)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
genny nimpy
5 23
143 1,037
- -
7.8 6.2
2 months ago 2 months ago
Nim Nim
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

genny

Posts with mentions or reviews of genny. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-15.

nimpy

Posts with mentions or reviews of nimpy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-27.
  • Tutorial Series to learn Common Lisp quickly
    17 projects | news.ycombinator.com | 27 Apr 2022
    Maybe things have changed over the years. I've played around with Hy in 2017 and in the end felt like it combines the bad parts of Python with the bad parts of a Lisp.

    If you're forced to use Python it's usually because of one of 2 reasons: Either you need to work with colleagues on something (in which case almost certainly they wouldn't accept a lispified version of it) or because you need some of the libraries that are already implemented.

    In the latter case, you might say Hy is a good option. But why bind yourself to the slowness of Python when you could just as well use some fast Lisp (e.g. Common Lisp) that interacts with a Python interpreter similar to nimpy [0] from Nim? Not sure if such a thing already exists for CL, but it should be quite feasible to write and then you get access to all your Python library needs while actually using a better language for the rest of your code.

    But I'm all ears on the real advantages Hy provides aside from being neat.

    [0]: https://github.com/yglukhov/nimpy

  • Nim Use Cases
    1 project | reddit.com/r/nim | 20 Apr 2022
    Sidenote: if you're happy with Python but want a bit more speed for performance-critical stuff, you can use nimpy (not to be confused with numpy) to call Nim code via Python.
  • Is Nim right for me?
    6 projects | reddit.com/r/nim | 7 Mar 2022
    Check out Datamancer for your Pandas equivalent. If I recall correctly it does have the ability to read/write csv. If that doesn't suite you, there is a Python/Nim bridge called Nimpy. I do a lot of machine learning projects and have to use OpenCV and some other things from python because it doesn't exist yet. It's a pretty damn cool library.
  • Faster Python Code - Some Advice
    2 projects | reddit.com/r/Python | 1 Mar 2022
    Use command: python -m cProfile myscript.py Learn where the bottlenecks are. Rewrite bottlenecks in nim-lang extended with nimpy.
  • Computer Programming with Nim
    13 projects | news.ycombinator.com | 27 Feb 2022
    https://github.com/yglukhov/nimpy gives very, very solid access to the Python ecosystem from Nim - I've copied code from Python docs and have had it work with hardly any changes. Hopefully that's a good enough excuse to try Nim out for a personal project!
    13 projects | news.ycombinator.com | 27 Feb 2022
  • NIM Ideas in automation
    1 project | reddit.com/r/nim | 26 Feb 2022
    Looking at your content, your best bet might be nimpy* which allows calling Nim code from Python, so you could use Nim to speed up existing stuff (especially loops). This seems like a very organic way to introduce it.
  • Why such huge difference in runtime and memory between python3 and golang?
    2 projects | reddit.com/r/Python | 20 Feb 2022
    To combine Python and some compiled code to speed up heavy calculations in the Python code, I reccomend Nim. You can use the third-party module nimpy to extend Nim and make functions that boosts the performance to C like levels. The syntax of Nim is really like Python with type-hints.
  • Nim has made me passionate about programming again.
    2 projects | reddit.com/r/nim | 7 Feb 2022
    I write code mostly in Python, but the swich to Nim is almost non-existent. Writing computing functions in Nim using Nimpy to extend the Python code, it's just sweet.
  • Please, stop pushing for static typing in Python
    3 projects | news.ycombinator.com | 1 Feb 2022
    I love Trio, much better than the standard asyncio.

    > It's not needed, yes, but neither is Python itself. You could just write C.

    I'm currently learning C, so I can use Python as a front-end for C, giving users a nice interface while using C to handle the hard work, which is what lots of Python libraries do under the hood.

    If C is not your thing, there are some interesting projects to use other languages with Python [https://github.com/PyO3/PyO3] | [https://github.com/yglukhov/nimpy]

What are some alternatives?

When comparing genny and nimpy you can also consider the following projects:

Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

nimpylib - Some python standard library functions ported to Nim

scinim - The core types and functions of the SciNim ecosystem

ClangSharp - Clang bindings for .NET written in C#

Arraymancer - A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends

nimLUA - glue code generator to bind Nim and Lua together using Nim's powerful macro

tqdm - A Fast, Extensible Progress Bar for Python and CLI

more-itertools - More routines for operating on iterables, beyond itertools

black - The uncompromising Python code formatter

c2nim - c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.

algorithms - Minimal examples of data structures and algorithms in Python

nimporter - Compile Nim Extensions for Python On Import!