Tue 6 Nov 2018 17:30 - 18:30 at Whittier - Ahmed

As software becomes increasingly complex, we need toolchains that simplify building systems using a mix of languages so we can use the best language for each part of a system. That “best” language might be Rust for a high-performance component, a terminating domain-specific language for a protocol parser, or a general-purpose scripting language for UI code.

Ideally, we should be able to reason only in our chosen language when working on that component. Unfortunately, most current languages and toolchains were designed with language interoperability as an afterthought, so they lack the means to support single-language reasoning when building multi-language software. For instance, we can reason about safe memory usage in Rust, but if our Rust component shares references with a Java method, we must reason about the possibility that Java might violate Rust’s borrowing discipline leading to unsafe memory use.

This talk is about how to change the status quo to make it easier to build multi-language software. I’ll argue that language designers should equip their “core” language with extensions, dubbed linking types, that allow programmers to annotate how their components should interact with features missing from their core language. Moreover, toolchain developers should devise compilers and linkers that prevent linking with external code that violates safety or security properties provided by the core language, unless the programmer uses linking-type annotations to request such linking.

Tue 6 Nov

17:30 - 18:30: SPLASH-I - Ahmed at Whittier
splash-2018-SPLASH-I154152180000017:30 - 18:30
Amal AhmedNortheastern University, USA