Re:Julia is awesome, but..
by minthd on Monday December 29, 2014 @11:42AM
(#8810474)
Why rust ? can't Julia offer enough speed?
[ Parent
| on HN ]
In my experience Julia is quick with low level array oriented programming which doesn't allocate ("C in Julia"), but if the garbage collector is needed within loops or you use anonymous functions there then you'll suffer greatly.
Have you seen the recent (unmerged) GC work https://github.com/JuliaLang/julia/pull/8699
I had not, thanks for the link. I haven't given up on Julia!
Re:Julia is awesome, but..
by tenfingers on Tuesday December 30, 2014 @03:08AM
(#8813775)
Rust covers the lower-level much better. In Julia for example you currently don't have a nice way to modify C-like structs. You can offset memory directly, but it's a pointless exercise. Even if a record-like syntax is added, the dynamic nature of Julia might incur in different latencies, you have the GC (not optional), and the runtime is quite big.
Rust is filling the same niche I'm using c/c++ for, where I need absolute control of every detail: not necessarily for performance.