3 ms·
Julia indeed has great support for built-in linear algebra. They do lean on LAPACK (like just about any sane person/group would), but also re-implemented a lot
by reikonomusha 4y ago
Julia indeed has great support for built-in linear algebra. They do lean on LAPACK (like just about any sane person/group would), but also re-implemented a lot of basic/common stuff natively in Julia. [1]
> In addition to (and as part of) its support for multi-dimensional arrays, Julia provides native implementations of many common and useful linear algebra operations which can be loaded with using LinearAlgebra.
> [...]
> Linear algebra functions in Julia are largely implemented by calling functions from LAPACK.
While the performance of numerical code in Common Lisp is quite excellent due to very good support for fast floating point math (especially with SBCL's recent addition of SB-SIMD [2]), the library support isn't quite there like it is for Julia or Python. That's slowly changing, with MAGICL, numcl, Numericals, and Lisp-Stat.
A nice thing about Common Lisp compared to Julia or Python though is true AoT compilation without sacrificing a modicum of interactivity.
[1] https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/ https://docs.julialang.org/en/v1/stdlib/LinearAlgebra/
[2] http://www.sbcl.org/manual/index.html#sb_002dsimd http://www.sbcl.org/manual/index.html#sb_002dsimd
- adgjlsfhk1 4y agoI'm hopeful that within the next year, StaticCompiler.jl gets good enough to aot compile lapack type code. we're close, but there's still a lot of rough edges.