I've recently ported a small (~5kLOC) signal proce...
# mathematics
k
I've recently ported a small (~5kLOC) signal processing algorithm I wrote against koma to both julia and swift. I also wrote my own
Matrix
implementation in both of those languages just to make sure it wasn't some weird optimization done by the builtin libs that was cheating. My matrix wrapper used builtin arrays with the matrix algorithms i needed added in by me: on julia implemented using multiple dispatch, on swift using their generic specialization of protocols to eliminate virtual calls and protocol/value witness table lookups. In both cases i ended up with something that was fast, no codegen required, and generic. It was a discouraging result, because i prefer the language of kotlin much more but i have spent much more time trying to make it fast (via koma) than my weekend project in those two
a
Julia is fine language, but is still has dynamic typing and the tooling and support is much worse than for kotlin. If I searched for replacement for Python I would have it, but sadly, I need a replacement for C++.