scheme
primes-cpp
scheme | primes-cpp | |
---|---|---|
5 | 1 | |
165 | 0 | |
- | - | |
1.5 | 10.0 | |
about 1 year ago | over 7 years ago | |
WebAssembly | C++ | |
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.
scheme
-
Implementing Cosine in C from Scratch
I went through the same exercise implementing trig functions for scheme in webassembly...
It was a rabbit hole for sure
https://github.com/PollRobots/scheme/blob/main/scheme.wasm/s...
- Ask HN: What piece of code/codebase blew your mind when you saw it?
- PollRobots/scheme: An R7RS Scheme implemented in WebAssembly
-
I've been working on an r7rs scheme implemented in WebAssembly
The repo is at https://github.com/pollrobots/scheme
- Show HN: A an R7RS Scheme Implementation in WebAssembly
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?
pygments - Pygments is a generic syntax highlighter written in Python
lisp-in-life - A Lisp interpreter implemented in Conway's Game of Life
AvxMath
Quake-2 - Quake 2 GPL Source Release
LIPS - Scheme based powerful lisp interpreter in JavaScript
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
mal - mal - Make a Lisp
Idris2 - A purely functional programming language with first class types
sectorc - A C Compiler that fits in the 512 byte boot sector of an x86 machine
astexplorer - A web tool to explore the ASTs generated by various parsers.
sse_mathfun - an extended version of Julien Pommier's sse_mathfun