News for hackers. Stuff that matters.
Re:NimConf 2022 – Nim Online Conference by 0cf8612b2e1e on Friday October 21, 2022 @12:21PM (#33289763)
I think it is a stretch to compare Nim and Go as anything other than statically compiled languages. Nim is the anti-Go with every possible programming paradigm inside the language.
Re:NimConf 2022 – Nim Online Conference by ZoomZoomZoom on Friday October 21, 2022 @12:39PM (#33290022)
The implementation details and the development ethos differ, but from the pragmatic point they compete, offering higher abstraction level over C. Moreover:

- Both took some inspiration from languages of Wirthian family.

- Both promise easy onboarding and high readability.

- Both rely on automatic memory management by default.

On the other hand, I agree that Nim feels and functions totally different while offering much more possibilities. You can definitely call Nim the anti-Go, but it doesn't negate the fact it could absolutely shine in the same domains, at least with a bit more love, attention and funding.

Re:NimConf 2022 – Nim Online Conference by Mikeb85 on Saturday October 22, 2022 @01:07AM (#33295788)
But they're both statically typed GC languages that compile to native binaries. Versus Zig which has no GC and is more akin to C, Rust, Ada, that sort of thing...
Re:NimConf 2022 – Nim Online Conference by goodpoint on Saturday October 22, 2022 @05:26AM (#33296755)
With ARC Nim is also very akin to Ada and Rust: https://nim-lang.org/blog/2020/10/15/introduction-to-arc-orc...
Re:NimConf 2022 – Nim Online Conference by Mikeb85 on Saturday October 22, 2022 @12:39PM (#33299826)
> ORC is Nim’s all-new cycle collector based on ARC. It can be considered a full-blown GC since it includes a local tracing phase (contrary to most other tracing GCs which do global tracing). ORC is what you should use when working with Nim’s async because it contains cycles that need to be dealt with.

From that blog post. Nim is great but it's more Go and less Rust...

Re:NimConf 2022 – Nim Online Conference by goodpoint on Sunday October 23, 2022 @05:55PM (#33310664)
> more Go and less Rust

Not at all, it does not have a runtime with a built-in thread pool and channels like Go.