News for hackers. Stuff that matters.
Re:Rust: A Critical Retrospective by DeathArrow on Thursday May 19, 2022 @03:12PM (#31438811)
Nim allows you to chose what memory management method you want to use in a particular piece of software. It can be one of various garbage collectors, reference counting or even no memory management. It allows you to use whatever suits your needs.
Re:Rust: A Critical Retrospective by avgcorrection on Thursday May 19, 2022 @03:28PM (#31439000)
> > Nim accomplishes memory safety using a garbage collector.

No memory management in Nim equals no memory safety guarantees. Or no? Well in that case the statement above is true.

Re:Rust: A Critical Retrospective by cb321 on Thursday May 19, 2022 @04:07PM (#31439514)
You can get management and safety with one of Nim's modes, as per the peterme link in my sibling, if you would like to learn more.
Re:Rust: A Critical Retrospective by avgcorrection on Thursday May 19, 2022 @04:20PM (#31439668)
I don’t understand why you all are posting tedious details and well actuallys when the original assertion was (way back):

> Nim, which technically accomplishes all (I assume) of the Rusty things that require syntax, manages to do it with quite a lot nicer syntax.

Nim does not have something which gives both memory safety and no ((tracing garbage collector) and/or (reference counting)) at the same time. End of story.

The fact that Nim has an off-switch for its automatic memory management is totally uninteresting. It hardly takes any language design chops to design a safety-off button compared to the hoops that Rust has to jump through in order to keep its lifetimes in check.

Re:Rust: A Critical Retrospective by cb321 on Thursday May 19, 2022 @04:34PM (#31439828)
>Nim does not have something which gives

You are simply incorrect, appear unwilling to research why/appear absolutist rather than curious, and have made clear that what I think is "clarification" or "detail expansion" you deem "tedious" or "nitpicking" while simultaneously/sarcastically implicitly demanding more details. That leaves little more for me to say.

Re:Rust: A Critical Retrospective by Aeolun on Thursday May 19, 2022 @07:06PM (#31441345)
It would be helpful if you pointed out the Nim memory management method that works the same as the Rust one.
Re:Rust: A Critical Retrospective by j-james on Monday May 23, 2022 @06:49PM (#31485827)
Re:Rust: A Critical Retrospective by avgcorrection on Thursday May 19, 2022 @04:55PM (#31440045)
You have managed to point out that tracing garbage collection and reference counting are indeed two ways to manage memory automatically. Three cheers for your illuminating clarification.
Re:Rust: A Critical Retrospective by avgcorrection on Friday May 20, 2022 @07:03AM (#31445728)
Sorry about being an arse. I got frustrated by all the talking-past-each-other.