talk-data.com
Activities & events
| Title & Speakers | Event |
|---|---|
|
Anton Sviridov: Modern CLIs with Scala Native
2025-06-18 · 19:50
In recent years we have seen dramatic changes in the quality of CLI tools we use – many familiar tools have been rebuilt from scratch in new languages, with new interfaces, and colourful output. That shift has in turn raised the expectations for any new tool, shunning complex dependencies, unintuitive interfaces, and difficult distribution methods. With Scala Native, I believe we have a strong contender in the space of modern CLIs, we just need to build parts of ecosystem that have long been neglected due to low usage of Scala in the world of CLIs. Join me as I talk in detail about my experience building an important CLI for myself, the libraries I've built along the way, and the improvements I desperately want. |
|
|
Noel Welsh: Routing Http Requests with Scala 3
2025-06-18 · 18:40
Request routing is the problem of choosing a function to invoke based on a HTTP request. All but the simplest web frameworks include routing, but that doesn't mean that routing isn't an interesting problem. I set out to design a request routing library that was all of: compositional; type safe; reversible, meaning clients can be constructed from a route; and a delight to use, with great error messages. Doing requires some interesting design decisions. We'll discuss FP versus OO representations, finite state machine builders (which are a lot simpler than this name implies!), using Scala 3's tuple types for greater type safety and convenience, and designing for dot-driven development. Along the way I'll discuss other routing libraries that made different decisions, to help illustrate the design space and the tradeoffs that can be made. Did I succeed? Well, you can decide. Either way, I think the journey is interesting and you should learn something you can apply to your own coding. |
|