Nim 1.0.4 released! Statically typed programming language

The following from the Chinese community translation, limited capacity, if any translation errors are welcome to join the QQ group correct me!

Nim team is pleased to bring you the news release 1.0.4, which was released after our second Nim 1.0.0 patch version.

For more details about the 1.0.0 version, you can view two months before we release notes .

From the previous version released later despite only a month's time, but this version already contains more than 70 beats a new submission , new fixes 20 issues, let us version 1.0 into a better look.

Installation 1.0.4

If you have used choosenima previous version of Nim install, upgrade to version 1.0.4 Nim's very simple:

$ choosenim update stable

If you have not installed choosenim, you can pass these instructions to download and install choosenim, of course, you can also follow our installation direct installation page.

Update Log

You can in our GitHub repository Check out this version of the change log and the rest of the source code of Nim.


Attached "update log."

Language level changes

  • Imitation of earlier versions of Nim, canceled checks unsigned integer conversion at runtime. Documentation has been made explanation for this improvement. View https://github.com/nim-lang/RFCs/issues/175 more details (# 12688)
  • Added or detectOs(Manjaro), so that when it is detected Manjaro, system, calling native package manager will use pacmanfor package management ( # 12587 )
  • --os:iosCompiler directive now also represented macosx ( # 12585 )
  • Derived nim.cfg parser, and now other tools also can call readConfigFilethe ( # 12602 )

BUG repair

  • Fixed "after multiple calls on OSX, gorgeEx()the issue (failed" # 12337 )
  • Optimize and strengthen the posix module ( # 10723 )
  • Fixed "Nim's grammar checker allowed gorgeEx(), but not writeFile()" problem, and now the two are prompted to do not run staticExec for 'nim suggest the ( # 12491 )
  • Fix "a low-level arithmetic error: -3 MOD 7 == 3" ( # 12514 )
  • Fixed an issue "back-end integration document c2nim link failure," the ( # 12537 )
  • Fixed "generic parameter has a default value will result in incorrect generic type resolution" of the issue ( # 12528 )
  • Fixed an issue "once again appears: Compiler / vmgen.nim (354, 20) falseLeaking the Temporary 10 slotTempInt [AssertionError] ( # 12547 )
  • Fixed "64 on Windows (only a problem on 64-bit) nim compile / link down" ( # 12536 )
  • Fixed "In addition to the latest devel version of Elements for the destroy = No closure Environments OTHER Within last for Latest devel -gc: destructors" ( # 12577 )
  • Fixed "[1.0.0] can not be used -cpu: avr compile" ( # 12395 )
  • Fixed "invalid objects variant will cause the compiler to crash" ( # 12379 )
  • Fixed "written before the import pragma will be silently ignored" ( # 5050 )
  • Fixed "strformat + asyncdispatch + const will use error" issue ( # 12612 )
  • Fixed " --nimblePathis added, the need for a painless solution" ( # 12601 )
  • Fixed "nim.cfg in -define: FOO: VAL syntax no documents or missing" ( # 12367 )
  • Fixed "Use a macro to generate a string of vm does not work well" ( # 12670 )
  • Fixed " staticRead()static document introduced changes will force a trigger recompilation." (# 12663)
  • Fixed termination handler calls the throwcrashes caused ( # 12572 )
  • Fixed newLit string field for an object having a ( # 12542 )

Documentation Updates

  • Math module is added to the document ( # 12460 )
  • Fixes many broken links, try to replace the link to link to an internal document ( # 12463 )
  • sequtils: in the example to replace the already abandoned 'random' usage ( # 12515 )
  • Integer added to the document ( # 12513 )
  • Fixed error coding style ( # 12545 )
  • Error correction and several documents (annotation # 12553 )
  • Adding documents to better differentiate getProjectPath, getCurrentDirand currentSourcePath(# 12565)
  • doc / tut3.rst: Fix the introduction of typos ( # 12607 )
  • Added link packagingand distrolink pages ( # 12603 )
  • Fixed $* (dt: DateTime) description ( # 12660 )
  • In the middle of manual.rst experimental/ paralleljoin an example to clarify the difference ( # 12472 )
  • Fix the error chapters hierarchy Manual ( # 12724 )

Guess you like

Origin www.oschina.net/news/111686/nim-lang-104-released