logoalt Hacker News

Making Julia as Fast as C++ (2019)

16 pointsby d_trlast Wednesday at 9:36 PM3 commentsview on HN

Comments

StilesCrisistoday at 11:38 AM

Punchline: rewrote the code to look almost identical to C++, hand-held the compiler by adding @-marks to disable safety checks, forced SIMD codegen and fastmath on.

End result: code that is uglier and still much slower than C++. Kind of a shame.

show 2 replies
ForceBrutoday at 11:00 AM

Recent discussion on Julia Discourse: https://discourse.julialang.org/t/making-julia-as-fast-as-c/

slwvxlast Wednesday at 10:57 PM

From 2019