



























The Nim Team is happy to announce version 2.2.10, the fifth patch release for our stable release, Nim 2.2.
It comes two months after the 2.2.8 release and it contains 76 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.10 changelog is available here.
We would like to remind you about NimConf 2026. If you have anything you would like to share with the Nim community, you have two more weeks (until May 10th) to submit your talk proposal. More details available here.
Check out if the package manager of your OS already ships version 2.2.10 or install it as described here.
If you have installed a previous version of Nim using choosenim,
getting Nim 2.2.10 is as easy as:
$ choosenim update self
$ choosenim update stable
NOTE: We recommend that you install and use the latest version of choosenim, v0.8.16, available in our choosenim repo.
Alternatively, you can download Nim 2.2.10 from our nightlies builds.
new doesn’t work with ref object”
(#25005)unhandled exception: field 'sym' is not accessible with type W[N] = seq[tuple[b: N]]”
(#25509)proc f(x: static[auto]) doesn’t treat x as static”
(#21281)proc v[T: typedesc]() = discard / v[0]() compiles even though 0 isn’t a typedesc”
(#25262)devel in refc {.align.} pragma where each 16-byte-aligned heap objects gets its own page”
(#25566)nimZeroMem/nimCopyMem/stack usage over refc”
(#25552)version-2-2/devel with refc, LTO and -fstack-usage”
(#24746)internal error: getTypeDescAux(tyVoid) with either discard default(tuple[b: void]) or discard default((void,))”
(#25508)-NaN (signbit is negative)”
(#25597)reset/nimDecRefIsLastCyclicStatic”
(#25596)discard mapIt([0], 0) results in lib/pure/collections/sequtils.nim(1095, 11) Hint: 'it' is declared but not used [XDeclaredButNotUsed]”
(#25626)proc r(_: typedesc, _: static uint | static int) = discard; r(uint, 0) causes cannot generate code for: mStatic”
(#25642)*= causes program deadloop sysFatal on –exceptions:goto”
(#25658)proc g() {.exportc, error: "".} = (; let a = 0) causes Error: internal error: expr(nkIdent); unknown node kind”
(#25632)devel in refc {.align.} pragma where each 32-byte-aligned heap objects gets its own page”
(#25577)iterator/nimvm”
(#25724)- when shortNoVal is given”
(#25738)for forces a copy of underlying instance”
(#25469)static: (for f in [0]: discard a.b == f) causes nim check unhandled exception: field 'intVal' is not accessible for type 'TFullReg' using 'kind = rkNone' [FieldDefect]”
(#25732)setLenUnit slow, actually initializes seq (refc)”
(#25718)The complete list of changes is available here.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。