karax VS Arraymancer

Compare karax vs Arraymancer and see what are their differences.

karax

Karax. Single page applications for Nim. (by pragmagic)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
karax Arraymancer
14 21
1,038 1,304
1.5% -
6.0 8.2
about 1 month ago 6 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.

karax

Posts with mentions or reviews of karax. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-10.
  • Karax – SPA in Nim
    1 project | news.ycombinator.com | 1 Sep 2023
  • Nitter (Twitter front end) is working again
    4 projects | news.ycombinator.com | 10 Jul 2023
    The frontend uses Karax, which is my favorite frontend/SPA library. It is an absolute joy to use, even if it's a bit rough around the edges.

    https://github.com/karaxnim/karax

  • I learned 7 programming languages so you don't have to
    8 projects | news.ycombinator.com | 12 Feb 2023
    I have used Nim for personal projects for 6 years now and it continues to surprise me on how well versed it is for many problem domains. I am fond of it's SPA framework, karax https://github.com/karaxnim/karax for which I wrote a translation utility https://github.com/nim-lang-cn/html2karax Latest Nimv2 release candidate has improved in the ergonomics and syntax that affect compilation to js, so I was able to cleanup my webapp's code to be less verbose. On GPU programming there has been a few projects that touch GPU programming, most notably https://github.com/treeform/shady
  • Web apps in pure Python.
    2 projects | /r/Python | 11 Dec 2022
    And it's present not only in Python but in other languages as well. Check for example https://github.com/karaxnim/karax - I don't know why people would want to hide all of their HTML in Python/whatever language. Then limit their ability to script and style it in one way or another.
  • A Cost Model for Nim
    11 projects | news.ycombinator.com | 11 Nov 2022
    > the real killer feature to me is the javascript target

    Agree, this is amazing because you can share code and data structures between front and backend (for example: https://github.com/karaxnim/karax).

    Also, it's really nice having high level stuff like metaprogramming and static typing spanning both targets. Things like reading a spec file and generating statically checked APIs for server/client is straightforward, which opens up a lot of possibilities.

  • Karax – Single page applications for Nim
    1 project | news.ycombinator.com | 23 Jun 2022
  • Will Zig interop with JavaScript/Web at all?
    3 projects | /r/Zig | 3 Jun 2022
    E.g. Nim focuses on enabling what it calls "single page web apps": https://github.com/karaxnim/karax.
  • Html2karax First Release
    1 project | news.ycombinator.com | 29 Jan 2022
    Karax [1] being Nim's SPA framework that also supports server side rendering.

    [1]: https://github.com/karaxnim/karax

  • Karax. Single page applications for Nim
    1 project | news.ycombinator.com | 23 Jan 2022
  • How to use JS to make a front end
    2 projects | /r/nim | 9 Jan 2022
    I recommend you to take a look at Karax. It's a front-end framework for Nim that can compile to regular JavaScript. If you want to know how to use it with a webserver, Joker is a good example. With the Joker config, all of the compiled .js files land in /public/views, where you can take a look at them. But keep in mind that the JS that Nim produces is often rather cumbersome and hundreds of lines long, even if it's just a simple program.

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 karax and Arraymancer you can also consider the following projects:

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

nimtorch - PyTorch - Python + Nim

jester - A sinatra-like web framework for 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).

happyx - Macro-oriented asynchronous web-framework written in Nim with ♥

nimble - Package manager for the Nim programming language.

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

cubiml-demo - A simple ML-like programming language with subtyping and full type inference.

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

vscode-nim

prologue - Powerful and flexible web framework written in Nim