Valentin Gosu
valentin@mozilla.ro
Rust
Servo
Sync & PICL
Emscripten & asm.js
WebRTC
WebAPIs & Firefox OSYet another programming language?
Your first rust program
fn main() { let nums = [1, 2]; let noms = ["Tim", "Eston", "Aaron", "Ben"]; let mut odds = nums.iter().map(|&x| x * 2 - 1); for num in odds { do spawn { println("{:s} says hello from a lightweight thread!", noms[num]); } } }
1. Safety
2. Safety
3. Speed
4. Object oriented
5. Tasks
6. Pointers
http://www.rust-lang.org/
A next generation browser engine experiment
Written in Rust
Uses multicore capabilities
Better architecture
Synchronizes your Firefox data between PCs and devices
End to end encryption
You hold all the keys
A bit difficult to use
Stands for Profile In the CLoud
Emscripten is a compiler, that translates C/C++ code to Javascript
ASM.js is a subset of Javascript that runs much faster in the browser (close to native speed)
https://github.com/kripken/emscripten/wiki
Stands for Web RealTime Communication
Provides a simple Javascript API for transmitting
video, audio and data
Supported in Firefox, Chrome and Opera
Video chat with friends
http://apprtc.appspot.com
http://www.sharefest.me
https://www.cubeslam.com
The web needs to access your hardware
Thing you couldn't do one year ago
Some APIs are only available on some platforms
You can be part of it!