News for hackers. Stuff that matters.
Re:The Advanced Rust Programming Language Book Draft by yazaddaruvala on Friday July 31, 2015 @05:02AM (#9980686)
We now have a relatively good way to describe languages based on their type story:

- untyped

- (dynamically | statically) typed

- weekly...strongly typed

Currently, we only have two terms for a language's memory story: Managed, Unmanaged. Maybe it's time to come up with some more jargon for languages based on their memory story:

- unmanaged

- (dynamically (GC) | statically) managed

- weekly...strongly managed

?

Where "strongly managed" is reserved for some future (if at all possible) language that can guarantee no leaks whatsoever (also it'll statically ensure halting)?

Resulting in most mainstream languages being [dynamically | weekly] managed languages, and Rust being a [statically | weekly] managed language?

I dunno.. maybe that will help with these types of discussions..

Re:The Advanced Rust Programming Language Book Draft by Manishearth on Friday July 31, 2015 @08:56AM (#9981404)
"guarantee no leaks whatsoever" isn't really possible because "leak" isn't a precise term. It depends on the _intention_ of the programmer. Shoving things in a global hashmap is desired in many cases.

FWIW it was possible to extend Rust's types with a ?Leak marker that can protect against scoped data being leaked, but that solution was not chosen.