Primes
PrimesResult
Our great sponsors
Primes | PrimesResult | |
---|---|---|
45 | 6 | |
2,357 | 28 | |
1.2% | - | |
7.0 | 0.0 | |
about 1 month ago | almost 2 years ago | |
C# | ||
- | - |
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?!?
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?
primesieve - 🚀 Fast prime number generator
sb-simd - A convenient SIMD interface for SBCL.
RoaringBitmap - A better compressed bitset in Java: used by Apache Spark, Netflix Atlas, Apache Pinot, Tablesaw, and many others
scikit-bio - scikit-bio: a community-driven Python library for bioinformatics, providing versatile data structures, algorithms and educational resources.
Mudlet - ⚔️ A cross-platform, open source, and super fast MUD client with scripting in Lua
RecursiveFactorization.jl
LMRTFY - Let Me Run That For You: A C++20 Thread Pool Library
nimtorch - PyTorch - Python + Nim
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
libpython-clj - Python bindings for Clojure
nimpylib - Some python standard library functions ported to Nim
sb-simd - A convenient SIMD interface for SBCL.