Re:Julia 0.5 Highlights
by stewbrew on Tuesday October 11, 2016 @12:06PM
(#12685675)
WRT julia's type system: I still don't get it. Is Julia dynamically or statically typed? Are type errors detected at compile time (or since it's jitted when loading a file) or at runtime (i.e. when the code is executed)? I personally don't see much use in just another dynamically typed language that gives me similar errors as R does.
[ Parent
| on HN ]
Re:Julia 0.5 Highlights
by StefanKarpinski on Tuesday October 11, 2016 @12:22PM
(#12685840)
Dynamic: http://stackoverflow.com/questions/28078089/is-julia-dynamic...
Julia uses its type system for:
- self-documentation
- reduction of boilerplate manual type checking that litters libraries in dynamic languages
- all those times you need to express the type of something, which happens especially frequently in numerical code
- performance
In the future, some "type linting" could be built into the standard library since we can infer types for so much code, but it isn't the top priority.