News for hackers. Stuff that matters.
Re:Why I use R by dnautics on Monday January 06, 2020 @08:20AM (#21968893)
Julia uses types as compiler hints. If you dispatch f(x) as f(1.0), in most cases it will lazily compile f to be float-optimized. When you run f(1) it will recompile it to be integer optimized.

This enables you to also select libraries: a standard float type will use blas for matrix ops; a gpu float type will use cuda.

There are no comments on this comment yet.