惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
量子位
人人都是产品经理
人人都是产品经理
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
Recent Announcements
Recent Announcements
A
About on SuperTechFans
Microsoft Security Blog
Microsoft Security Blog
N
Netflix TechBlog - Medium
H
Help Net Security
博客园 - 三生石上(FineUI控件)
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MyScale Blog
MyScale Blog
The Cloudflare Blog
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
Vercel News
Vercel News

Nim Programming Language

Nim version 2.2.12 released Nim version 2.2.10 released NimConf 2026: Dates Announced, Registrations Open Nim version 2.2.8 released Nim version 2.2.6 released Nim version 2.2.2 released Nim Community Survey 2024 Results Nim version 2.0.14 released Launching the 2024 Nim Community Survey Nim version 2.0.12 released NimConf 2024 - Nim Online Conference
Nim versions 2.2.4 and 2.0.16 released
2025-04-22 · via Nim Programming Language

22 April 2025 The Nim Team

The Nim Team is happy to announce two releases:

  • version 2.2.4, a second patch release for the latest stable version
  • version 2.0.16, an eight patch release for Nim 2.0

Nim v2.2.4 comes two and a half months after the v2.2.2 release and it contains 108 commits bringing bugfixes and improvements.

If you’re still using Nim v2.0, the v2.0.16 release brings 31 commits with bugfixes. But we would encourage you to switch to Nim v2.2, as it brings significant improvements to the ORC memory management and to the language and the compiler overall.
Here is the version 2.2 release article, showing the improvements available in Nim 2.2.

The Nim 2.2.4 changelog is available here.

Installing Nim 2.2.4

Check out if the package manager of your OS already ships version 2.2.4 or install it as described here.

If you have installed a previous version of Nim using choosenim, getting Nim 2.2.4 is as easy as:

$ choosenim update self
$ choosenim update stable

NOTE: Make sure that the version of choosenim you have installed is 0.8.5 or higher, otherwise visit choosenim’s repo and see there how to re-install it first, before updating Nim.

Alternatively, you can download Nim 2.2.4 from our nightlies builds.

Bugfixes

Nim 2.2.4

  • Fixed “A “divmod” call fails to compile with operands whose types have a non negative lower bound.” (#24673)
  • Fixed “Adding a string to itself causes the resulting length to be off by one” (#24664)
  • Fixed “Invalid =sink generated for pure inheritable object” (#24725)
  • Fixed “Mangling wrong for static parameters” (#24705)
  • Fixed “Error: identifier expected, but found '(0, 0)[0]' with let _ = in for _ in r.fields” (#24339)
  • Fixed “{.gcsafe.} block breaks move analysis” (#24754)
  • Fixed “Thread local not registed as GC root when =destroy exists (refc)” (#24770)
  • Fixed “sign of NaN differs in CT & RT” (#24772)
  • Fixed “setjmp on linux mangles ebp leading to early collection” (#10625)
  • Fixed “Invalid C code generation in ORC with methods, a case object, and std/options” (#24801)
  • Fixed “weird SIGSEV with scopes and seqs” (#24806)
  • Fixed “macro-generated if/else and when/else statements have mismatched indentation with repr” (#24850)
  • Fixed “cross-module sink analysis broken” (#24764)
  • Fixed “Data getting wiped on copy with iterators and =copy on refc” (#24879)
  • Fixed “build_all.sh koch tools fails to build atlas” (#24881)
  • Fixed “doc: export for imported symbols are not generated document.” (#24890)

The complete list of changes is available here.

Nim 2.0.16

  • Fixed “static openArray backed by seq cannot be passed to another function” (#24630)
  • Fixed “size pragma on type used in type imported indirectly results in inconsistent C declarations of type size” (#24623)
  • Fixed “Bad codegen when casting procs” (#5901)
  • Fixed “Copy hook causes an incompatible-pointer-types warning/error in GCC 14 with subclassed objects” (#24147)
  • Fixed “Thread local not registed as GC root when =destroy exists (refc)” (#24770)
  • Fixed “setjmp on linux mangles ebp leading to early collection” (#10625)
  • Fixed “Invalid C code generation in ORC with methods, a case object, and std/options” (#24801)
  • Fixed “macro-generated if/else and when/else statements have mismatched indentation with repr” (#24850)

The complete list of changes is available here.