News for hackers. Stuff that matters.
Re:Some Insights from a Julia Developer by StefanKarpinski on Tuesday October 17, 2017 @11:14AM (#15491600)
Right, so the way to address this is to provide guarantees that this kind of optimization /will/ occur and providing syntax for making writing "pseudo-mutating" code more convenient. There's a PR [1] for the latter, but it's been shelved while we focus on getting 1.0 out the door instead of adding new features. Optimization guarantees + convenient syntax provides everything you need without trashing the semantics of the language by bifurcating the type system into two incompatible kinds of values.

[1] https://github.com/JuliaLang/julia/pull/21912

There are no comments on this comment yet.