Re:Pros and Cons of Nim
by navdb on Thursday May 28, 2020 @03:38AM
(#23334542)
Some people prefer Nim because of small things like syntax. However Go is much more popular. I will do more research on this subject and see if I can list the differences in detail. However any such list could be soon made redundant when Go 2 comes out.
[ Parent
| on HN ]
> small things like syntax
This is no small thing. The expressiveness of a language makes the difference between happy productivity and tedious typing and swearing.
Nim is in the same ballpark as Python here, while many other languages require a lot of boilerplate.
Re:Pros and Cons of Nim
by bE9a3S5So8igd3 on Thursday May 28, 2020 @04:07AM
(#23334758)
Most of your list would probably remain intact. The main issue is that Go has a traditional garbage collector, and Nim has ARC, ORC, nogc, gogc, deferred reference counting, and more options for memory management.
Why are options a bad thing? What's the default? Is it reasonable?
Re:Pros and Cons of Nim
by bE9a3S5So8igd3 on Thursday May 28, 2020 @12:14PM
(#23339011)
I'm using the literal definition, "an important topic or problem for debate or discussion." By the main issue I mean the main matter of discussion/point of interest/topic to cover. Not suggesting there is something wrong with Nim's having various means of memory management. Default currently is refc (deferred reference counting) and it's reasonable. Arc is better for some use cases but not as ironed out as refc.