Nim
目录
Links
- Nim Programming Language
- GitHub - nim-lang/Nim: Nim is a compiled, garbage-collected systems programmi…
- Manning | Nim in Action
- Nim’s Memory Management
- Nim ❚ A Scripter’s Notes
Intro
如何评价 Nim 语言? - Sheldon 的回答 - 知乎:
早在十多年前,C++还在探索新标准的时候,德国的一个偏僻小镇上,一位程序员出于对自 己所用语言都不满意,以 LISP 元编程为核心,Python 语法为模板,写出了 Nimrod,这是 Nim 的早期原型。几经辗转,现在的 Nim,提供开箱即用的宏套件,与 C89 无缝交互,编译 成 C++的更好性能,也覆盖了 Web 前端单页应用开发,这位程序员则成为了今天的 Nim 之 父 Andreas Rumpf - O’Reilly Media。
Install
最好使用 choosenim 安装, 方便安装 nimlsp, 否则会报错:
/tmp/nimble_4477/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(11, 8) template/generic instantiation of `mImport` from here
/tmp/nimble_4477/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(7, 14) Error: cannot open file: /usr/nimsuggest/nimsuggest.nim
Prompt: Build failed for '[email protected]', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N]
pacman -S nim
Tutorials
Toolchain
choosenim
nimble
sudo pacman -S nimble
nimlsp
With Nim installed through choosenim
nimble install nimlsp