Recurse Center reposted this
🎬 Tomo Bruce Hill recently gave a talk at Recurse Center showcasing Tomo, a programming language he’s been building as a personal project. If Bruce’s name sounds familiar, it might be because he also recently helped bring the Stainless CLI generator to GA 🎉. It turns out many of the ideas he’s excited about show up clearly in Tomo as well: reducing incidental complexity and letting tools do more of the work for you. Some highlights from the talk: * No separate build system: The compiler handles package management, lazy recompilation, and dependency resolution. Run the compiler, and if you're missing a dependency, it just asks if you want to install it. No separate package manager commands needed. * Integer overflow safety: Default integers automatically overflow into big ints (like Python), but in a statically typed language that compiles to C. Small integers stay in registers without heap allocation. * Built-in CLI argument parsing: Define your main function with typed parameters and defaults, and you get help messages, flag parsing, and even enum support automatically. No third-party library needed. * C interoperability: Tomo transpiles to C, making it easy to tap into the existing C ecosystem. Bruce wrapped terminal graphics, HTTP (via libcurl), and more. The demo? A 150-line Snake game running in the terminal that was built in a single evening! As Bruce put it: "Languages can be more or less than the sum of their parts depending on how those features interact with each other." Learn more: https://lnkd.in/g_nH8b89 https://lnkd.in/gv4U5DDa