Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
/ explore Public archive

Experiments with different languages doing typical task

License

Notifications You must be signed in to change notification settings

jBugman/explore

Repository files navigation

Should take folder and field as parameters. Then scan all JSON files in that folder and generate CSV with sorted frequency report about strings in given field.

[✓] C
[✓] C#
[✓] C++
[✓] Clojure
[✓] D
[✓] Elixir
[✓] Erlang
[✓] F#
[✓] Go
[✓] Haskell
[✓] Hy
[ ] Idris
[✓] Io
[✓] Java
[✓] JavaScript (NodeJS)
[✓] Kotlin
[✓] Lua
[✓] Nim
[✓] Objective-C
[✓] OCaml
[✓] Perl
[✓] Python
[✓] Ruby
[✓] Rust
[✓] Scala
[✓] Swift

Benchmarks Timing for JVM-like languages is not that fair due to very short nature of task compared to VM startup cost. So we will repeat process call 100 times in main to get more accurate timing. Also some results are strange (like Elixirs' x1-x100 small run time diference) and can mean there is caching involved.