Search results for: Open Source

A Tale of TwoTails – Mutual tail recursion in Scala

TwoTails is a compiler plugin written to add support to Scala for mutual tail recursion. While Trampolines or trampolined style recursion solve the direct need, they require explicit construction by a developer and add overhead in the form of additional data structures. Unfortunately, building a “native” solution directly into Scalac without using trampolines is not a straightforward task, even with basic tail recursion. In the latest version, a second compilation scheme has been introduced solving an issue peculiar to the JVM which the first scheme was not able to properly address. I’ll discuss both the motivation behind this new scheme […]

FOSDEM 2016

// 02.24.2016 // Open Source

I was at The Free and Open Source Developers European Meeting 2016. Commonly shortened to FOSDEM, the event brings thousands of people in the free and open source software community from all over the world to ULB, Brussels, to exchange best practices, share new releases, and generally discuss the state of open source development. The weekend was frighteningly dense (569 speakers! 618 events! 52 tracks!) so there’s very little hope of writing a full summary without the help of a small army of engineers.  Based on the small sample of talks and panels I did get to attend, a few […]

Video: Autolifts in Scala

// 01.06.2016 // Open Source

Last month at the New York Scala Meetup, Owein Reese introduced the Autolifts library in Scala. Autolifts takes advantage of Scala’s advanced type system to yield a set of abstractions for working with complex objects. In this talk, Owein introduces the concept of lifting and why you might want to incorporate this pattern in your code. The library takes that concept, mixes it with dependent types and implicit extensions to automatically lift in a type safe manner. These extensions simplify code, reducing boilerplate while making code more easily understood and maintained. Thanks to Hakka Labs for recording and producing the video of this talk.