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. …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...
  2. …In fact, the core libraries (phobos) are being actively rewritten to remove GC altogether. [1]: https://github.com/kostya/benchmarks#json
  3. 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?
  4. …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…
  5. …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…
  6. …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)"
  7. On another note, I see Scala is doing really poorly in the JSON benchmark test: https://github.com/kostya/benchmarks#json
  8. Here's the "how so fast" explanation: https://github.com/kostya/benchmarks/pull/46#issuecomment-14...
  9. https://github.com/kostya/benchmarks#json
  10. https://github.com/kostya/benchmarks#json https://github.com/mleise/fast
  11. …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
  12. 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,…
  13. 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
  14. …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
  15. …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
  16. 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
  17. 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