Live data from Hacker News

Nim version 2.0.0 release candidate

nim-lang.org

1–10 of 121 posts

Re: Nim version 2.0.0 release candidate

#3

As a casual nim user, there's plenty I probably don't appreciate enough in there, but thing I'm most looking forward to are the default values for objects.

I suspect that is a headliner "syntax" feature for many more serious Nim users. Initialization, like error handling, is one of those things that is easy to mess up.

Re: Nim version 2.0.0 release candidate

#6
post #5

I wonder if anything from this forum thread [1], which is summarized here [2], got implemented. [1] https://forum.nim-lang.org/t/9132 [2] https://gist.github.com/j-james/08cd36b7475d461d6291416381ce...

Looking at the summery [2] many of the things got implemented, just a quick list:

* Remove backwards-compatible switches / deprecated features

* Remove every memory option except orc, arc, none, go

* Shrink stdlib

* Comprehensive stdlib cleanup

* Support default values in object construction

* Language features designed for parallelism

* Lock in --threads:on and --mm:arc/--mm:orc

* Official support for overloadable enum names

* Robust concurrency/multithreading

* Fix bugs!

Re: Nim version 2.0.0 release candidate

#7
post #6
post #5

I wonder if anything from this forum thread [1], which is summarized here [2], got implemented. [1] https://forum.nim-lang.org/t/9132 [2] https://gist.github.com/j-james/08cd36b7475d461d6291416381ce...

Looking at the summery [2] many of the things got implemented, just a quick list: * Remove backwards-compatible switches / deprecated features * Remove every memory option except orc, arc, none, go * Shrink stdlib * Comprehensive stdlib cleanup * Support default values in object construction * Language features designed for parallelism * Lock in --threads:on and --mm:arc/--mm:orc * Official support for overloadable e…

> * Remove every memory option except orc, arc, none, go

I feel like memory option removals remain more "planned/maybe revisable/maybe not really agreed upon as the right direction" with only a change of AMM defaults happening in 2.0. (I'm also not sure what value in removal really is except less to learn about/more inflexibility..). The rest of the list seems represented, though.

Post reply on HN