6

Rust without implicit copies

 3 years ago
source link: http://smallcultfollowing.com/babysteps/blog/2011/12/03/rust-without-implicit-copies/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Rust without implicit copies

Dec 3, 2011

I just posted a draft of a proposal for Rust that aims to eliminate implicit copies. At the moment, it is not the final version; there are some flaws I need to correct. For one thing, I need to address implicit capturing of variables by lambdas.

From the introduction:

This is a proposal for Rust whose purpose is to eliminate implicit copies of aggregate types, while preserving most other aspects of the language. Secondary goals include:

  • permit references into arrays;
  • make destination passing style (DPS) a guaranteed optimization that is obvious from language syntax;
  • support dynamically sized records.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK