Generative Programming and Verification - Nada Amin
2,675 views · Published 16 August 2017 · 38:08 · Indexed 4 November 2026
Channel: ClojureTV · 2017 · Science & Technology
I will illustrate the promise of generative programming — writing expressive high-level programs that generate fast low-level code at runtime — with a small (less than 500 lines of code) SQL query engine that outperforms commercial and open source database systems. The key ingredient is a native interpreter for relational algebra operations, which we turn into a fast compiler with the help of the Scala type system. I will build the SQL engine step-by-step, focusing on generative programming patterns. Finally, I will touch upon verifying properties (e.g. no memory nor overflow errors, check contracts) of the low-level generated code, so that it is not only fast but also secure using a high-level, fast and safe HTTP parser as an example.
More from this channel
-
18:41
Fertile Ground, the Roots of Clojure - Michael Fogus
-
39:41
Lisp, Functional Programming, and the State of Flow - Tom Faulhaber
-
39:17
Protocol XIII: Clojure Protocols Explained - Sean Devlin
-
5:23
Aleph: A Framework for AsynchronousCommunication - Zach Tellman
-
26:57
Clojure and Android - Daniel Solano Gomez
-
38:24
Performance in the Wild - Craig Andera
-
41:18
Concurrent Stream Processing - David McNeil
-
42:20
Ousterhout's Dichotomy Isn't (Part 2 of the Simplicity/Power/Focus Series) - Stuart Halloway