HomeCloud ComputingGleam 1.10 improves compiler, JavaScript codegen

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 accessible. The replace options compiler enhancements centering on holding extra data and enhancing exhaustive evaluation. Quicker 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 varieties and values and the way they reference one another in Gleam applications, based on a weblog posted by Gleam creator Louis Pilfold. This allows the language server included within the Gleam binary to supply a “discover references” characteristic that permits builders to search out the place a kind or worth is utilized in a challenge. Additionally, the extra data has been used to enhance the “rename” language server characteristic. Previous to this, solely module-local varieties and values might be renamed. With the advance, renaming might be carried out throughout all challenge modules. Gleam’s builders even have improved the compiler’s unused-code detection, repairing some conditions by which the compiler would fail in detecting the entire unused code.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments