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. …fast: benchmarks usually somewhere between C++ and Java, orders of magnitude better than Ruby. https://github.com/kostya/benchmarks/blob/master/README.md
    comment by Doctor_Fegg · 2016-12-19 · in The Crystal Programming Language
  2. …performant, somewhere between C and Rust. I am still wondering why so few people use it. Benchmark: https://github.com/kostya/benchmarks Nim vs Rust: http://arthurtw.github.io/2015/01/12/quick-comparison-nim-vs... Performance discussion:…
    comment by progman · 2016-08-04 · in Crystal: Fast as C, Slick as Ruby
  3. There's some benches between various languages, including Crystal as well, for those interested https://github.com/kostya/benchmarks EDIT: There's also this: https://github.com/nsf/pnoise
    comment by Svenskunganka · 2016-08-04 · in Crystal: Fast as C, Slick as Ruby
  4. ▲ 2
    Benchmarks of different languages
    story by turrini · 2016-07-12 · 1 comment
  5. …the validation level to maximum if you really > cared or call one of the validation functions. https://github.com/kostya/benchmarks/pull/46#issuecomment-14...
  6. …In fact, the core libraries (phobos) are being actively rewritten to remove GC altogether. [1]: https://github.com/kostya/benchmarks#json
  7. ▲ 3
    Programming Language Performance Comparisons
    story by eorge_g · 2016-04-26 · 0 comments
  8. ▲ 3
    Performance benchmarks of older vs. newer (Nim, Crystal, Felix etc.) languages
    story by blacksqr · 2016-03-17 · 0 comments
  9. ▲ 1
    Some benchmarks of different languages
    story by stesch · 2015-11-21 · 0 comments
  10. Thanks! I need to get back into writing on it. I just pushed up a rust pull parser version here: https://github.com/kostya/benchmarks/pull/54 . Is that what you were thinking of?
  11. …as equivalent to RapidJSON on my Mac, but for some reason Kostya couldn't replicate it: O https://github.com/kostya/benchmarks/pull/44 I'm guessing gcc just has some optimizations llvm doesn't. Rust does have some experimental SIMD, but…
  12. …code [1] (very readable) is reading an array of structs containing x,y,z from 'coordinates'. [1] https://github.com/kostya/benchmarks/blob/master/json/test_f... I haven't read the code but the algorithm would look at this roughly like: See…
  13. …by then fastest JSON parser, RapidJSON. The result can be seen in the benchmark results right now: https://github.com/kostya/benchmarks#json fast: 0.34s, 226.7Mb (GDC) RapidJSON: 0.79s, 687.1Mb (GCC)"
  14. On another note, I see Scala is doing really poorly in the JSON benchmark test: https://github.com/kostya/benchmarks#json
  15. Here's the "how so fast" explanation: https://github.com/kostya/benchmarks/pull/46#issuecomment-14...
  16. https://github.com/kostya/benchmarks#json
  17. https://github.com/kostya/benchmarks#json https://github.com/mleise/fast
  18. …by an interpreter written in nim. Can post the link once I get off the phone. EDIT: Here it is https://github.com/kostya/benchmarks/blob/master/README.md#b... Something I find interesting is that it has had fibres and coroutines long…
    comment by srean · 2015-08-14 · in Evil ML: ML to C++ template language
  19. All the languages couldn't fit in the talk, but the full benchmarks are here: https://github.com/kostya/benchmarks As always, take benchmarks with a graint of salt. We use benchmarks mostly to know how far away we are from C (1x, 10x,…
  20. As always, take benchmarks with a grain of salt: https://github.com/kostya/benchmarks/pull/26 Or this discussion (which is two months old, so unsure what exactly has changed since. Looking at commits, not much?)…
    comment by steveklabnik · 2015-06-06 · in Crystal Language
  21. …than Go do? then Nim - http://nim-lang.org will do just fine. Anecdotal benchmarks like this one https://github.com/kostya/benchmarks will show you that Nim comes out at the top (so does Crystal for some, FWIW).
    comment by FraaJad · 2015-06-06 · in Crystal Language
  22. …that the optimizations are in the same ballpark as Go and D, which is really impressive. [0]: https://github.com/kostya/benchmarks
    comment by espadrine · 2015-06-06 · in Crystal Language
  23. I've been looking at the benchmarks https://github.com/kostya/benchmarks and am pleasantly surprised about the speed. It definitely smokes Ruby, but also is usually faster than Go. I know that all benchmarks are relative but Crystal seems…
    comment by trengrj · 2015-06-06 · in Crystal Language
  24. Yes. There are some here: https://github.com/kostya/benchmarks Here's another one: https://github.com/nsf/pnoise And then in the samples directory ( https://github.com/manastech/crystal/tree/master/samples ) there are some more but without…
    comment by asterite · 2014-11-25 · in Crystal: the programming language