8.8 C
Paris
Saturday, April 19, 2025

Gleam 1.10 improves compiler, JavaScript codegen



Gleam 1.10, a brand new launch of the type-safe programming language for the Erlang digital machine and JavaScript runtimes, is now out there. The replace options compiler enhancements centering on holding extra info and bettering exhaustive evaluation. Sooner execution of JavaScript code is also highlighted.

Gleam 1.10 was launched April 14; it’s accessible on GitHub.  

The compiler on this launch retains extra details about sorts and values and the way they reference one another in Gleam applications, based on a weblog posted by Gleam creator Louis Pilfold. This permits the language server included within the Gleam binary to offer a “discover references” characteristic that allows builders to search out the place a sort or worth is utilized in a venture. Additionally, the extra info has been used to enhance the “rename” language server characteristic. Previous to this, solely module-local sorts and values may very well be renamed. With the advance, renaming might be carried out throughout all venture modules. Gleam’s builders even have improved the compiler’s unused-code detection, repairing some conditions wherein the compiler would fail in detecting the entire unused code.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles

error: Content is protected !!