On 09/18/2011 03:48 AM, Andrei Alexandrescu wrote:
Quite interesting.

http://www.reddit.com/r/programming/comments/kikut/think_in_go_gos_alternative_to_the/



2 hours ago, Andrei Alexandrescu wrote:
> The problem is, Vector was just an example of a multitude of containers. The huge problem with slices is dogfood-related - they are > "magic" because the language features proposed to programmers were not enough for expressing a simple abstraction. Reserving "special" features for the language is a terrible way to go about programming language design.

Don't D arrays do a similar thing? They are not templates, yet work with generic element types.

Afaics, improving the language to the point were dynamic array-like structures could be implemented in the library without resulting in a bloated executable would be quite involved.

Reply via email to