Hacker GitHub

← All repos

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

Mentions per year 74 mentions · busiest year 2015 (15)
20082026
  1. …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%…
  2. …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
  3. ▲ 1
    Kostya/benchmarks: Some benchmarks of different languages
    story by Lockal · 2024-06-07 · 0 comments
  4. ▲ 2
    Some Benchmarks of Different Languages
    story by tosh · 2024-02-04 · 0 comments
  5. 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
  6. …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
  7. According to these benchmarks, pure Python is about 100 times slower than C and other fast languages: https://github.com/kostya/benchmarks
  8. …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
  9. …memory management might actually be worse than letting a compiler manage it in some cases. 1: https://github.com/kostya/benchmarks/tree/master/brainfuck
  10. …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
  11. …interested to see how Nim fares against some other programming languages, here are some benchmarks: https://github.com/kostya/benchmarks
  12. …a better match with what you expect to see — https://programming-language-benchmarks.vercel.app/ https://github.com/kostya/benchmarks
  13. 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
  14. …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
  15. 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
  16. …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?
  17. 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,…
  18. …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
  19. Nim is on par with C in a lot of benchmarks, e.g. https://github.com/kostya/benchmarks . Go is the king of concurrency, so whatever you compare to it loses. That said, Nim has async/await for concurrency, and I find threads and threadpools…
    comment by otherme123 · 2020-10-16 · in Nim 1.4
  20. …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.
  21. …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
  22. 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/...
  23. Seems there isn't any warmup accounted for: https://github.com/kostya/benchmarks/issues/246
  24. …it out of the ocean in every benchmark if you're really talking about 'high performance'... [0] https://github.com/kostya/benchmarks
  25. ▲ 3
    Kostya/benchmarks: Some benchmarks of different languages
    story by krapans · 2020-03-29 · 0 comments
  26. 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
  27. 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
  28. …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/
  29. …Kotlin code. Again, Java/Kotlin beat out even C++ when I tested them, and by quite a margin. [1] https://github.com/kostya/benchmarks
  30. According to the benchmarks at https://github.com/kostya/benchmarks , Crystal is about twice as fast as Go.
  31. Since you are asking about performance of some languages, you may find this helpful https://github.com/kostya/benchmarks
  32. * 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…
  33. …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…
  34. 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
  35. …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
  36. …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
  37. 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
  38. …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
  39. One is here https://github.com/kostya/benchmarks
    comment by piyushpr134 · 2017-10-28 · in Crystal in Production: Diploid
  40. …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
  41. …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
  42. …https://github.com/eishay/jvm-serializers/wiki https://github.com/fabienrenaud/java-json-benchmark https://github.com/kostya/benchmarks
  43. …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…
  44. 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
  45. …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…
  46. …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
  47. …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 ;)
  48. …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 =…
  49. …Rust in participates, they are close or even faster at times, with close or better memory usage. https://github.com/kostya/benchmarks
    comment by wulfklaue · 2017-04-27 · in Rust 1.17
  50. 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