tubeshowcase●1,674,689 videos♡ My collection 0
← Learn to Code

Learn to Code28:08

Icicle: The Highs & Lows of Optimizing DSLs • Jacob Stanley • YOW! 2016

GOTO Conferences ↗

From the creator

This presentation was recorded at YOW! 2016. #GOTOcon #YOW https://yowcon.com Jacob Stanley - Software Engineer at Ambiata RESOURCES https://github.com/jacobstanley https://x.com/jacobstanley https://github.com/icicle-lang/icicle-ambiata ABSTRACT So, you’ve written a #DSL, it’s a work of art! It so perfectly models the problem at hand that even a trained house cat could generate business value. You just have one problem, your interpreter runs 100x slower than a shell script launching JVMs in a loop. #DomainSpecificLanguages (DSLs) are able to offer the abstraction benefits of a high-level language, while when compiled, competing with low-level languages on performance. Because DSLs have a much smaller problem area, many specialised optimisations can be performed which are not feasible for a general purpose language. In this talk, we will explain a number of optimisations which are useful for DSLs, and show our solutions to the practical issues we faced when implementing them in our #QueryLanguage, #Icicle. Icicle is a query language for processing large amounts of time-series data. Its type system enforces that queries require only a single pass over the data, and that multiple queries over the same data can be fused together. By using a combination of high level optimisations such as partial evaluation and common subexpression elimination, and low level optimisations such as parsing code which is specialised for the given input, our queries are faster than the equivale

Published 2025-06-29 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code