News for hackers. Stuff that matters.
Re:Dex: A research language for array processing in the Hask... by kyllo on Saturday October 26, 2019 @01:01PM (#21364804)
Nice. I find it pretty easy to get excited about any prospect of a more efficient and typesafe alternative to R and Numpy.
Re:Dex: A research language for array processing in the Hask... by klipt on Saturday October 26, 2019 @02:18PM (#21365290)
I wonder how this attempt differs from Julia, such seems to be one of the more mature languages in the typed/efficient numerical computing space.
Re:Dex: A research language for array processing in the Hask... by ddragon on Saturday October 26, 2019 @06:07PM (#21366545)
They are very different, Julia is a multi-paradigm dynamically typed language at it's core, with heavy inspiration in the Lisp family. The type system is designed for the purpose of specialization and dispatch, meaning if you add two variables, the compiler will look at hundreds of possible implementations of addition for the one that best fit the combination of arguments, with increasingly more generic and less performant options as fallback until it's unable to match any implementation and fails (after running the program).

Dex is a functional statically typed language inspired by the ML family. That means type errors will be caught before even compiling the code, which gives a guarantee that once it starts running there will be no case of failure because there is no implementation of a method for given types.

The similarity between the two languages seem to be mostly the high performance powerful native multidimensional array support.

Re:Dex: A research language for array processing in the Hask... by Athas on Saturday October 26, 2019 @03:27PM (#21365664)
Dex looks very different from Julia, particularly in the type system. Julia is fundamentally similar to a cleaned-up Matlab or R, with some extra tricks on top (e.g. multiple dispatch and macros), and a very good and polished implementation.