INim VS Arraymancer

Compare INim vs Arraymancer and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
INim Arraymancer
4 21
625 1,304
0.2% -
2.8 8.2
7 months ago 4 days ago
Nim Nim
MIT License Apache License 2.0
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.

INim

Posts with mentions or reviews of INim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • Nim
    5 projects | news.ycombinator.com | 6 Dec 2023
    - `nim secret`[0]: code is interpreted with Nim's vm, it is limited to compile-time (e.g. no C/C++).

    - `nlvm r`[1]: nlvm backend supports JIT compilation and repl-like interface was added in latest release.

    - `inim`[2]: supports all nim code, but it's not really a true repl. It adds code to a file and recompiles it (you can see the source file with `ctrl+x`). I'd recommend to use it with clang compiler, because it's a bit faster than gcc in my experience. It's the best option right now. And I use it almost daily.

    First two options have rudimentary input system. But you can get command history and left-right navigation by wrapping them with rlwrap (should be preinstalled on most *nixes): `rlwrap nim secret`, `rlwrap nlvm r`.

    There are plans to support incremental compilation for the next Nim release (it is currently broken). That would improve inim and other repls experience significantly.

    [0]: https://nim-lang.org/docs/manual.html#restrictions-on-compil...

    [1]: https://forum.nim-lang.org/t/10697

    [2]: https://github.com/inim-repl/INim

  • Could Nim be a complete replacement for Python?
    3 projects | /r/nim | 2 Jan 2023
  • Writing a presentation to introduce rustlang to my dev team, and I've got to the "downsides" part.
    1 project | /r/rustjerk | 26 Jan 2022
    Go must be terrible to google too! Nim's easy to google though, it's how I got to rust really. I'm actually the maintainer of inim, the nim repl: https://github.com/inim-repl/INim
  • Nim Version 1.6 Released
    37 projects | news.ycombinator.com | 19 Oct 2021

Arraymancer

Posts with mentions or reviews of Arraymancer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-28.
  • Arraymancer – Deep Learning Nim Library
    6 projects | news.ycombinator.com | 28 Mar 2024
    It is a small DSL written using macros at https://github.com/mratsim/Arraymancer/blob/master/src/array....

    Nim has pretty great meta-programming capabilities and arraymancer employs some cool features like emitting cuda-kernels on the fly using standard templates depending on backend !

  • Go, Python, Rust, and production AI applications
    4 projects | news.ycombinator.com | 12 Mar 2024
    Nim has also a powerful deep learning library called Arraymancer. It's selling point is that you don't have to rewrite your code from research to production. It's used in various machine learning projects, but one recent one that caught my eye was https://github.com/amkrajewski/nimCSO "Composition Space Optimization"

    https://github.com/mratsim/Arraymancer

  • D Programming Language
    13 projects | news.ycombinator.com | 3 Dec 2023
    - https://github.com/mratsim/Arraymancer/blob/master/src/array...

    It's worth noting that nim async/await transformation is fully implemented as a library in macros.

  • Prospects of utilising Nim in scientific computation?
    3 projects | /r/nim | 3 Jun 2023
  • How to write performant Nim?
    1 project | /r/nim | 7 Nov 2022
    https://github.com/mratsim/Arraymancer 11. « Premature optimisation is the root of all evil », Donald Knuth, The art of computer Programming It would be quite useful that someone writes one with examples for all these recommendations and more ...
  • Deeplearning in Nim?
    6 projects | /r/nim | 4 Jul 2022
    In particular for deep learning as bobsyourunkl already mentioned there is arraymancer on the one hand and also flambeau on the other. The latter is a Nim wrapper around libtorch (i.e. the PyTorch C++ backend). It is missing things (to be wrapped by adding a few lines) and has some rough edges, but if one needs to get stuff done, it's possible.
  • Mastering Nim – now available on Amazon
    9 projects | news.ycombinator.com | 29 Jun 2022
    how are u compiling (optimization, custom compilation flags etc.?) In my case https://github.com/mratsim/Arraymancer big project compile under your 4.2s so or you have like 10k+ lines of codes with macros or you just pass some debug flags to compiler :D
  • Nim Version 1.6.6 Released
    9 projects | news.ycombinator.com | 5 May 2022
  • The counter-intuitive rise of Python in scientific computing (2020)
    9 projects | news.ycombinator.com | 26 Mar 2022
  • Computer Programming with Nim
    13 projects | news.ycombinator.com | 27 Feb 2022
    We have both raw wrappers for BLAS:

    https://github.com/andreaferretti/nimblas

    as well as LAPACK:

    https://github.com/andreaferretti/nimlapack

    For an example, consider calling the least squares routine `dgelsd` in arraymancer:

    https://github.com/mratsim/Arraymancer/blob/master/src/array...

    wrapped up in a nicer user facing API.

    Feel free to hop onto matrix, if you have more questions!

What are some alternatives?

When comparing INim and Arraymancer you can also consider the following projects:

nlvm - LLVM-based compiler for the Nim language

nimtorch - PyTorch - Python + Nim

vscode-nim

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).

nim-chronos - Chronos - An efficient library for asynchronous programming

nimble - Package manager for the Nim programming language.

packages - List of packages for Nimble

awesome-tensor-compilers - A list of awesome compiler projects and papers for tensor computation and deep learning.

norm - A Nim ORM for SQLite and Postgres

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

nimview - A Nim/Webview based helper to create Desktop/Server applications with Nim/C/C++ and HTML/CSS

prologue - Powerful and flexible web framework written in Nim