RustSydney / talks

Talk requests and proposals for Rust Sydney
http://www.meetup.com/Rust-Sydney/
22 stars 2 forks source link

linear lambda calculus and the search for an embeddable interpreter #4

Closed srijs closed 9 years ago

srijs commented 9 years ago

When looking for small languages to embed within Rust programs, existing solutions are often heavyweight, or don't fit well within Rust's ownership model, which results in complex APIs.

A linear lambda is a function which must use its argument exactly once. Sounds familiar? This is very similar to how memory ownership works in Rust.

Linear lambda calculus (LLC, for short) is the calculus built around those linear lambda functions. An interpreter for LLC is a surprisingly well-suited problem to solve in Rust, and the practical benefits of the ownership model are carried into the guest language almost effortlessly.

I can give a small talk (15-20 minutes) going into some detail about the interpreter I am writing, and describe some of the problems I encountered, and the solutions to them.

michaelsproul commented 9 years ago

This sounds rad!

caspark commented 9 years ago

Would you mind dropping a link to your slides here @srijs ?

srijs commented 9 years ago

See #6