Primes
Arraymancer
Our great sponsors
Primes | Arraymancer | |
---|---|---|
45 | 21 | |
2,352 | 1,298 | |
1.0% | - | |
7.0 | 8.2 | |
about 1 month ago | 4 days ago | |
C# | Nim | |
- | Apache License 2.0 |
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.
Primes
- Primes – A Software Drag Race
- Is this an efficient way to check if a number is prime number?
- I need some help on a project!!!
-
Has anyone solved the prime number problem on SPOJ yet using pure python?
Take a look at Dave Plummer’s Prime Sieve project.
- Top 5 Fastest Programming Languages: Rust, C++, Swift, Java, and 90 more compared!
-
Zig wins Dave Plummer's prime sieve benchmark ... but via a problematic metric
There's a dedicated and quite cool website where you can browse the benchmark results: https://github.com/PlummersSoftwareLLC/Primes
- Since when did Python haters spread out everywhere? Maybe DNF5 would be faster because of ditched it, maybe.
- creating a vec takes forever?
-
Python vs. Nodejs vs. Lua
Should look into Software Drag Racing https://github.com/PlummersSoftwareLLC/Primes
-
We wouldn’t even consider writing back-end code for a website CMS in anything other than C, and we certainly wouldn’t use any of the interpreted languages that have sprung up in the last couple of decades and positioned themselves as the de facto go-to standards for web development.
Compiler WTF??? Can't you just use xxd to turn a hexdump into a binary like a real programmer would do?!?
Arraymancer
-
Arraymancer – Deep Learning Nim Library
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
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"
-
D Programming Language
- 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?
-
How to write performant Nim?
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?
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
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
- The counter-intuitive rise of Python in scientific computing (2020)
-
Computer Programming with Nim
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?
primesieve - 🚀 Fast prime number generator
nimtorch - PyTorch - Python + Nim
Mudlet - ⚔️ A cross-platform, open source, and super fast MUD client with scripting in Lua
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).
RoaringBitmap - A better compressed bitset in Java: used by Apache Spark, Netflix Atlas, Apache Pinot, Tablesaw, and many others
nimble - Package manager for the Nim programming language.
PrimesResult - The results of the Dave Plummer's Primes Drag Race
awesome-tensor-compilers - A list of awesome compiler projects and papers for tensor computation and deep learning.
LMRTFY - Let Me Run That For You: A C++20 Thread Pool Library
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
application - Buckets Desktop Application