News for hackers. Stuff that matters.
Re:Some fun with π in Julia by zengid on Tuesday March 14, 2017 @03:08PM (#13870503)
So, sorry to change the subject away from pi, but how does Julia do on the code-gen end? Are we talking SIMD type optimizations? Are there hooks in the language for tuning hot-code?

I'm curious because I'm trying to find an example of a "non-scalar" programming language, a la this attempt here[1].

Thanks for the help!

[1]https://news.ycombinator.com/item?id=13867574

Re:Some fun with π in Julia by kristofferc on Tuesday March 14, 2017 @03:17PM (#13870587)
Julia uses LLVM to do code-gen so whatever optimizations are available in LLVM are available to Julia. If the auto-vectorizer in LLVM is not kicking in, it is possible to write explicit SIMD with the https://github.com/eschnett/SIMD.jl package.