New Programming Language Named Rust

Rust

Rust, positioned as a fast systems programming language immune to most crashes, has moved to a feature-complete 1.0 alpha release stage. The Rust Core Team described the alpha release as a “huge milestone” for the language, which has been a Mozilla Research project. “While we plan to make many usability improvements before the final release,” the post says. “All 1.0 language features are now in place, and we do not expect major breaking changes to them.”

Language features

  • Dynamically-sized types (DSTs)
  • Multidispatch traits
  • Associated types
  • Where clauses
  • “Unboxed” closures
  • Macros
  • Integer type changes
  • Opt-in builtin traits

Library features

  • Consistent conventions
  • Stable core types and traits
  • Iterators and collections
  • Concurrency primitives
  • Runtime freedom

Code Example

fn main() {
    println!("Hello, world!");
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s