Gleam v1.11.0 introduces significant performance improvements with 30% faster JavaScript compilation through optimized pattern matching using decision trees instead of linear if-else chains. The release adds new testing capabilities with built-in assert syntax, a dedicated dev/ directory for development code accessible via

19m read time From gleam.run
Post cover image
Table of contents
30% faster? Really?OK, how does it work?Testing with assertgleam devHelp with understanding immutabilityJavaScript bit array improvementsPlaying nicely with POSIXGenerated documentation improvementsYet more fault toleranceLabels in inexhaustive case expression errorsFill labels code action for patternsBit array truncation warningBetter language server support for constantsGenerate function code action improvementsGenerate variant code actionRemove unused imports code action improvementsWindows ARM binariesAnd the restA call for support
1 Comment

Sort: