In this presentation, I will demonstrate how we leveraged the strengths of Scala and TypeScript to develop a collaborative text editor that meets the strictest standards for security, performance, and real-time collaboration.

Have you ever wondered what it takes to combine the power of Scala with the flexibility of TypeScript to create a secure, real-time collaborative text editor—similar to Google Docs, but built for high-security environments? Imagine a scenario where military teams need to simultaneously update critical text documents during a mission, while ensuring airtight security in air-gapped deployments.
In this presentation, I will demonstrate how we leveraged the strengths of Scala and TypeScript to develop a collaborative text editor that meets the strictest standards for security, performance, and real-time collaboration. I will dive deep into the technical architecture, powered by advanced operational transformation algorithms, which enables multi-user editing without conflicts. Additionally, I'll share how we layered robust security measures on top of the solution to ensure it meets military-grade standards, while maintaining seamless performance in isolated networks.
We'll explore type classes in Scala 3, using its new rules for givens, extension methods, and mechanisms for automatic derivation via mirrors or macros.