[Edinburgh-pm] [icsa-members] Laurie Hendren Seminar: Mon 13th Jun, 12pm, IF-4.31/33
Miles Gould
miles at assyrian.org.uk
Mon Jun 13 05:58:59 PDT 2011
On Fri, Jun 10, 2011 at 10:22 AM, Miles Gould <miles at assyrian.org.uk> wrote:
> tl;dr lecturer from McGill/Oxford talking about static analysis and
> compilation of MATLAB, a rather messy dynamic language with APL-style
> array-handling.
MATLAB is messier than I could have imagined possible. Oh God, the
horror. Identifier lookup depends on the *current working directory*.
When they introduced a JIT in version 7, they silently changed the
semantics (but didn't document the new ones, of course). But only for
code in files - the REPL still uses the old semantics. Oh, and there
are *different* semantics for functions and scripts.
Slides here:
http://www.sable.mcgill.ca/mclab/TutorialSlides/SlidesWithNotesPDF/mclab-tutorial-slides-with-notes.pdf
Miles
More information about the Edinburgh-pm
mailing list