














The Nim Team is happy to announce version 2.2.8, the fourth patch release for our stable release, Nim 2.2.
It comes four months after the 2.2.6 release and it contains 89 commits, bringing bugfixes and improvements.
If you’re still on Nim 1.6, take a look at the version 2.0 release article to see all the features you’re missing. If you’ve been using Nim 2.0, the version 2.2 release article shows the improvements available in Nim 2.2.
The Nim 2.2.8 changelog is available here.
We think that for everyday users the most impactful bugfix is that for heavily multi-threaded code the default allocator is now much more stable.
The days where the workaround -d:useMalloc is required might be beyond us.
Please give us feedback!
Check out if the package manager of your OS already ships version 2.2.8 or install it as described here.
If you have installed a previous version of Nim using choosenim,
getting Nim 2.2.8 is as easy as:
$ choosenim update self
$ choosenim update stable
NOTE: We recommend you to install and use the latest version of choosenim, v.0.8.16, available in our choosenim repo.
Alternatively, you can download Nim 2.2.8 from our nightlies builds.
fields over object with default fields”
(#25252)std/unicode.strip trailing fails on some characters”
(#19846)items defined as concept (UserDefinedClass) causes compiler crash”
(#25227)setLen slow when shrinking seq due to zero-filling of released area”
(#19728)setLenUninit missing for --mm:refc”
(#25007)SIGSEGV regression from Nim v2.2.4 to v2.2.6/devel with closure iteratures”
(#25261)-d:nimStackTraceOverride”
(#25306)m_type access in hooks for distinct generic types under ARC/ORC/HOOKS/ATOMICARC”
(#25341)version-2-2/devel with importing let u {.global.} = default(ref int)”
(#25369)is”
(#17630)pred in when swallowed”
(#25254)shl causes undefined behaviour”
(#19983)Error: fatal error: invalid kind for lastOrd(tyNone) with type M = set”
(#25419)raised causes wrong exception effect”
(#25400) with static: discard castpointer”
(#25446)--styleCheck:warn”
(#19831)distinct types and assign to heap-allocated object”
(#25459)nil”
(#25488)align not respected in refc, leading to SIGSEGV”
(#25457)seq[array[...]]”
(#25475)此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。