c-examples
related_post_gen
c-examples | related_post_gen | |
---|---|---|
4 | 15 | |
4 | 279 | |
- | - | |
9.1 | 9.9 | |
23 days ago | about 2 months ago | |
C | C++ | |
GNU General Public License v3.0 or later | 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.
c-examples
-
Benchmarking 20 programming languages on N-queens and matrix multiplication
So I actually tested your code: https://gist.github.com/bjourne/c2d0db48b2e50aaadf884e4450c6...
On my machine single-threaded OpenBLAS multiplies two single precision 4096x4096 matrices in 0.95 seconds. Your code takes over 30 seconds. For comparison, my own matrix multiplication code (https://github.com/bjourne/c-examples/blob/master/libraries/...) run in single-threaded mode takes 0.89 seconds. Which actually beats OpenBLAS, but OpenBLAS retakes the lead for larger arrays when multi-threading is added.
- Julia and Mojo (Modular) Mandelbrot Benchmark
- Reference Count, Don't Garbage Collect
related_post_gen
-
Speed up your code: don't pass structs bigger than 16 bytes on AMD64
Looks like the HO means hand optimized, with special datastructures for this benchmark.
see: https://github.com/jinyus/related_post_gen/#user-content-fn-...
-
Benchmarking 20 programming languages on N-queens and matrix multiplication
There is one for data processing here: https://github.com/jinyus/related_post_gen
-
The Neat Programming Language
Is it ready for benchmarking? D currently sits at the top of https://github.com/jinyus/related_post_gen and it would be interesting to see how neat stacks up.
-
Murder is a pixel art ECS game engine in C#
[2] https://github.com/jinyus/related_post_gen#multicore-results
-
Jaq – A jq clone focused on correctness, speed, and simplicity
I think my benchmark[1] would be a great test for this. The jq[2] version takes 50s on my machine.
[1] : https://github.com/jinyus/related_post_gen
[2]: https://github.com/jinyus/related_post_gen/blob/main/jq/rela...
-
Gleam vs Erlang vs Go vs Zig vs Rust for data processing
I added gleam to my data processing benchmark and the performance is less than stellar...so I hope someone here can make suggestions to improve it.
- jinyus/related_post_gen: Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
-
Ask HN: What's the big deal with Go (Golang)?
Easy concurrency.
ps: I wrote a data processing benchmark[1] and go is currently leading the charts. I ported it to c++ but it's not performing as expected. Take a look if you have the time.
[1]: https://github.com/jinyus/related_post_gen
- Julia leads Rust,Zig,Go and Java in data processing benchmark
- Julia Ranks First in Data Processing Microbenchmark
What are some alternatives?
ixy-languages - A high-speed network driver written in C, Rust, C++, Go, C#, Java, OCaml, Haskell, Swift, Javascript, and Python
uiua - A stack-based array programming language
mark-sweep - A simple mark-sweep garbage collector in C
pspy - Monitor linux processes without root permissions
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
ivy - ivy, an APL-like calculator
racket - The Racket repository
BQN - An APL-like programming language. Self-hosted!
Mesh - A memory allocator that automatically reduces the memory footprint of C/C++ applications.
cognate - A human readable quasi-concatenative programming language
plb2 - A programming language benchmark
Saxon-HE - Saxon-HE open source repository