viroiddb
nimtorch
viroiddb | nimtorch | |
---|---|---|
2 | 3 | |
5 | 452 | |
- | - | |
0.0 | 10.0 | |
about 1 year ago | almost 5 years ago | |
Vue | Nim | |
MIT License | 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.
viroiddb
-
Why I Use Nim instead of Python for Data Processing
That's great. However the method that you use to find the canonical representative [1] is quadratic (when the string has length N, there are N rotations and for each rotation you need to check N characters to determine whether this is earlier than the best on that you have found so far). For large strings you would probably want to switch to one of the linear minimal string rotation algorithms [2].
[1] https://github.com/Benjamin-Lee/viroiddb/blob/main/scripts/c...
[2] https://en.wikipedia.org/wiki/Lexicographically_minimal_stri...
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
What are some alternatives?
benchmarks - Some benchmarks of different languages
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
nimpy - Nim - Python bridge
PrimesResult - The results of the Dave Plummer's Primes Drag Race
scikit-bio - scikit-bio: a community-driven Python library for bioinformatics, providing versatile data structures, algorithms and educational resources.
biofast - Benchmarking programming languages/implementations for common tasks in Bioinformatics
nimpylib - Some python standard library functions ported to Nim