primes-cpp
pygments
primes-cpp | pygments | |
---|---|---|
1 | 2 | |
0 | 1,716 | |
- | 1.7% | |
10.0 | 9.4 | |
over 7 years ago | 2 days ago | |
C++ | Python | |
- | BSD 2-clause "Simplified" 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.
primes-cpp
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
Everybody mentions this, and what's great is that it is a pretty natural solution to a lot of problems. I remember coming up with a version of it while writing an optimized prime-sieve[1], and was surprised when I later learned that it was some named technique.
In addition to just the basic loop-unrolling (which I'm pretty sure you usually don't need to do by hand with modern compilers), it works really well when you need to jump into the middle of a pattern. Like if you're sieving primes in a wheel-factorized array.
[1] https://github.com/patricksjackson/primes-cpp/blob/master/pr...
// Here we're only checking possible primes after wheel-factorization
pygments
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
Its been a while since I worked with this lib but I always thought Pygments was pretty.
https://github.com/pygments/pygments
-
Neovim plugin for LilyPond code in LaTex
Updated syntax file using the last Pygments syntax highlighter for LilyPond
What are some alternatives?
lisp-in-life - A Lisp interpreter implemented in Conway's Game of Life
protoactor-dotnet - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
scheme - An R7RS Scheme implemented in WebAssembly
learnhaskell - Learn Haskell
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.