4 ms·
Data science is a domain crystal could excel in. Having both an approachable syntax and the feedback that the compiler and type system provides makes it an exce
by kimburgess 4y ago
Data science is a domain crystal could excel in. Having both an approachable syntax and the feedback that the compiler and type system provides makes it an excellent companion for that work.
There's some interesting things you can do with the type system too, like capturing dimensionality in the type: https://git.sr.ht/~kb/matrix/tree/main/item/src/matrix.cr https://git.sr.ht/~kb/matrix/tree/main/item/src/matrix.cr
One missing item though is SIMD support: https://github.com/crystal-lang/crystal/issues/3057 https://github.com/crystal-lang/crystal/issues/3057
Re docgen - that's built into the compiler: https://crystal-lang.org/reference/1.5/syntax_and_semantics/documenting_code.html https://crystal-lang.org/reference/1.5/syntax_and_semantics/...