3 ms·
Maaayybee ... Writing a blog post always seems like a time commitment, and I really should be doing other things ;). Somehow sequeezing in a big HN comment whil
by KenoFischer 5y ago
Maaayybee ... Writing a blog post always seems like a time commitment, and I really should be doing other things ;). Somehow sequeezing in a big HN comment while I'm waiting for my builds to go through doesn't feel like the same, but I'm probably just deluding myself ;).
- huitzitziltzin 5y agoAs a julia user of five-ish years one of my favorite things that you guys do is write really in depth blog posts which I can read ten times and try to puzzle out. I am sure they take a huge amount of work but my appetite for them has never been satisfied!
- TTPrograms 5y agoI've been investigating Julia AD recently - really hoping for arbitrary code diff, but nothing really works right now. How broad will Diffractor's support of the language be? E.g. will it support mutation / exceptions / recursion?
- KenoFischer 5y agoMutation is tricky, because basically the only way to do it sanely is to copy all data into the residual, but since most arrays aren't actually mutated, that's extremely wasteful. I've been hoping to address this by changing mutability in the language more generally (e.g. https://github.com/JuliaLang/julia/pull/42465 https://github.com/JuliaLang/julia/pull/42465) to make immutable arrays the default at which point there wouldn't be a penalty anymore. I've had request to do the mutable copying optionally, but it's a bit tricky, because it needs rule system integration and the rule system currently doesn't reason about mutation. As for exceptions and recursion, shouldn't be a problem, just needs to be implemented.
- TTPrograms 5y agoThanks for the reply!