# Nim

Nim is a statically typed compiled systems programming language that compiles to C, C++, or JavaScript.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Nim version 2.4.2 released

DevFeed: [Nim version 2.4.2 released](<https://devfeed.tech/articles/nim-version-2-4-2-released-132429.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/11/13/nim-242.html>)

Published: 2026-11-13T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [project release](<https://devfeed.tech/topics/project-release.md>), [release engineering](<https://devfeed.tech/topics/release-engineering.md>), [version](<https://devfeed.tech/topics/version.md>)

Tags: [asm](<https://devfeed.tech/tags/asm.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [builds](<https://devfeed.tech/tags/builds.md>), [clang](<https://devfeed.tech/tags/clang.md>), [download](<https://devfeed.tech/tags/download.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [generics](<https://devfeed.tech/tags/generics.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [install](<https://devfeed.tech/tags/install.md>), [ipv6](<https://devfeed.tech/tags/ipv6.md>), [json](<https://devfeed.tech/tags/json.md>), [manager](<https://devfeed.tech/tags/manager.md>), [memory](<https://devfeed.tech/tags/memory.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [sso](<https://devfeed.tech/tags/sso.md>), [stable](<https://devfeed.tech/tags/stable.md>), [unicode](<https://devfeed.tech/tags/unicode.md>), [version](<https://devfeed.tech/tags/version.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Nim 2.4.2 is the first patch release for Nim 2.4, issued two weeks after 2.4.0 with 65 commits. The listed fixes address regressions and defects across generics, JSON string handling, Unicode and IP parsing, Windows console input, memory managers, ARC/ORC destruction, and the C and JavaScript backends. To update an existing choosenim installation, run `choosenim update self` followed by `choosenim update stable`; choosenim must be version 0.8.5 or newer. The text also points to OS package managers and nightly builds as installation options. The supplied text gives examples of fixes, not the complete change list.

### Source excerpt

The Nim Team is happy to announce version 2.4.2, the first patch release for our stable release, Nim 2.4. It comes two weeks after the 2.4.0 release and it contains 65 commits, bringing bugfixes and improvements. If you missed the 2.4.0 release and want to see what's new in Nim 2.4, check this article. Installing Nim 2.4.2 Check out if the package manager of your OS already ships version 2.4.2 or install it as described here. If you have installed a previous version of Nim using choosenim, getting Nim 2.4.2 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.4.2 from our nightlies builds. Bugfixes Fixed "2.2.14 regression (?) for sameType with generics" (#26574) Fixed "Regression from 2.2.12 to 2.2.14 with --noLinking:on" (#26580) Fixed "parsejson: long strings compare unequal after JSON round-trip with -strings:sso" (#26597) Fixed "--strings:sso: [^1] on a seq through a pointer generates invalid C (nimStrLen)" (#26593) Fixed "The error for a proc that violates a proc type's .forbids names neither the effect nor where it comes from" (#26514) Fixed "std/unicode lastRune/runeStrAtPos raise IndexDefect on invalid UTF-8" (#26591) Fixed "A second -mm switch leaves the first memory manager's symbol defined" (#26610) Fixed "readLine on a Windows console corrupts memory on Ctrl+C" (#26430) Fixed "--mm:yrc: const with a seq of a self-referencing ref fails with "cannot evaluate at compile time: lockState"" (#26579) Fixed "Link error from gcc when compile pragma is used and hotcodereloading:on" (#13367) Fixed "--ic:on does not rebuild when a file read with staticRead changes" (#26614) Fixed "parseIpAddress accepts IPv6 groups with more than 4 hex digits" (#26647) Fixed "asm statements are emitted without volatile, so the C compiler may merge, hoist

## Nim version 2.4.0 released

DevFeed: [Nim version 2.4.0 released](<https://devfeed.tech/articles/nim-version-2-4-0-released-105423.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/10/28/nim-240.html>)

Published: 2026-10-28T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [version](<https://devfeed.tech/topics/version.md>), [builds](<https://devfeed.tech/topics/builds.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [api](<https://devfeed.tech/tags/api.md>), [convenient](<https://devfeed.tech/tags/convenient.md>), [cycles](<https://devfeed.tech/tags/cycles.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [features](<https://devfeed.tech/tags/features.md>), [incremental](<https://devfeed.tech/tags/incremental.md>), [low-level](<https://devfeed.tech/tags/low-level.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [nim](<https://devfeed.tech/tags/nim.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [porting](<https://devfeed.tech/tags/porting.md>), [rebuilds](<https://devfeed.tech/tags/rebuilds.md>), [release](<https://devfeed.tech/tags/release.md>), [release-highlights](<https://devfeed.tech/tags/release-highlights.md>), [small](<https://devfeed.tech/tags/small.md>), [sso](<https://devfeed.tech/tags/sso.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Nim 2.4.0 adds SSO strings, parallel incremental compilation, thread-safe cycle collection, concise sum types, and explicitly declared cyclic imports. SSO requires porting raw string pointer access to intent-specific helpers such as `readRawData` and `beginStore`/`endStore`; this API works across string backends, though SSO may not improve every program. Incremental compilation uses multiprocessing, and compile-time macros that rely on global state may need changes. YRC supports cycles shared across threads with ORC's API, at a reported cost of about twice the runtime and memory in `orcbench`. Sum types remove the explicit discriminator declaration and restrict field access through pattern matching. Cyclic imports use `{.cyclic.}` to enable phase-by-phase checking. The release also describes experimental `owned` references, which require `--experimental:ownedRefs` and may change incompatibly. Nim 2.2.14 is available for users who want to stay on that series.

### Source excerpt

The Nim Team is happy to announce version 2.4.0, our new stable release. After a way-too-long period of development, Nim 2.4 has finally become a reality. This is a major update shipping major new features: --strings:sso for improved string processing efficiency. --ic:on for parallel, incremental rebuilds. --mm:yrc, a new cycle collection algorithm that supports cycles spanning multiple threads. More convenient sum types. Cyclic module dependencies: still not encouraged, but fair game once you declare them with {.cyclic.}. 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. If you want to stay on Nim 2.2 for now, we also released version 2.2.14 today, a patch release with many bugfixes and security fixes. Installing Nim 2.4.0 Check out if the package manager of your OS already ships version 2.4.0 or install it as described here. If you have installed a previous version of Nim using choosenim, getting Nim 2.4.0 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.4.0 from our nightlies builds. Release highlights Strings based on the small-string optimization (SSO) SSO-based strings come with a new low-level strings API that you have to use in order to use this switch effectively. Nim's new strings API is compatible with Nimony's, so porting is always beneficial, even if --strings:sso might not improve the performance of your code. See it as a worthwhile, future-proof refactoring in its own right. The general idea behind this API is to deprecate the operation addr myString[offset] and to replace it with operations that clarify the intent. Reading is distinguished from writing. Here is our porting guide: Purpose Use Notes Read-only raw

## Nim version 2.2.14 released

DevFeed: [Nim version 2.2.14 released](<https://devfeed.tech/articles/nim-version-2-2-14-released-105422.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/10/28/nim-2214.html>)

Published: 2026-10-28T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [releases](<https://devfeed.tech/topics/releases.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [certificates](<https://devfeed.tech/topics/certificates.md>)

Tags: [1-6](<https://devfeed.tech/tags/1-6.md>), [2-2](<https://devfeed.tech/tags/2-2.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [commits](<https://devfeed.tech/tags/commits.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [headers](<https://devfeed.tech/tags/headers.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [modules](<https://devfeed.tech/tags/modules.md>), [nim](<https://devfeed.tech/tags/nim.md>), [patch](<https://devfeed.tech/tags/patch.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [redirect](<https://devfeed.tech/tags/redirect.md>), [release](<https://devfeed.tech/tags/release.md>), [reverse-proxy](<https://devfeed.tech/tags/reverse-proxy.md>), [security](<https://devfeed.tech/tags/security.md>), [security-fixes](<https://devfeed.tech/tags/security-fixes.md>), [stable](<https://devfeed.tech/tags/stable.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Nim 2.2.14 is the seventh patch release in the stable 2.2 series, with 142 commits. Its security fixes address credential leakage on cross-origin redirects, HTTP request smuggling and ambiguous body framing, TLS certificate checks for IP addresses and hostnames, request/header injection, parser resource exhaustion, and several other input-handling issues. The excerpt also lists fixes across the compiler, runtime, standard library, tooling, and platform support. Users can install through their OS package manager, update an existing installation with `choosenim update self` and `choosenim update stable` (the release recommends choosenim v0.8.16), or download a nightly build. The supplied text is an excerpt and does not include the complete change list.

### Source excerpt

The Nim Team is happy to announce version 2.2.14, the seventh patch release for our stable release, Nim 2.2. It comes seven weeks after the 2.2.12 release and it contains 142 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. Installing Nim 2.2.14 Check out if the package manager of your OS already ships version 2.2.14 or install it as described here. If you have installed a previous version of Nim using choosenim, getting Nim 2.2.14 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.14 from our nightlies builds. Security fixes This release hardens several standard library modules against malicious input: httpclient: on a redirect that leaves the origin (scheme, host, port) of the requested URL, the Authorization, Cookie and Host headers are now dropped, so a server can no longer redirect the client to a host it controls and read its credentials. (STD-001) asynchttpserver: request bodies are now always read completely. Chunked bodies of methods other than POST, chunk extensions and trailer fields could previously be parsed as the next request on the connection, which allowed request smuggling behind a reverse proxy. (STD-002) asynchttpserver: requests with ambiguous body framing (both Content-Length and Transfer-Encoding, repeated or malformed Content-Length, unknown transfer codings, whitespace before the colon) are now rejected following RFC 9112, section 6.3. (STD-003) net, asyncnet: when a TLS client connects to an IP address, the address is now checked against the certificate's IP SANs. Previously any certificate signed by a trusted CA was accepted. (STD-004) cmdline: parseCmdLin

## How many strings can you create per second?

DevFeed: [How many strings can you create per second?](<https://devfeed.tech/articles/how-many-strings-can-you-create-per-second-59788.md>)

Original publisher: [Read original article](<https://lemire.me/blog/2026/09/25/how-many-strings-can-you-create-per-second/>)

Author: Daniel Lemire

Published: 2026-09-25T01:30:49Z

Content type: article

Language: en

Sources: [Daniel Lemire](<https://devfeed.tech/sources/daniel-lemire.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Bun](<https://devfeed.tech/topics/bun.md>), [Nim](<https://devfeed.tech/topics/nim.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [bun](<https://devfeed.tech/tags/bun.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [go](<https://devfeed.tech/tags/go.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [macos](<https://devfeed.tech/tags/macos.md>), [nim](<https://devfeed.tech/tags/nim.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

A benchmark compares how quickly Python, JavaScript runtimes, C++, Rust, Go, and Nim can create short strings from integers. C++ is fastest in the reported Apple M4 Max tests, while Python is slowest; the article attributes C++'s result to small string optimization and notes that garbage-collected runtimes handle many short-lived objects efficiently.

### Source excerpt

We create new strings all the time. How quickly can you produce short strings in your programming languge? To create a meaningful string, we convert an integer to a string. In Python, that is str(i). The loop stores each new string in a small ring buffer of 1024 slots, so that the engine cannot simply ... Continue reading How many strings can you create per second?

## Nim version 2.2.12 released

DevFeed: [Nim version 2.2.12 released](<https://devfeed.tech/articles/nim-version-2-2-12-released-53637.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/09/08/nim-2212.html>)

Published: 2026-09-08T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [version](<https://devfeed.tech/topics/version.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The Nim Team announces Nim 2.2.12, the sixth patch release in the stable Nim 2.2 series. The release contains 142 commits with bug fixes and improvements, including fixes involving C++ compilation, memory management, closures, object types, pointers, inheritance, and regressions.

### Source excerpt

The Nim Team is happy to announce version 2.2.12, the sixth patch release for our stable release, Nim 2.2. It comes four months after the 2.2.10 release and it contains 142 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. Installing Nim 2.2.12 Check out if the package manager of your OS already ships version 2.2.12 or install it as described here. If you have installed a previous version of Nim using choosenim, getting Nim 2.2.12 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.12 from our nightlies builds. Bugfixes Fixed "distinctBase(distinct L[int, 100]) does not match L" (#25789) Fixed "& (strformat): interprets {n-1} as {n(-1)}" (#25821) Fixed "[C++] ICE expr(sktype): unknown symbol when bindSym constructor proc in macro" (#25814) Fixed "SIGSEGV with refc and RVO" (#25294) Fixed "Poor error message on cast effect violation" (#22950) Fixed "ProveField warning with nested case object" (#22791) Fixed "incompatible function pointer types C error with uint vs csize_t" (#25617) Fixed "regression from 2.2.10 to devel with lent and type aliasing" (#25796) Fixed "SIGSEGV in ARC/ORC with repeated use of {.dirty.} template and seq allocations" (#25693) Fixed "-panics:on drops the nimErr_ check after a closure call (goto exceptions), causing OverflowDefect; regression from #25295" (#25851) Fixed "typeof(result) wrongly counted as use-before-init of result on {.requiresInit.} return types (regression from #25151)" (#25857) Fixed "Missing eqcopy for value copy of value-type case object with ref field" (#25595) Fixed "Iteration on elements of array, unlike seq, always copies the elements" (

## Nim version 2.2.10 released

DevFeed: [Nim version 2.2.10 released](<https://devfeed.tech/articles/nim-version-2-2-10-released-53636.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/04/24/nim-2210.html>)

Published: 2026-04-24T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [version](<https://devfeed.tech/topics/version.md>), [changelog](<https://devfeed.tech/topics/changelog.md>), [builds](<https://devfeed.tech/topics/builds.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [builds](<https://devfeed.tech/tags/builds.md>), [changelog](<https://devfeed.tech/tags/changelog.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The Nim team announces Nim 2.2.10, the fifth patch release in the stable Nim 2.2 series. The release includes 76 commits with bug fixes and improvements, and the article provides installation guidance and links to the changelog.

### Source excerpt

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. NimConf 2026 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. Installing Nim 2.2.10 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. Bugfixes Fixed "new doesn't work with ref object" (#25005) Fixed "Switch default mangling back to cpp" (#25338) Fixed "unhandled exception: field 'sym' is not accessible with type W[N] = seq[tuple[b: N]]" (#25509) Fixed "proc f(x: static[auto]) doesn't treat x as static" (#21281) Fixed "Invalid codegen for accessing tuple in array" (#25553) Fixed "proc v[T: typedesc]() = discard / v[0]() compiles even though 0 isn't a typedesc" (#25262) Fixed "ICE evaluating closure iter with object conversion" (#25572) Fixed "Regression from v2.2.6 to v2.2.8 and also devel in refc {.align.} pragma where each 16-byte-aligned heap objects gets its own page" (#25566) Fixed "Nim v2.2.x ORC adds extra nimZeroMem/nimCopyMem/stack usage over refc" (#25552) Fixed "Regression from 2.0 to version-2-2/devel with refc, LTO and -fstack-usag

## NimConf 2026: Dates Announced, Registrations Open

DevFeed: [NimConf 2026: Dates Announced, Registrations Open](<https://devfeed.tech/articles/nimconf-2026-dates-announced-registrations-open-53635.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/04/07/nimconf-2026.html>)

Published: 2026-04-07T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [announce](<https://devfeed.tech/tags/announce.md>), [community](<https://devfeed.tech/tags/community.md>), [event](<https://devfeed.tech/tags/event.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>)

### AI overview

An announcement for NimConf 2026, an online event focused on the Nim programming language and its ecosystem. The event will take place on June 20, 2026, with talk proposals due by May 10 and recordings due by June 7.

### Source excerpt

The Nim Team is happy to announce the next instalment of NimConf! NimConf 2026 will happen June 20, 2026 in the traditional online format where the talks are pre-recorded and revealed as premiers on YouTube while the viewers can ask questions and the presenter can answer them in the live chat. If you have anything to share with the Nim community, submit your talk proposal before May 10, 2026. The moderators will contact you if your talk is accepted and you'll have time until June 7, 2026 to record and submit your talk. If you are unsure if your topic fits with the NimConf format, please do submit it anyway: the Nim community is generally open to learn about anything Nim-related from pet project showcases to niche libraries and business usecases. What is NimConf? NimConf is an online community event all about the Nim programming language: language development, its ecosystem, projects created with Nim, business cases enabled with Nim, and so on. Basically, anything Nim-related is a legit topic for a talk. For viewers, it's a great opportunity to learn about the latest Nim development progress, discover new areas to use Nim for, improve your Nim expertise, and exchange experience with other Nim enthusiasts. For presenters, NimConf is an opportunity to reach out to new audiences, promote your work, collect feedback, and build the community. You can see all the talks from previous years on YouTube: NimConf 2020 NimConf 2021 NimConf 2022 NimConf 2024 Important Dates Talk proposals are accepted until May 10, 2026. Talk recordings must be submitted before June 7, 2026. NimConf 2026 will be held on June 20, 2026.

## Nim version 2.2.8 released

DevFeed: [Nim version 2.2.8 released](<https://devfeed.tech/articles/nim-version-2-2-8-released-53634.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2026/02/23/nim-228.html>)

Published: 2026-02-23T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [version](<https://devfeed.tech/topics/version.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Nim 2.2.8 is a patch release for the stable Nim 2.2 series, containing 89 commits with bug fixes and improvements. It includes a more stable default allocator for heavily multithreaded code, installation guidance, and fixes affecting compilation, code generation, iterators, closures, Unicode handling, and other language features.

### Source excerpt

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. Highlights 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! Installing Nim 2.2.8 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. Bugfixes Fixed "Unexpected ambiguous call with fields over object with default fields" (#25252) Fixed "C++ styled name mangling must be opt-in via a different switch than -debuginfo" (#25263) Fixed "Regression in 2.2.6: SIGBUS with iterator over const Table lookup - premature temporary destruction" (#25251) Fixed "Unable to build Nim 2.2.6 tools from source" (#25265) Fixed "std/unicode.strip trailing fails on some characters" (#19846) Fixed "Regression: .global initialization inside method hoisted to preInitProc without temporary variable declarations (invalid C codegen)" (#25284) Fixed "passing tuple with items defined as concept (UserDefinedClass) causes compiler crash" (#25227) Fixed "setLen slow when shrinking seq due to zero-filling of released area" (#19728) Fixed "setLenUninit missin

## Nim version 2.2.6 released

DevFeed: [Nim version 2.2.6 released](<https://devfeed.tech/articles/nim-version-2-2-6-released-53633.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2025/10/31/nim-226.html>)

Published: 2025-10-31T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [version](<https://devfeed.tech/topics/version.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Exception handling](<https://devfeed.tech/topics/exception-handling.md>), [Closure](<https://devfeed.tech/topics/closure.md>), [copy](<https://devfeed.tech/topics/copy.md>), [return](<https://devfeed.tech/topics/return.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>)

Tags: [2-2](<https://devfeed.tech/tags/2-2.md>), [announce](<https://devfeed.tech/tags/announce.md>), [async](<https://devfeed.tech/tags/async.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [builds](<https://devfeed.tech/tags/builds.md>), [closure](<https://devfeed.tech/tags/closure.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [copy](<https://devfeed.tech/tags/copy.md>), [download](<https://devfeed.tech/tags/download.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [install](<https://devfeed.tech/tags/install.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [return](<https://devfeed.tech/tags/return.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The Nim team announces Nim 2.2.6, a patch release for the stable Nim 2.2 series containing 141 commits of bug fixes and improvements. The release updates exception handling and closure iterator transformation, enables a compiler move optimization for return field expressions, and includes installation guidance and numerous fixes.

### Source excerpt

The Nim Team is happy to announce version 2.2.6, the third patch release for our stable release, Nim 2.2. It comes six months after the 2.2.4 release and it contains 141 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.6 changelog is available here. Highlights Exception handling combined with Nim's async is more stable than ever before as the underlying closure iterator transformation has been rewritten. The compiler is now smart enough to produce a move operation for return obj.field. Previously it performed a copy. Expect your code to run slightly faster due to this and other minor performance improvements. Installing Nim 2.2.6 Check out if the package manager of your OS already ships version 2.2.6 or install it as described here. If you have installed a previous version of Nim using choosenim, getting Nim 2.2.6 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.6 from our nightlies builds. Bugfixes Fixed "=destroy for non-var failed to compile when JS" (#24914) Fixed "{.push raises: [].} doesn't respect lexical scoping" (#23355) Fixed "Pragma block disabling warning has effect beyond block" (#21975) Fixed "missing < (less than), cmp for cstring" (#24941) Fixed "[GC] Illegal storage access when collecting cycle" (#4851) Fixed "Globals in proc with static params end up being re-initialized" (#24940) Fixed "Constructor to global variable in converter generates illegal c code" (#4594) Fixed "Compile-time regression from v2.2.4 to version-2-2/devel with global variable with unhandled exception: iterators.nim(254, 11) len(a) == L the length of the seq changed while iterating

## Nim versions 2.2.4 and 2.0.16 released

DevFeed: [Nim versions 2.2.4 and 2.0.16 released](<https://devfeed.tech/articles/nim-versions-2-2-4-and-2-0-16-released-53632.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2025/04/22/nim-224-2016.html>)

Published: 2025-04-22T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>)

Tags: [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [builds](<https://devfeed.tech/tags/builds.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

The Nim Team announces Nim versions 2.2.4 and 2.0.16, containing bug fixes and improvements. The release also highlights improvements to ORC memory management and the language and compiler in Nim 2.2.

### Source excerpt

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 "we

## Nim version 2.2.2 released

DevFeed: [Nim version 2.2.2 released](<https://devfeed.tech/articles/nim-version-2-2-2-released-53631.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2025/02/05/nim-222.html>)

Published: 2025-02-05T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [version](<https://devfeed.tech/topics/version.md>), [changelog](<https://devfeed.tech/topics/changelog.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [changelog](<https://devfeed.tech/tags/changelog.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The Nim Team announces Nim 2.2.2, the first patch release in the stable Nim 2.2 series. The release includes 203 commits with bug fixes and improvements, installation guidance, and fixes for compiler crashes, invalid generated code, build failures, memory leaks, and other issues.

### Source excerpt

The Nim Team is happy to announce version 2.2.2, the first patch release for our stable release, Nim 2.2. It comes four months after the 2.2.0 release and it contains 203 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.2 changelog is available here. Installing Nim 2.2.2 Check out if the package manager of your OS already ships version 2.2.2 or install it as described here. If you have installed a previous version of Nim using choosenim, getting Nim 2.2.2 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.2 from our nightlies builds. Bugfixes Fixed "compiler crash on len of varargs[untyped]" (#24258) Fixed "Force compiler generate declaration of a type" (#19585) Fixed "importc types alias doesn't work with distinct" (#18896) Fixed "Seg fault when adding deque element" (#24319) Fixed "Nested iterator doesn't work in proc" (#3824) Fixed "internal error: not part of closure object type" (#19984) Fixed "Size/Signedness issues with unordered enums" (#23952) Fixed "Calling proc with nested ref/deref constructed object results in invalid generated code" (#18081) Fixed "Error: VM problem: dest register is not set with const-bound proc" (#24359) Fixed "C compiler error when default initializing an object field function when the default function is overloaded" (#23545) Fixed "SIGSEGV with nim c -c and nim e on macro w(): untyped = result = genSym(nskType)" (#24379) Fixed "build failed for lib/pure/selectors via mingw" (#24371) Fixed "supportsCopyMem can fail from macro context with tuples" (#24378) Fixed "Stop writing .

## Nim Community Survey 2024 Results

DevFeed: [Nim Community Survey 2024 Results](<https://devfeed.tech/articles/nim-community-survey-2024-results-53630.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2025/01/23/community-survey-results-2024.html>)

Published: 2025-01-23T00:00:00Z

Content type: article

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Users](<https://devfeed.tech/topics/users.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [programming](<https://devfeed.tech/tags/programming.md>), [results](<https://devfeed.tech/tags/results.md>), [software](<https://devfeed.tech/tags/software.md>), [survey](<https://devfeed.tech/tags/survey.md>)

### AI overview

The Nim Community Survey 2024 collected 367 responses to understand how the Nim community uses the language and how it should be improved. The results describe usage levels, user demographics and experience, reasons some respondents do not use Nim, and preferred editors and Nim versions.

### Source excerpt

The Nim community survey 2024 has been open for two months, and we have received 367 responses - less than in previous years, but we'll still try to draw conclusions about our users and their habits. Before we go into details, we would like to thank all the people who took the time to respond. We really appreciate the feedback! The goal of this survey was primarily to determine how our community is using Nim, in order to better understand how we should be improving it. Do you use Nim? Based on the answer to this question, the respondents were divided into two groups that each received a separate set of questions. Approximately three quarters of the respondents use Nim (40% frequently, 36% occasionally), while the remaining quarter is divided between people who never used Nim (7%) and people who stopped using Nim (17%). Of those people who don't use Nim, the most frequent reasons are: "Nim seems immature, not ready for production", "Nim doesn't have libraries I need","Nim doesn't have enough learning materials", and "Nim seems too risky for production", in that order. Users Compared to the response from last year, our user-base has more Nim experience than before. With 57% of users who are using Nim for at least two years and only 15% new users (using Nim less than a year), it seems that we're not attracting enough new users. A typical Nim user, just as in previous years, would be a software developer from Europe. Besides Europe (more than half of our users), our users mostly come from North America and Asia. We see a slight decline of software developers (41% vs 49% last year), while there is an increase of freelancers and business owners. We have users from all age groups and all levels of programming experience, proving that Nim can be used both by beginners and veteran programmers. Similar to last year, 33% Nim users are older than 40, 18% younger than 24. The experience is also similar to last year: 55% users having at least 10 years of experience and just 6% us

## Nim version 2.0.14 released

DevFeed: [Nim version 2.0.14 released](<https://devfeed.tech/articles/nim-version-2-0-14-released-53629.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2024/12/24/nim-2014-released.html>)

Published: 2024-12-24T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [version](<https://devfeed.tech/topics/version.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [nim](<https://devfeed.tech/tags/nim.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The Nim team announces Nim 2.0.14, the seventh patch release in the Nim 2.0 series. The release includes 40 commits, improvements over Nim 2.0.12, installation guidance, and fixes for issues including memory leaks, regressions, invalid generated C code, segmentation faults, and build failures.

### Source excerpt

The Nim team is happy to announce Nim version 2.0.14, our seventh patch release for Nim 2.0, for our users who haven't switched yet to Nim 2.2. Version 2.0.14 contains 40 commits, and it brings several improvements to Nim 2.0.12, released two months ago. Installing Nim 2.0.14 If you have installed a previous version of Nim using choosenim, getting Nim 2.0.14 is as easy as: $ choosenim update self $ choosenim 2.0.14 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.0.14 from our nightlies builds. Nim Community Survey 2024 We would like to remind you about Nim Community Survey. If you haven't participated yet, now's the time. It shouldn't take more than 5 minutes, and it helps us to make Nim better. Bugfixes These reported issues were fixed: Fixed "ensureMove usage leading to memory leak for JsonNode !" (#24504) Fixed "UB calling allocCStringArray([""]) with --mm:refc" (#22153) Fixed "Regression when using generic type with Table/OrderedTable" (#23233) Fixed "Wrong C code generated for newSeqWith when initializing two variables" (#18104) Fixed "Wrong behaviour when wrapping a constant object variant into a sequence at runtime" (#23295) Fixed "Invalid C code generated for lent array in tuple" (#24034) Fixed "Seg fault when adding deque element" (#24319) Fixed "C compiler error when default initializing an object field function when the default function is overloaded" (#23545) Fixed "build failed for lib/pure/selectors via mingw" (#24371) Fixed "Calling proc with nested ref/deref constructed object results in invalid generated code" (#18081) Fixed "let symbol created by template is reused in nimvm branch " (#24472) Fixed "building nimble 0.16.4 fails when running build_all.sh" (#24536) The complete list of changes is available here.

## Launching the 2024 Nim Community Survey

DevFeed: [Launching the 2024 Nim Community Survey](<https://devfeed.tech/articles/launching-the-2024-nim-community-survey-53628.md>)

Original publisher: [Read original article](<https://nim-lang.org//blog/2024/12/09/community-survey-2024.html>)

Published: 2024-12-09T00:00:00Z

Content type: release

Language: en

Sources: [Nim Programming Language](<https://devfeed.tech/sources/nim-programming-language.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [nim](<https://devfeed.tech/tags/nim.md>), [survey](<https://devfeed.tech/tags/survey.md>)

### AI overview

The Nim team announced the launch of its 2024 community survey, inviting current, former, and prospective Nim users to provide feedback that will inform the project's understanding of its strengths, weaknesses, and future development priorities. The survey was expected to remain open until the start of 2025, with results to be published afterward.

### Source excerpt

We are proud to announce the launch of the official 2024 Nim Community Survey! No matter whether you use Nim today, have used Nim previously, or never used Nim before; we want to know your opinions. Your feedback will help the Nim project understand its strengths and weaknesses, and to determine development priorities for the future. Answer Survey It shouldn't take you much longer than 5 minutes to complete this survey. Submissions will be accepted until the start of 2025, depending on the response rates. If you have any questions or feedback, please don't hesitate to get in touch with us via email at survey@nim-lang.org or on the Nim Forum. This is now the eight year in which this survey has been running. An analysis of the results for the past years can be found at the following links: 2016 2017 2018 2019 2020 2021 2023 We would appreciate your help in spreading the word about this survey. Share the Google Forms link on your social network feeds, with your colleagues and in other communities. Once the submission period ends, the results will be shown here and publicized via the Nim Forum. Thanks for your time!

## Announcing Ethereum Foundation and Co-Funded Grants

DevFeed: [Announcing Ethereum Foundation and Co-Funded Grants](<https://devfeed.tech/articles/announcing-ethereum-foundation-and-co-funded-grants-16857.md>)

Original publisher: [Read original article](<https://blog.ethereum.org/en/2019/08/26/announcing-ethereum-foundation-and-co-funded-grants>)

Author: Ethereum Foundation

Published: 2019-08-26T00:00:00Z

Content type: release

Language: en

Sources: [Ethereum Foundation Blog](<https://devfeed.tech/sources/ethereum-foundation-blog.md>)

Topics: [Ethereum](<https://devfeed.tech/topics/ethereum.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Network](<https://devfeed.tech/topics/network.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [Security](<https://devfeed.tech/topics/security.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Nim](<https://devfeed.tech/topics/nim.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>)

Tags: [beacon](<https://devfeed.tech/tags/beacon.md>), [bounty](<https://devfeed.tech/tags/bounty.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [ecosystem-support-program](<https://devfeed.tech/tags/ecosystem-support-program.md>), [ethereum](<https://devfeed.tech/tags/ethereum.md>), [funding](<https://devfeed.tech/tags/funding.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [launch](<https://devfeed.tech/tags/launch.md>), [networking](<https://devfeed.tech/tags/networking.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The Ethereum Foundation announces more than $2 million in Foundation-led and co-funded grants for Serenity (Eth2.0) development. Funding supports client implementations, Beacon Chain and testnet work, networking and interoperability, security research, and Lodestar JavaScript development, alongside open research and development bounties.

### Source excerpt

We are today unveiling over $2M USD in Foundation-led and co-funded grant funding aimed at furthering Serenity (Eth2.0) development as we move nearer to the launch of the Beacon Chain....

## Nim Code Coverage

DevFeed: [Nim Code Coverage](<https://devfeed.tech/articles/nim-code-coverage-30829.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/nim-code-coverage/>)

Published: 2016-10-31T23:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [code-coverage](<https://devfeed.tech/tags/code-coverage.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [nim](<https://devfeed.tech/tags/nim.md>)

### AI overview

A tutorial on generating Nim code coverage reports with gcov and lcov. It shows how to enable Nim line information and compiler coverage flags, while noting that optimization and dead-code elimination can exclude impossible code and uncovered functions from coverage results.

### Source excerpt

Creating code coverage reports with Nim is surprisingly easy. You can simply use the good old gcov and lcov tools. Nim can be told to insert its own line information with the --debugger:native command line parameter. Here's the small example program we're looking at: var x = 0 if x > 1: echo "foo" echo "bar" Note that if we change the condition to if false: the Nim compiler optimizes the impossible code away and it will not count as uncovered. The same thing can happen with entire uncovered functions when optimizations and dead code elimination are enabled. The file is saved as x.nim. Here's the script I use to create the code coverage report: #!/bin/sh rm -rf *.info html nimcache nim --debugger:native --passC:--coverage --passL:--coverage c x lcov --base-directory . --directory . --zerocounters -q ./x lcov --base-directory . --directory . -c -o x.info lcov --remove x.info "lib/*" -o x.info # remove Nim system libs from coverage genhtml -o html x.info You can look at the final html report generated.

## Writing a 2D Platform Game in Nim with SDL2

DevFeed: [Writing a 2D Platform Game in Nim with SDL2](<https://devfeed.tech/articles/writing-a-2d-platform-game-in-nim-with-sdl2-30846.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/writing-a-2d-platform-game-in-nim-with-sdl2/>)

Published: 2016-06-13T22:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Simple DirectMedia Layer](<https://devfeed.tech/topics/sdl.md>), [Game Development](<https://devfeed.tech/topics/game-development.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Graphics](<https://devfeed.tech/topics/graphics.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [game-development](<https://devfeed.tech/tags/game-development.md>), [github](<https://devfeed.tech/tags/github.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [linux](<https://devfeed.tech/tags/linux.md>), [nim](<https://devfeed.tech/tags/nim.md>), [programming](<https://devfeed.tech/tags/programming.md>), [sdl](<https://devfeed.tech/tags/sdl.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This tutorial explains how to build a simple 2D platform game in Nim with SDL2. It covers user input, graphics, tile maps, 2D physics with collision detection, camera movement, game logic, text rendering with caching, source code organization, and cross-compiling Nim programs for Windows on Linux.

### Source excerpt

Japanese Translation In this article we're going to write a simple 2D platform game. You can also consider this as a tutorial for game development with SDL2 in Nim. We will read in user input, display graphics and a tile map, and simulate simple 2D physics with collision detection and handling. Afterwards we will implement simple camera movement and game logic. To display some information we will render texts and develop a caching mechanism for said text rendering. The final result will be a binary file that requires only SDL2 and can be easily distributed, perfect for games. If you're on Linux we will also present a simple way to cross-compile Nim programs for Windows. For the sake of simplicity we're going to use the familiar graphics from DDNet and Teeworlds, with the end result of this tutorial looking like this: We're going to follow along with the development throughout this article with illustrative images and videos, but the best way to learn is if you follow along yourself by implementing the steps from this article. The code is purposefully kept simple and easy to extend so that you can play around with it and try out all kinds of changes to get an intuitive understanding. At the end of every section there is a link to its full source code. The iterations of the code of this article and the final result are available in a repository on GitHub. The resulting binaries can be downloaded here: Win64, Win32, Linux x86_64, Linux x86 Preliminaries For this post we require: The Nim programming language and its package manager Nimble SDL 2, SDL_image 2, SDL_ttf 2 (all for developers) Nim SDL2 wrapper and strfmt, which can be installed using Nimble On a unixoid system like Linux or Mac OS X the installation looks something like this: # Debian / Ubuntu $ sudo apt-get install git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev # Arch Linux $ pacman -S git sdl2 sdl2_image sdl2_ttf # Homebrew on OS X $ brew install git sdl2 sdl2_image sdl2_ttf # FreeBSD $ pkg install git

## Introduction to Metaprogramming in Nim

DevFeed: [Introduction to Metaprogramming in Nim](<https://devfeed.tech/articles/introduction-to-metaprogramming-in-nim-30821.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/introduction-to-metaprogramming-in-nim/>)

Published: 2016-06-05T22:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [generic programming](<https://devfeed.tech/topics/generic-programming.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [generics](<https://devfeed.tech/tags/generics.md>), [metaprogramming](<https://devfeed.tech/tags/metaprogramming.md>), [nim](<https://devfeed.tech/tags/nim.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

This tutorial introduces metaprogramming in Nim and explains a progression from ordinary procedures and iterators to generic procedures, closure iterators, templates, and macros. It describes how these constructs can work with or transform program code.

### Source excerpt

Introduction to the Introduction (Meta-Introduction) Wikipedia gives us a nice description of metaprogramming: Metaprogramming is the writing of computer programs with the ability to treat programs as their data. It means that a program could be designed to read, generate, analyse and/or transform other programs, and even modify itself while running. In this article we will explore Nim's metaprogramming capabilities, which are quite powerful and yet still easy to use. After all great metaprogramming is one of Nim's main features. The general rule is to use the least powerful construct that is still powerful enough to solve a problem, in this order: Normal procs and inline iterators Generic procs and closure iterators Templates Macros So before looking at Nim's two main metaprogramming constructs, templates and macros, we'll look at what we can do with procs and iterators as well. Regular Programming Constructs Normal procs We're in normal programming land here. Regular procedures are what you know as functions elsewhere and they're pretty easy to define and use: proc sayHi(name: string) = echo "Hello ", name sayHi("World") sayHi "World" "World".sayHi Generic procs With generics we can define procs that work on multiple types. Actually a new proc will be generated based on our generic definition for each instantiation: proc min[T](x, y: T): T = if x < y: x else: y echo min(2, 3) # more explicitly: min[int](2, 3) echo min("foo", "bar") # min[string]("foo", "bar") Inline iterators Inline iterators are the default iterators in Nim. They get compiled into high performance loops: iterator reverseItems(x: string): char = for i in countdown(x.high, x.low): yield x[i] for c in "foo".reverseItems: echo c So this code gets compiled into: let x = "foo" for c in countdown(x.high, x.low): let c = x[i] echo c Of course we can make iterators generic too: iterator reverseItems[T](x: T): auto = for i in countdown(x.high, x.low): yield x[i] Closure iterators Inline iterators simultane

## DDNet Server Statistics with ServerStatus, RRDtool and Nim

DevFeed: [DDNet Server Statistics with ServerStatus, RRDtool and Nim](<https://devfeed.tech/articles/ddnet-server-statistics-with-serverstatus-rrdtool-and-nim-30834.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/server-statistics/>)

Published: 2016-05-13T22:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Server](<https://devfeed.tech/topics/server.md>), [Nim](<https://devfeed.tech/topics/nim.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Python](<https://devfeed.tech/topics/python.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [linux](<https://devfeed.tech/tags/linux.md>), [nim](<https://devfeed.tech/tags/nim.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [servers](<https://devfeed.tech/tags/servers.md>), [statistics](<https://devfeed.tech/tags/statistics.md>)

### AI overview

This article explains how DDNet monitors its official game servers using ServerStatus, RRDtool, and Nim while keeping resource usage low. It describes collecting server metrics with Python clients, transmitting them over TCP to a C/C++ server, aggregating them into JSON, displaying them through a JavaScript frontend, and recording CPU, network, and memory data in RRDtool.

### Source excerpt

About a month ago I set up statistics for the official DDNet servers. My motivations for this are: Monitor the servers more easily Get notified about server problems Have nice graphs to look at The choices for the software used are mainly made to keep resource usage low, a general principle used for DDNet since we run on cheap VPSes all around the world and are limited in CPU and memory resources. In the rest of this post we will explore the 3 major tools used, their purpose in our solution as well as their performance impact: ServerStatus: Gather live server statistics RRDtool: Record and graph data Nim: Favorite programming language for performance and readability Gathering live server statistics with ServerStatus We've been running BotoX's ServerStatus to get live server statistics for some time now. It works quite well to quickly notice major server problems like a high load or incoming (D)DoS attacks, provided that you keep an eye out for it. We use ServerStatus by running its simple Python client on each server to gather interesting information. The client transmits that data by TCP to the C/C++ server, which aggregates it into a JSON file. This JSON file is then fetched and displayed every two seconds by the JavaScript frontend of our Status page. On a regular Saturday morning the end result looks like this: On a quick glance you notice that the DDNet.tw server has high CPU usage (which is totally normal since it runs some hefty cron jobs every 20 minutes) and DDNet RUS is receiving a small DoS attack with just 1.6 MB/s (unfortunately also totally normal). Apart from that everything looks fine. ServerStatus footprint, calculated from Linux /proc statistics as follows (in Nim): import os, strutils, posix, strfmt # CPU and memory usage of process, based on PROC(5) and # http://stackoverflow.com/a/16736599 let pid = paramStr(1) # Clock ticks per second frequency = sysconf(SC_CLK_TCK) # Size of memory page in bytes pagesize = sysconf(SC_PAGESIZE) uptime = readFil

## Writing an Async Logger in Nim

DevFeed: [Writing an Async Logger in Nim](<https://devfeed.tech/articles/writing-an-async-logger-in-nim-30847.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/writing-an-async-logger-in-nim/>)

Published: 2016-01-27T23:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [async](<https://devfeed.tech/topics/async.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Code](<https://devfeed.tech/topics/code.md>), [Server](<https://devfeed.tech/topics/server.md>), [client](<https://devfeed.tech/topics/client.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [logging](<https://devfeed.tech/tags/logging.md>), [nim](<https://devfeed.tech/tags/nim.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [syslog](<https://devfeed.tech/tags/syslog.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

A step-by-step Nim tutorial that builds an asynchronous logger for a game server and client. It discusses configurable output to files or stdout, non-blocking disk writes, performance, logging formats, compile-time caller information, and existing Nim logger implementations.

### Source excerpt

Surprisingly I'm working on HookRace again. I might share a few interesting code snippets and thoughts in this blog along the way. I'm still going with Nim as the programming language. For an easy start let's write a logging module that can be used everywhere in the game's server as well as client. There are mostly three aspects that I care about: Can be configured to write to different files and/or stdout Writes to the disk asynchronously, preventing any blocking when the disk is overloaded Reasonable performance Follow along if you want to witness how fun it is to write code in Nim! Motivation A few logger implementations for Nim already exist: logging: A simple logger in the standard library. Configurable, but no async writing omnilog: An advanced logger with lots of features, no async writing syslog: A bit too high level for my taste and no Windows support We could adapt the logging or omnilog modules to our requirements, mainly by adding async writing. For now let's write our own simple logging module from scratch instead. If it turns out to be usable after a few iterations one might merge it with an existing module. Also, this post would be rather boring if I just ended up using an existing logger. Implementation Let's start with the simplest logger possible: proc log*(text: string) = echo text log "Hello World!" We have a procedure log that is exported (*). It takes a value text of type string and prints this text to the standard output. Super simple and can be used like this from another file (or the same one): import logger log "Hello World!" This simply prints Hello World to the terminal for now when we execute it. We want to keep using the logger in this exact format. Next step: Add a fancy logging format: import strutils, times proc log*(text: string) = echo "[$# $#]: $#" % [getDateStr(), getClockStr(), text] This uses the strutils and times modules from Nim's standard library. The % operator formats the string "[$# $#]: $#" with a date, clock and our te

## Nim binary size from 160 KB to 150 Bytes

DevFeed: [Nim binary size from 160 KB to 150 Bytes](<https://devfeed.tech/articles/nim-binary-size-from-160-kb-to-150-bytes-30828.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/nim-binary-size/>)

Published: 2015-05-03T22:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [clang](<https://devfeed.tech/tags/clang.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [glibc](<https://devfeed.tech/tags/glibc.md>), [linux](<https://devfeed.tech/tags/linux.md>), [measurements](<https://devfeed.tech/tags/measurements.md>), [nim](<https://devfeed.tech/tags/nim.md>), [x86](<https://devfeed.tech/tags/x86.md>)

### AI overview

This tutorial explores how to reduce the size of a simple Nim binary on Linux. It demonstrates builds using GCC and Clang, including a 6 KB binary, a 952-byte binary without the C standard library, and a 150-byte binary using a custom linker script and ELF header.

### Source excerpt

The size of binaries in the Nim programming language seems to be a popular topic recently. Nim's slogan is expressive, efficient, elegant, so let's examine the efficient part in this post by exploring a few ways to reduce the size of a simple Nim Hello World binary on Linux. Along the way we will: Build a regular program into a 6 KB binary Disregard the C standard library and build a 952 byte binary Use a custom linker script and ELF header to build a 150 byte binary (1 byte smaller than in Rust) The full source code of this post can be found in its repository. All measurements are done on Linux x86-64 with GCC 5.1 and Clang 3.6.0. Using the C Standard Library echo "Hello!" By default Nim uses GCC as the backend C compiler on most platforms, and we dynamically link against glibc. We can try optimizing for speed and size, as well as strip unnecessary symbols after the compilation: Command (GCC backend) Binary Size nim c hello 160 KB nim -d:release c hello 61 KB nim -d:release --opt:size c hello 25 KB nim -d:release --opt:size c hello && strip -s hello 19 KB That's pretty nice and can be done with any Nim program to reduce binary size. Now let's try to get rid of glibc, at least temporarily (we will come back to a more permanent solution later). Instead of glibc we're now statically linking against musl libc: $ nim --gcc.exe:/usr/local/musl/bin/musl-gcc \ --gcc.linkerexe:/usr/local/musl/bin/musl-gcc \ -d:release --opt:size --passL:-static c hello $ strip -s hello 30 KB Update: The order of arguments to nim matters, --passL:-static has to be passed after setting the gcc exe so that it isn't overwritten. So that's a statically linked binary in 30 KB, which can be deployed without depending on any glibc version (or any other libraries)! What about using Clang instead of GCC by setting --cc:clang: Command (Clang backend) Binary Size nim --cc:clang c hello 168 KB nim --cc:clang -d:release c hello 33 KB nim --cc:clang -d:release --opt:size c hello 29 KB nim --cc:clang -d:re

## Porting a NES emulator from Go to Nim

DevFeed: [Porting a NES emulator from Go to Nim](<https://devfeed.tech/articles/porting-a-nes-emulator-from-go-to-nim-30832.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/porting-nes-go-nim/>)

Published: 2015-04-30T22:00:00Z

Content type: article

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Emulator](<https://devfeed.tech/topics/emulator.md>), [Nim](<https://devfeed.tech/topics/nim.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [go](<https://devfeed.tech/tags/go.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [nim](<https://devfeed.tech/tags/nim.md>), [porting](<https://devfeed.tech/tags/porting.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>)

### AI overview

The article describes porting a NES emulator from Go to Nim, using SDL2 as the backend and comparing compilation, binary size, source size, CPU usage, and memory usage. It also explains compiling the Nim-generated C code to JavaScript with Emscripten.

### Source excerpt

Let me get this straight. We have an emulator for 1985 hardware that was written in a pretty new language (Go), ported to a language that isn't even 1.0 (Nim), compiled to C, then compiled to JavaScript? And the damn thing actually works? That's kind of amazing. -- Summary by haberman I spent the last weeks working on NimES, a NES emulator in the Nim programming language. As I really liked fogleman's NES emulator in Go I ended up mostly porting it to Nim. The source code is so clean that it's often easier to understand the internals of the NES by reading the source code than by reading documentation about it. The choice of backend fell on SDL2 for me, contrary to GLFW + PortAudio that the Go version used. This was mainly motivated by the great portability promised by SDL2. Later we will see how porting to JavaScript and Android worked. If you're impatient and want to play a game, there's a JS demo. Comparison of Go and Nim Most Go concepts are quite trivial to translate to Nim. This made the porting process simple. Let's compare some data that I found interesting: Metric Go Nim (clang backend) Compile command go build nimble build Fresh compile time 2.1 s¹ 1.7 s Recompile time 1.5 s 0.5 s Binary size 16 MB (static) 136 KB + 1MB SDL2 Source code size² 3260 lines, 74 KB 2145 lines, 60 KB CPU usage 71 % 53 % Memory usage 79 MB 73 MB ¹ Excluding go-glfw, go-gl and portaudio, which take 17 s to compile ² Emulation code only It's nice to see Nim doing well. Even the compile time is shorter than that of Go, which is well known for its short compile times. Now that the port seems to be doing fine and should be running on all Desktop platforms, let's look into some other interesting things we can do with Nim: JavaScript port via emscripten Nim has a JavaScript backend, but I don't trust it to be stable enough for this task yet. So I opted for emscripten instead, which can compile C code into JavaScript. Since Nim outputs C code, this sounds like a perfect fit. Luckily eeeee h

## NimES: a NES emulator in Nim

DevFeed: [NimES: a NES emulator in Nim](<https://devfeed.tech/articles/nimes-a-nes-emulator-in-nim-30830.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/nimes/>)

Published: 2015-04-29T22:00:00Z

Content type: release

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Emulator](<https://devfeed.tech/topics/emulator.md>), [Nim](<https://devfeed.tech/topics/nim.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [demo](<https://devfeed.tech/tags/demo.md>), [emulator](<https://devfeed.tech/tags/emulator.md>), [github](<https://devfeed.tech/tags/github.md>), [nim](<https://devfeed.tech/tags/nim.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

NimES is a NES emulator written in Nim, announced alongside the release of Nim 0.11. The article points readers to its GitHub repository and JavaScript demo.

### Source excerpt

Since today Nim 0.11 has been released, I guess it's a good time to release this as well: NimES is a NES emulator written in Nim. More info in the GitHub repository and the JS demo. Discussion on Hacker News and Reddit.

## Make a Lisp in Nim

DevFeed: [Make a Lisp in Nim](<https://devfeed.tech/articles/make-a-lisp-in-nim-30824.md>)

Original publisher: [Read original article](<https://hookrace.net/blog/make-a-lisp-in-nim/>)

Published: 2015-03-03T23:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Felsing](<https://devfeed.tech/sources/dennis-felsing.md>)

Topics: [Nim](<https://devfeed.tech/topics/nim.md>), [Lisp](<https://devfeed.tech/topics/lisp.md>), [Code](<https://devfeed.tech/topics/code.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [make](<https://devfeed.tech/topics/make.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [lisp](<https://devfeed.tech/tags/lisp.md>), [nim](<https://devfeed.tech/tags/nim.md>), [programming](<https://devfeed.tech/tags/programming.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

The article describes implementing a Lisp interpreter in Nim by following the Make a Lisp guide. It explains how to build, run, and test the implementation, and reports rough benchmark results comparing Nim with several other languages. The author notes that the measurements are not optimized or definitive.

### Source excerpt

I spent the last weekend working through the amazing guide for Make a Lisp, writing a Lisp interpreter in Nim. The final result just made it into the repository. Running the Nim version is pretty simple. You need the Nim compiler from the devel branch and nre which can be installed through nimble. After installing those you can build and run the MAL interpreter: $ cd nim $ make # OR $ nimble build $ ./stepA_mal Mal [nim] user> 12 12 user> (+ 2 3) 5 Running the tests: $ cd .. $ make "test^nim^step1" # A single test $ make "test^nim" # All tests $ make "perf^nim" # All benchmarks There is a nice presentation in MAL about MAL you can read: $ cd nim $ ./stepA_mal ../examples/clojurewest2014.mal And you can run MAL implented in MAL itself using the Nim interpreter: $ ./stepA_mal ../mal/stepA_mal.mal Mal [nim-mal] mal-user> The benchmark results from Joel Martin, the author of MAL, don't look bad for Nim. Edit: Note that these are just rough measurements to see that the Nim implementation is doing fine. Don't judge the other languages for their numbers, which may not have ideal implementations performance-wise. In the short benchmarks Nim is the fastest, in the long benchmark only the JVM can beat it. I didn't really try to optimize and oriented mostly on the Python implementation, which is quite a lot slower as you can see. So it's pretty nice to see idiomatic Nim performing well: perf1 perf2 perf3 macros math macros ms ms iters/sec java 6 24 17969 scala 47 87 15963 nim 1 1 11121 ocaml 1 3 7063 cs 10 11 5414 vb 12 13 4523 rust 2 5 4084 c 1 4 3649 go 1 6 3048 racket 3 10 2461 coffee 5 11 2326 js 6 14 1726 ruby 4 15 1255 haskell 4 14 1163 clojure 11 23 1174 forth 9 29 563 php 13 51 331 python 14 51 304 bash 1673 9000 276 perl 18 69 215 ps 41 332 48 R 116 490 28 miniMAL 779 3448 4 matlab 1688 5844 2 make 3427 28453 0 I also didn't really aim for a low amount of code but rather good readability, but it may still be interesting to look at. I guess Nim's size being so close to

[Next page](<https://devfeed.tech/topics/nim.md?cursor=WyIyMDE1LTAzLTAzVDIzOjAwOjAwKzAwOjAwIiwgImJlZjhlODdlLTQ3YmYtNGMzMi1iNjM5LThlY2U1OTY2YmYwMiJd>)