TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Nim version 2.0.0 release candidate

184 点作者 treeform超过 2 年前

14 条评论

geenat超过 2 年前
Default values and named parameters, thank you! Golang has neglected both of these. Both seemingly rare yet highly productive features to be found in a compiled language.<p>Love the quick compile times and go-like single binary compilation.<p>Case-insensitivity seems very cool for interoperability. Total underappreciated gem.<p>My only hangup is the syntax feels wordy, but it&#x27;s leagues better compared to Rust or Go in that regard. A bit concerned about the performance cost of using macros to cut down on the wordiness (I would do this).<p>Otherwise great to see a 2.0 and always keeping a close eye on the Nim ecosystem as I would definitely consider adopting it.
评论 #34091942 未加载
_Wintermute超过 2 年前
As a casual nim user, there&#x27;s plenty I probably don&#x27;t appreciate enough in there, but thing I&#x27;m most looking forward to are the default values for objects.
评论 #34091441 未加载
评论 #34087074 未加载
curioussavage超过 2 年前
This looks great. I’m loving nim for game dev right now. Godot 3.x bindings are working great.<p>There is also a really nice looking binding for unreal engine 5 that is pretty far along
评论 #34094678 未加载
synergy20超过 2 年前
among nim, zig and rust, I&#x27;m most likely to learn nim, it has been there for a while and it is solid and has so many good stuff in it, it just needs more &#x27;marketing&#x27;. in particular, python really should help its popularity as their syntax are similar and both are very expressive.
评论 #34088371 未加载
评论 #34088706 未加载
评论 #34090379 未加载
rayiner超过 2 年前
Nim’s arc and sink&#x2F;lent annotations seem a lot simpler than Rust’s owned pointers and region annotations. Has anybody had the opportunity to compare the costs and benefits?
评论 #34088313 未加载
tiffanyh超过 2 年前
I wonder if anything from this forum thread [1], which is summarized here [2], got implemented.<p>[1] <a href="https:&#x2F;&#x2F;forum.nim-lang.org&#x2F;t&#x2F;9132" rel="nofollow">https:&#x2F;&#x2F;forum.nim-lang.org&#x2F;t&#x2F;9132</a><p>[2] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;j-james&#x2F;08cd36b7475d461d6291416381ce98ad" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;j-james&#x2F;08cd36b7475d461d6291416381ce...</a>
评论 #34087865 未加载
diimdeep超过 2 年前
In my understanding, Nim at the moment is really a transpiled language, instead of compiled. Transpiled to C, then tooling uses clang or gcc to do compilation from C to target platforms.<p>It is like TypeScript to JS in C&#x2F;C++ world.<p>Very clever to stand this way on the shoulders of giants, but the amount of moving parts is staggering and horrifying.
评论 #34091154 未加载
评论 #34091371 未加载
评论 #34091413 未加载
评论 #34091954 未加载
评论 #34093381 未加载
fwsgonzo超过 2 年前
Greatly looking forward to experimenting with zero-overhead interop, as that is a pre-requisite for using it as a configuration language for certain types of high-performance servers
pyinstallwoes超过 2 年前
Any die-hard lovers of Nim? Or heavy users? Why do you use it over other languages? What was your ah-ha moment?
评论 #34094562 未加载
评论 #34093176 未加载
评论 #34092432 未加载
评论 #34095657 未加载
评论 #34098400 未加载
derbOac超过 2 年前
I was hoping case sensitivity would be implemented but it seems like it was too controversial. I&#x27;m thinking at this point there might be too much resistance.
评论 #34099575 未加载
评论 #34089495 未加载
评论 #34088534 未加载
评论 #34088244 未加载
评论 #34088257 未加载
评论 #34088479 未加载
评论 #34088665 未加载
maximus-decimus超过 2 年前
Well, crap. I just bought his book about version 1 lol.
评论 #34088308 未加载
评论 #34091998 未加载
评论 #34089407 未加载
samsquire超过 2 年前
I am pleased to see a language that focuses on good multithreaded support.<p>I tend to use Java and C for multithreaded problems but having the availability of Nim which looks similar to Python is really promising.
评论 #34088469 未加载
mrichman超过 2 年前
I haven&#x27;t heard of Nim until now. I&#x27;ve been a Go programmer for years now, and I see a lot of potential. I wonder why Nim hasn&#x27;t taken off. What&#x27;s the catch?
评论 #34089097 未加载
评论 #34092102 未加载
评论 #34094493 未加载
posharma超过 2 年前
Are there any products&#x2F;companies that use Nim in production?
评论 #34089447 未加载
评论 #34112030 未加载
评论 #34090162 未加载