Programming Languages98k+ stars

Rust

A language empowering everyone to build reliable software

Commit Details

Message
"initial import"
Author
Graydon Hoare
Date
2010-06-16
Hash
c01efc669f09508b55eced32d3c88702578a7c3e

Fun Fact

Rust started as a personal project by Graydon Hoare. Mozilla sponsored it from 2009 until their layoffs in 2020.

</>First Code

Rust
// -*- rust -*-

fn main() -> () {
  log "hello world";
  log 1 + 2;
  
  let int x = 10;
  let int y = 20;
  log x + y;
  
  fn inner() -> int {
    ret 42;
  }
  
  log inner();
}