kostya/benchmarks
View on GitHub ↗ ★ 2,928 Makefile
Some benchmarks of different languages
74 mentions on Hacker News by 62 people: 7 stories, 67 comments · first 2014-11-25 · latest 2025-08-11
20082026
-
…https://github.com/Beariish/bolt/blob/main/examples/bf.bolt vs lua / luajit implementations from https://github.com/kostya/benchmarks Just checked with nbody: - still 10 times slower than luajit - 2 times slower than luajit -joff - but 20%…
comment by megapoliss · 2025-08-11 · in Show HN: Bolt – A super-fast, statically-typed scripting language written in C -
…Now interpreted Ruby seems as fast as CPython 3 or faster in synthetic benchmarks (for example, https://github.com/kostya/benchmarks/blob/7bf440499e2b1e81fb... ), though still behind the fastest mainstream interpreters like Lua's. Ruby is…
comment by networked · 2024-06-23 · in Ruby: A great language for shell scripts -
▲ 1
Kostya/benchmarks: Some benchmarks of different languagesstory by Lockal · 2024-06-07 · 0 comments
-
▲ 2
Some Benchmarks of Different Languagesstory by tosh · 2024-02-04 · 0 comments
-
What is faster? According to https://github.com/kostya/benchmarks#json nothing is.
comment by jzwinck · 2023-11-05 · in Building a high performance JSON parser -
…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…
comment by j_mo · 2023-01-04 · in Ruby 3.2.0 is from another dimension -
According to these benchmarks, pure Python is about 100 times slower than C and other fast languages: https://github.com/kostya/benchmarks
comment by xigoi · 2022-06-17 · in The computers are fast, but you don't know it -
…So take energy use benchmarks from things like this https://haslab.github.io/SAFER/scp21.pdf https://github.com/kostya/benchmarks and cross it with popularity? https://spectrum.ieee.org/top-programming-languages/
comment by derbOac · 2022-05-30 · in Programming in the Apocalypse -
…memory management might actually be worse than letting a compiler manage it in some cases. 1: https://github.com/kostya/benchmarks/tree/master/brainfuck
comment by elcritch · 2022-04-17 · in Zig self hosted compiler is now capable of building itself -
…Google, Apple and Mozilla work a lot on it. Here's a benchmark where JS is 50x faster than Python: https://github.com/kostya/benchmarks Note that PyPy does much better.
comment by pyentropy · 2021-10-07 · in Faster Python with Guido van Rossum -
…interested to see how Nim fares against some other programming languages, here are some benchmarks: https://github.com/kostya/benchmarks
comment by DeathArrow · 2021-09-25 · in Why I Use Nim instead of Python for Data Processing -
…a better match with what you expect to see — https://programming-language-benchmarks.vercel.app/ https://github.com/kostya/benchmarks
comment by igouy · 2021-08-26 · in Golang vs. C# (.NET 5.0) at Benchmarks Game -
The problem is a minor placement issue for the `@simd` macro: https://github.com/kostya/benchmarks/pull/317
comment by 3JPLW · 2021-03-25 · in Julia 1.6 Highlights -
…Julia loses almost consistently to Go, Crystal, Nim, Rust, Kotlin, Python (PyPy, Numpy): https://github.com/kostya/benchmarks Is this because of bad typing or they didn't use Julia properly in idiomatic manner?
comment by fermienrico · 2021-03-25 · in Julia 1.6 Highlights -
You can find some benchmarks here: https://github.com/kostya/benchmarks With the caveat of course being that benchmarks don't always reflect real world performance.
comment by Trasmatta · 2021-03-22 · in Crystal 1.0 – What to expect -
…In all seriousness, the results speak for themselves, when comparing to Ruby in terms of speed. https://github.com/kostya/benchmarks https://github.com/kostya/crystal-benchmarks-game https://github.com/the-benchmarker/web-frameworks
comment by yannoninator · 2021-02-11 · in Why Wasn't Ruby 3 Faster? -
https://github.com/kostya/benchmarks There are a few tests which have Julia and Nim implementations. It would be nice if the benchmarks game maintainer would include some more languages, like Nim, Crystal, and Zig. This doesn’t have Nim,…
comment by sk2020 · 2020-10-26 · in Julia: Dynamism and Performance Reconciled by Design (2018) -
…performance. These are only simple benchmarks, but do indicate a rough ballpark for TruffleRuby: https://github.com/kostya/benchmarks As I understand it, Crystal would be a good Ruby alternative if you want performance. This is of course a…
comment by arc776 · 2020-10-21 · in Attempts to make Python fast -
…a realistic measure of realworld implementation) until what must have been only the last few weeks: https://github.com/kostya/benchmarks#matmul At some point recently that D lang library snuck in the top spot.
comment by gavinray · 2020-06-22 · in Rust concurrency: the archetype of a message-passing bug -
…a wider variety of other languages and general benchmarks of data structures and algorithms: https://github.com/kostya/benchmarks
comment by rvz · 2020-06-05 · in Ruby vs. Crystal Performance -
GC doesn't matter here. Look at few other benchmarks: https://attractivechaos.github.io/plb/ https://github.com/kostya/benchmarks NoGC comparison http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/...
comment by arunc · 2020-05-05 · in Hunt: A high-level D Programming Language Web framework -
Seems there isn't any warmup accounted for: https://github.com/kostya/benchmarks/issues/246
comment by eregon · 2020-04-13 · in Optimizing Ruby lazy initialization in TruffleRuby with deoptimization -
…it out of the ocean in every benchmark if you're really talking about 'high performance'... [0] https://github.com/kostya/benchmarks
comment by rvz · 2020-04-11 · in Optimizing Ruby lazy initialization in TruffleRuby with deoptimization -
▲ 3
Kostya/benchmarks: Some benchmarks of different languagesstory by krapans · 2020-03-29 · 0 comments
-
If you are interested ins speed, here is a huge list of similar benchmarks: https://github.com/kostya/benchmarks
comment by treeform · 2019-12-26 · in Nim vs. Crystal -
Kinda biased benchmarks u just took best of crystal and worst of nim from this xd -> https://github.com/kostya/benchmarks
comment by komuher · 2019-12-26 · in Nim vs. Crystal -
…Its similar to Python in Syntax but runs at close to native speed. Nim has beautiful syntax. https://github.com/kostya/benchmarks https://nim-lang.org/
comment by acd · 2019-07-07 · in Ask HN: What is your favorite non-generic or semi-obscure programming language? -
…Kotlin code. Again, Java/Kotlin beat out even C++ when I tested them, and by quite a margin. [1] https://github.com/kostya/benchmarks
comment by apta · 2019-07-04 · in Justin.tv's Live Video Broadcasting Architecture (2010) -
According to the benchmarks at https://github.com/kostya/benchmarks , Crystal is about twice as fast as Go.
comment by bb1234 · 2019-06-25 · in D is being used for autonomous driving research – Audi and Mercedes -
Since you are asking about performance of some languages, you may find this helpful https://github.com/kostya/benchmarks
comment by bb1234 · 2019-06-25 · in D is being used for autonomous driving research – Audi and Mercedes -
* vs many languages: https://github.com/kostya/benchmarks * vs many languages: https://github.com/frol/completely-unscientific-benchmarks * vs Julia and Python: https://github.com/SimonDanisch/julia-challenge/issues/1 * web frameworks vs…
comment by narimiran · 2019-04-24 · in Nim – Natively compiled language with hot code-reloading at runtime [video] -
…https://github.com/drujensen/fib https://gist.github.com/sdwfrost/7c660322c6c33961297a826df4c... https://github.com/kostya/benchmarks My general sense is that Nim is most competitive as an alternative to Python and/or things like Julia, in…
comment by maow83jejj · 2019-04-24 · in Nim – Natively compiled language with hot code-reloading at runtime [video] -
Agree, I believe the benchmark shown Yaji and jq in this repo is useful for you https://github.com/kostya/benchmarks/blob/master/README.md
comment by proyb2 · 2018-12-06 · in Faster and simpler with the command line: deep-comparing JSON files with jq -
…for you and you can expand further with more tests. Although I got downvoted for sharing a link. https://github.com/kostya/benchmarks/blob/master/README.md
comment by proyb2 · 2018-12-06 · in Faster and simpler with the command line: deep-comparing JSON files with jq -
…that include D and don't appear to be struggling under any kind of massive burden. For example: https://github.com/kostya/benchmarks What are your actual reasons for not keeping D... "scala... and Clojure and ..."? The results in the…
comment by katastic · 2018-05-24 · in DigitalMars C/C++ Compiler -
Last fall I tried to figure out why Rust is slower than D in a base64 benchmark ( https://github.com/kostya/benchmarks ). It turned out that decoding in Rust is really fast but encoding is a bit slow. I looked at the assembly output of…
comment by pmarcelll · 2018-01-18 · in Fast base64 encoding and decoding -
…of benchmarks showing D as fast as (and sometimes beating) C/C++ _and_ having low memory usage. https://github.com/kostya/benchmarks Meanwhile, the benchmark is misleading. Because not only is generally as fast as C/C++, but it's way more…
comment by katastic · 2017-12-20 · in D’s Newfangled Name Mangling -
One is here https://github.com/kostya/benchmarks
comment by piyushpr134 · 2017-10-28 · in Crystal in Production: Diploid -
…of statically typed languages and speed comparable to java and scala(unscientific benchmark here https://github.com/kostya/benchmarks )
comment by piyushpr134 · 2017-10-28 · in Crystal in Production: Diploid -
…even low-level) language and it really shines. It's generally much faster than Go, for instance. 1. https://github.com/kostya/benchmarks
comment by _hyn3 · 2017-10-18 · in Why we switched from Python to Go -
…https://github.com/eishay/jvm-serializers/wiki https://github.com/fabienrenaud/java-json-benchmark https://github.com/kostya/benchmarks
comment by zapov · 2017-09-19 · in Mison: A Fast JSON Parser for Data Analytics [pdf] -
…on their way, though). I recommend someone thinking about Julia pay attention to these benchmarks: https://github.com/kostya/benchmarks Yes, Julia is really fast with some things, but for other things it's much slower, and those slow parts…
comment by wululiyu · 2017-08-24 · in Turing.jl: A Fresh Approach to Probabilistic Programming in Julia -
Here's a link to benchmarks of different languages including Elixir. https://github.com/kostya/benchmarks
comment by hack4supper · 2017-08-05 · in Porting 4.5K lines of C to Go -
…are a little misleading. These benchmarks give a little flavor of what I'm talking about: https://github.com/kostya/benchmarks If you look at them, you'll see that Julia is indeed crazy fast in some cases. But in other cases, the…
comment by uyhso8 · 2017-08-04 · in Ask HN: What tech that's right around the corner are you most excited about? -
…scattered benchmarks I could find online†, Crystal seems to be just as fast, if not a bit faster. † https://github.com/kostya/benchmarks , http://blog.seraum.com/crystal-lang-vs-nodejs-vs-golang-vs-j...
comment by faitswulff · 2017-06-20 · in Julia Computing Raises $4.6M in Seed Funding -
…topics going back years regarding D not being there. If you want a more impartial benchmark set: https://github.com/kostya/benchmarks And where is D on those tests ;)
comment by wulfklaue · 2017-06-04 · in Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust -
…can be twice or trippel as fast. Not saying that DMD is slow ( unless you consider Go/Swift slow). https://github.com/kostya/benchmarks With the 3 reference compilers: D DMD also written sometimes as simply D D LDC = LLVM backend D Gdc =…
comment by wulfklaue · 2017-05-22 · in 5 reasons the D programming language is a great choice for development -
https://github.com/kostya/benchmarks it looks more speedy than ruby, but also is eating a lot of memory, and for some benchmarks is not that fast :) Will be interesting with substrate vm if the results or memory are the same.
comment by claudiug · 2017-02-15 · in TruffleRuby on the Substrate VM