pygments
primes-cpp
Our great sponsors
pygments | primes-cpp | |
---|---|---|
2 | 1 | |
1,702 | 0 | |
2.5% | - | |
9.4 | 10.0 | |
9 days ago | over 7 years ago | |
Python | C++ | |
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.
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
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
What are some alternatives?
protoactor-dotnet - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
lisp-in-life - A Lisp interpreter implemented in Conway's Game of Life
learnhaskell - Learn Haskell
scheme - An R7RS Scheme implemented in WebAssembly
.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.