Hacker News new | ask | show | jobs
by smt88 2390 days ago
I think that assertion muddles their argument.

Their key points seem to be that Rust (and other existing languages) lack backwards compatibility and have different memory management strategies. Lumping Rust in with GC languages is confusing.

Whether either of those things matter is another story. From using TypeScript, I'm personally inclined to believe that a superset of a difficult language can't solve all of the underlying problems, while a totally new language can.

1 comments

All memory allocations in Rust follow a `malloc`-like API that ends up calling `malloc` and similar at some point.
With memory management, the question is often when and how to release resources, not how to get untyped memory from the operating system.
Sure, but in Rust, the programmer writes code that calls malloc manually, which is completely different from Java.