Alignment
benchmarks
Alignment | benchmarks | |
---|---|---|
1 | 40 | |
5 | 2,743 | |
- | - | |
10.0 | 7.2 | |
over 5 years ago | 3 months ago | |
C++ | Makefile | |
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.
Alignment
-
Zig self hosted compiler is now capable of building itself
To clarify I meant as int8/int16's are packed in structs to compare to struct bitfields. Can't recall about the stack rules. Here's more discussion:
http://www.catb.org/esr/structure-packing/
https://github.com/Twon/Alignment/blob/master/docs/alignment...
Also ARM for example doesn't have 8/16 bit registers so int8 or int16 will use a 32bit register:
https://stackoverflow.com/a/23716920
Curiosity got to me, perhaps Zig had improved significantly. So I compared the first benchmark I found (kostya/benchmarks/bf) with Zig with Nim. For the smaller input (bench.b) Zig did run with ~22% less RAM (about 20kB less).
However, for the larger input (mandel.b) Nim+ARC used ~33% less RAM in safe mode: Nim 2.163mb -d:release; Zig 2.884mb -O ReleaseSafe; Zig 2.687mb -O ReleaseFast. The Nim requires 0.5mb less ram and the code is ~40% shorter. I don't have time to try out the Rust or Go versions though.
benchmarks
- Some Benchmarks of Different Languages
- Building a high performance JSON parser
- Top 5 Fastest Programming Languages
- Twitter (re)Releases Recommendation Algorithm on GitHub
-
How green or energy efficient is the Go programming language?
GitHub - kostya/benchmarks: Some benchmarks of different languages
- how to benchmark a programming language
-
Ruby 3.2.0 Is from Another Dimension
In all the language comparisons I've found over the years, Python consistently comes out slightly slower, for example:
https://github.com/kostya/benchmarks
Bearing in mind these are probably not even using YJIT, which makes Ruby considerably faster in some scenarios.
- I made a 88x88 version of the big display image command generator in Python! (will share github link if admins allow it)
-
The original computer languages benchmark is back
Also, here is another benchmark: https://github.com/kostya/benchmarks
- Why does Scala seem to be slow at benchmark results?
What are some alternatives?
wabt - The WebAssembly Binary Toolkit
libuv - Cross-platform asynchronous I/O
septum - Context-based code search tool
lua-languages - Languages that compile to Lua
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
julia - The Julia Programming Language
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
beartype - Unbearably fast near-real-time hybrid runtime-static type-checking in pure Python.
v-mode - 🌻 An Emacs major mode for the V programming language.
mypyc - Compile type annotated Python to fast C extensions
ixy-languages - A high-speed network driver written in C, Rust, C++, Go, C#, Java, OCaml, Haskell, Swift, Javascript, and Python
Cython - The most widely used Python to C compiler