Ask HN: Is there any lanuage which satisfies my need?
I have the following requirements
1. I need to work with complex data, so I need easy data transformation constructs (map, filter, lambdas etc.)
2. I need strongly statically typed language, as in my experience they are easier to debug, read and maintain
3. Binary compilation
I have worked with Go, Python, Scala and Kotlin, and seems now all of them fail somewhere.
Scala and Kotlin don't compile to Binary and my team doesn't want to maintain JVM dependency
Python is dynamically typed
Is C++ or any other language viable?
8 comments
[ 2.8 ms ] story [ 30.9 ms ] threadBy the way, Kotlin does have support for compiling to binaries now though there are probably some caveats.
It's JIT-compiled, but it's doesn't use the JVM. And you can create an executable of your program if you wish.
It's generally faster than Python but not as fast as C. YMMV. https://benchmarksgame-team.pages.debian.net/benchmarksgame/... The comparison use the (Untyped) Racket instead of Typed Racket. Typed Racket usually has a longer compilation time but a faster run time, because it has more optimizations. YMMV.
[1]: https://en.wikipedia.org/wiki/XY_problem
But static typed provide a plethora of other advantages. Erlang is one of the languages I had always in my checklist but never got into.