Linked by Thom Holwerda on Wed 3rd Apr 2013 15:41 UTC
Mozilla & Gecko clones Big news from Mozilla and Samsung today: the two have been working on a new browsing engine together, developed from the ground-up to be completely new, and it's written entirely in Rust, a new safe systems language developed by Mozilla. "Rust, which today reached v0.6, has been in development for several years and is rapidly approaching stability. It is intended to fill many of the same niches that C++ has over the past decades, with efficient high-level, multi-paradigm abstractions, and offers precise control over hardware resources. But beyond that, it is safe by default, preventing entire classes of memory management errors that lead to crashes and security vulnerabilities. Rust also features lightweight concurrency primitives that make it easy for programmers to leverage the power of the many CPU cores available on current and future computing platforms." The work is on-going, but of course, all code is out there right now.
Permalink for comment 557477
To read all comments associated with this story, please click here.
RE: this language is fugly
by chandler on Wed 3rd Apr 2013 20:46 UTC in reply to "this language is fugly"
Member since:

Rust is a static, safety-oriented language targeted at the same niche as C++. It's a genuine achievement to have the Rust example demonstrate the same level of expressivity as the Ruby version.

Of course there's still too much special syntax in both versions. :-)

#lang typed/racket

(for ((name '("Alice" "Bob" "Carol")))
    (for ((number (shuffle '(1 2 3))))
      (printf "~a says ~a\n" name number)))))

Edited 2013-04-03 20:47 UTC

Reply Parent Score: 3