nimtorch
PrimesResult
Our great sponsors
nimtorch | PrimesResult | |
---|---|---|
3 | 6 | |
452 | 28 | |
- | - | |
10.0 | 0.0 | |
almost 5 years ago | almost 2 years ago | |
Nim | ||
MIT License | - |
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.
nimtorch
- NimTorch: PyTorch front end by generating C++ native ATen code
- Nim Front End for Pytirch
-
Why I Use Nim instead of Python for Data Processing
There’s been a tremendous amount of work optimizing blas _and_ ensuring it’s numerically stable. Julia made a good choice to use blas first. Though it’s good to see new native implementations.
For Nim, there’s also NimTorch which is interesting in that it builds on Nim’s C++ target to generate native PyTorch code. Even Python is technically a second class citizen for the C++ code. Most ML libraries are C++ all the way down.
https://github.com/sinkingsugar/nimtorch
PrimesResult
-
The Sad True
https://github.com/luizsol/PrimesResult People give golang crap for being slower than C. Python is 8.6% of the speed of golang.
-
.NET vs Go vs Node
Possible place to start: https://github.com/luizsol/PrimesResult
-
Best Lisp dialect?
The Performance of CL is much better than Scheme. One example is here https://github.com/luizsol/PrimesResult. Lisp is 11, Chez scheme implementation is 40
-
Why I Use Nim instead of Python for Data Processing
The thing with Python is it's usually pretty easy to optimise quite impressively.
E.g. random example:
Sprinkle some cdef's in your python and suddenly you're faster than c++
https://github.com/luizsol/PrimesResult
https://github.com/PlummersSoftwareLLC/Primes/blob/drag-race...
-
Common Lisp still beats Java, Rust, Julia, Dart in 2021 on benchmarks based on phone number encoding from the famous paper "Lisp as an alternative to Java" from 21 years ago
Sure, but never discount compile time code that can work wonders for your performance (which Rust doesn't really fully have) - https://github.com/luizsol/PrimesResult. Zig is so high up in the results precisely (I'd wager) because of compile time semantics.
- The results of the Dave Plummer's Programming Languages Drag Race.
What are some alternatives?
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
sb-simd - A convenient SIMD interface for SBCL.
scikit-bio - scikit-bio: a community-driven Python library for bioinformatics, providing versatile data structures, algorithms and educational resources.
viroiddb - A curated database of all available viroid-like RNA sequences
Primes - Prime Number Projects in C#/C++/Python
biofast - Benchmarking programming languages/implementations for common tasks in Bioinformatics
RecursiveFactorization.jl
nimpy - Nim - Python bridge
libpython-clj - Python bindings for Clojure
nimpylib - Some python standard library functions ported to Nim
sb-simd - A convenient SIMD interface for SBCL.