-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Add Nim language #8
Comments
I'll try. |
You can give master a try now. I've added support for check and debug builds support. Feel free to modify and propose pull requests as you wish. compiler-benchmark currenly only tests debug build performance. There are lots of flags here and I don't know what to enable by default so go ahead you and propose whatever you prefer at https://nim-lang.org/docs/nimc.html |
The flag |
refc is the default memory management method. arc is introduced since 1.2.x.
Nice, thanks! |
@nordlow 1.0.6 and even 1.2 are quite old releases, it's really preferable to have 1.4 |
Yeah as @Yardanico suggested, can you use
https://www.osradar.com/nim-programming-language-ubuntu-debian BTW system is imported implicit, so it is unnecessary to import it. |
thanks! |
Hi, could you add Nim language?
Nim is a system language using automatic reference counting with destructors and move semantics to manage memory. It supports C/C++/JS backends. Nim has a powerful macro system which allows direct manipulation of the AST, offering nearly unlimited opportunities.
The website:
https://nim-lang.org
The Github repo:
https://github.com/nim-lang/Nim
Installation:
https://nim-lang.org/install.html
debug build:
nim c --gc:arc app.nim
release build:
nim c --gc:arc -d:release app.nim
check?:
nim check app.nim
Sample code:
The text was updated successfully, but these errors were encountered: