Productivity enhancements, such as better compile-time messages, are highlighted. Credit: insta_photos / Shutterstock Gleam 1.5, the latest version of a statically typed language for the Erlang virtual machine and JavaScript runtimes, has been published, with productivity improvements such as upgraded compile-time error messages. Launched September 19, Gleam 1.5 can be accessed from GitHub. With this release, compile-time error messages for inexhaustive pattern matching have been upgraded to show the unmatched values using the syntax the programmer would use in their code, respecting aliases and imports in modules. The change makes it easier to understand an error message. Missing patterns can be copied from the error directly into the source code. Also with Gleam 1.5, implicit todo formatting is featured. If developers write a use expression without any more code in that block, the compiler implicitly inserts a todo expression. With this release, the Gleam code formatter will insert the todo to make it clearer what is happening. Version 1.5 follows the March announcement of Gleam 1.0, which then was followed by several point releases. Gleam itself is positioned as a language for building type-safe systems that scale. Elsewhere in Gleam 1.5: Language server code actions are featured, including auto-completion for local variable and function arguments to the language server. Silent compilation is featured, tending to a situation in which when a command such as gleam run or gleam test is run, progress information is printed. Sometimes, developers only want to see the output from tests or programs; a no-print-progress flag has been added to silence the additional output. Also, this information is now printed to the standard error rather than standard out, making it possible to redirect it elsewhere in a developer’s command line shell. The build tool now skips compiling code if a dependency module is being run. HTML documentation has been improved. The compiler now shows a helpful error message if developers try writing an if expression instead of a case. Gleam has one single-flow construct: the pattern matching the case expression. Related content feature 14 great preprocessors for developers who love to code Sometimes it seems like the rules of programming are designed to make coding a chore. Here are 14 ways preprocessors can help make software development fun again. By Peter Wayner Nov 18, 2024 10 mins Development Tools Software Development feature Designing the APIs that accidentally power businesses Well-designed APIs, even those often-neglected internal APIs, make developers more productive and businesses more agile. By Jean Yang Nov 18, 2024 6 mins APIs Software Development news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks news Go language evolving for future hardware, AI workloads The Go team is working to adapt Go to large multicore systems, the latest hardware instructions, and the needs of developers of large-scale AI systems. By Paul Krill Nov 15, 2024 3 mins Google Go Generative AI Programming Languages Resources Videos