Nim language reaches 1.0 status
25 September 2019 | 0
The Nim 1.0 release marks the beginning of a stable base to build on in upcoming years, with future versions to maintain backward compatibility with code written in the current version. Nim 1.0 includes a number of improvements:
- A bug enabling
intto be implicitly converted to range types of smaller sizes has been fixed.
- Inline iterators returning
lent Ttypes are now supported.
uint64is now a regular ordinal type. Thus
high(uint64)compiles and yields the correct value.
encodings.getCurrentEncodingnow distinguishes between the console’s encoding and the OS encoding. This change impacts Windows only.
json.parseJsonFragmentsiterator has been added that can speed up JSON processing when there are JSON fragments separated by whitespace.
- The Nim compiler no longer recompiles the Nim project via
nim c -rif no dependent Nim file has changed.
- The compiler warns about unused module imports.
unicode.Rune16has been removed without any deprecation period. The name was found to be wrong and no uses of it were found in the wild.
Nim is a compiled, garbage-collected systems programming language that borrows multiple constructs from Python and Pascal-inspired type sections. It also has multi-line lambdas.
You can download Nim installers for Windows and Unix systems from the project website.
IDG News Service