When it comes to advanced techniques for optimizing dynamic code, we have barely scratched the surface. What Julia does now is essentially just static compilation at runtime – enabled by aggressive specialization and type inference. All the fancy things that fast JavaScript implementations do to handle code that isn't strictly well-typed are still on the table.
On Sun, Mar 29, 2015 at 12:50 PM, Sebastian Good < sebast...@palladiumconsulting.com> wrote: > I guess this is ultimately where a JavaScript flavored optimistic dispatch > jump table would benefit us. The code can start as fully polymorphic but > specialize to a direct jump or at least a small vtable after a few > executions