TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nim 1.2

358 pointsby narimiranabout 5 years ago

18 comments

intrepidheroabout 5 years ago
I've been doing the nim track on exercism.io (no affiliation, just a user) for the last two weeks. The mentors on the track have been fantastic. If you're looking for a "solve a problem and get some external feedback" approach to learning the language it's pretty good.
评论 #22772164 未加载
评论 #22772626 未加载
评论 #22772699 未加载
iimblackabout 5 years ago
Dup is very interesting to me. Does that mean that in Nim all functions will be impure by default, and that it's considered idiomatic to modify the input? I guess it's nice that they're trying to make behavior consistent. It just seems like the opposite of the recent directions I've seen other languages take.
评论 #22772277 未加载
评论 #22772655 未加载
sergiotapiaabout 5 years ago
If you would like to see some simple to parse Nim code and get a feel for what a &quot;1 month of experience during weekends&quot; Nim looks like, check out my project:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sergiotapia&#x2F;torrentinim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sergiotapia&#x2F;torrentinim</a><p>Nim is a very interesting language, with a lot of upsides. It just needs that killer framework to get the ball rolling and allow devs to solve business needs quickly. Once that&#x27;s done I think Nim will grow a lot! Tiny binaries, static binaries, fast, low memory usage, macros, compiles to C.
评论 #22771220 未加载
评论 #22771516 未加载
评论 #22772680 未加载
nepeckmanabout 5 years ago
The collect macro is awesome, and way more idiomatic Nim than list comprehensions. Nim continues to hit the sweet spot between performance and developer ergonomics.
DeathArrowabout 5 years ago
Nim might be great. But how can a great language get traction if nobody big is behind it?<p>Java and Python are being pushed by Silicon Valley and universities, Go is being pushed by Google, Kotlin is being pushed by Google, C# is backed by Microsoft and some big companies.<p>Who can help Nim, or Crystal, or Rust or other new language?<p>I look at many of them from time to time, see interesting developments, see exciting things but I refuse to learn the languages, their ecosystem and frameworks from the fear I have I will lose lots of valuable time since I might not be able to earn my living using them.
评论 #22779351 未加载
评论 #22792505 未加载
评论 #22781490 未加载
dom96about 5 years ago
By far my favourite feature of this release, dark mode in docs: <a href="https:&#x2F;&#x2F;nim-lang.org&#x2F;docs&#x2F;lib.html" rel="nofollow">https:&#x2F;&#x2F;nim-lang.org&#x2F;docs&#x2F;lib.html</a>
评论 #22772001 未加载
评论 #22775184 未加载
评论 #22772668 未加载
评论 #22772468 未加载
alberthabout 5 years ago
I really with more people used NIM for web development. It really seems like the best of all worlds (e.g. perf, developer ergonomics, productivity, etc).
评论 #22771863 未加载
评论 #22771507 未加载
评论 #22771479 未加载
评论 #22771711 未加载
评论 #22771899 未加载
jakearabout 5 years ago
&gt; If you were relying on some edge case and&#x2F;or buggy behaviour which is now fixed, try if --useVersion:1.0 gives you back the results you expect to see. If that doesn’t work and you need the old behaviour, please open an issue in our bug tracker and we will try to make it work in future bugfix releases<p>So useVersion doesn&#x27;t simply checkout the old codebase, but they still promise to maintain all prior version&#x27;s bugs? Seems like a losing battle to me... why not just tell people relying on version 1.0 behaviour to use version 1.0 and create tooling to make sure switching between versions is easy (a. la. nvm)?
评论 #22772420 未加载
hartatorabout 5 years ago
Very bullish on Nim. It&#x27;s Python with C-level performance.
rishav_sharanabout 5 years ago
I am currently working on a tiny game in nim using Raylib. I had some initial friction with Nim, but i like using the language now. You&#x27;ll do well to stop trying to use Nim as an oops language and just use it as a better C. The language syntax is clean, and the std lib has all that I need.<p>One bit which I still hate is simply how imports work in Nim. My project pretty much has a header like file containing function and variable signatures which can be called from other files.<p>For someone used to modern languages, it just feels so archaic.<p>But overall it is still a fantastic language and I am excited to try the ARC gc
评论 #22777268 未加载
wmockabout 5 years ago
As someone who&#x27;s heard of Nim, can someone who&#x27;s used it tell me a little bit more about its benefits and how it compares to other common languages like JavaScript, Python, etc?
评论 #22774209 未加载
iffycanabout 5 years ago
Among other great additions, I like the addition of compilesettings [1], which will give programs more visibility into how they were compiled.<p>[1] <a href="https:&#x2F;&#x2F;nim-lang.org&#x2F;docs&#x2F;compilesettings.html" rel="nofollow">https:&#x2F;&#x2F;nim-lang.org&#x2F;docs&#x2F;compilesettings.html</a>
dzongaabout 5 years ago
hope they nim developers, port a lot of python data science tools e.g pandas, numpy etc so they can increase adoption in the language. Julia is supposed to fill that space, but feel strongly nim is better positioned
评论 #22776346 未加载
评论 #22776594 未加载
totalperspectivabout 5 years ago
Very excited to see gc:arc make it into stable.
评论 #22771117 未加载
war1025about 5 years ago
Irrelevant, but I spent the entire day reading this headline as NVim, i.e. Neovim.<p>These comments make a lot more sense now.
predators372about 5 years ago
Oooo, wow collect looks so much cleaner. I can&#x27;t wait to get home and play with it!
评论 #22773495 未加载
rattrayabout 5 years ago
Does Nim have an ORM or querybuilder as good as SQLAlchemy yet?
评论 #22776102 未加载
flywindabout 5 years ago
Nice!