News for hackers. Stuff that matters.
Re:Type Stability in Julia: Avoiding Performance Pathologies... by ulysses4ever on Wednesday December 08, 2021 @04:52PM (#29491018)
Your intuition is right but _every_ expression is bound by a variable in this representation.
Re:Type Stability in Julia: Avoiding Performance Pathologies... by StefanKarpinski on Wednesday December 08, 2021 @04:56PM (#29491064)
Ah, ok. I hadn't gotten to that part yet. Would it make sense to change the general definition to "expressions" since that would be the correct definition for Julia code as well as the Jules IR format?
Re:Type Stability in Julia: Avoiding Performance Pathologies... by ulysses4ever on Wednesday December 08, 2021 @05:08PM (#29491196)
This may require more thinking on our end but the way we design Jules is the usual SSA form. The idea being it's easier to reason about it (and prove things) when every expression has a name. It's a bit of cheating of course but makes our life easier. We don't discuss how surface Julia (or subset of it), which is more expression-oriented, can be translated to Jules, because we have only so many pages, and also it's not all that interesting, I think.