Rust system programming language

Post on 07-Jan-2017

690 views 0 download

Transcript of Rust system programming language

Rust: A modern programming language

by : Muqorrobien Marufi

Rust is

• Modern system programming language.

• Compiled into native.

• C and C++ successor?

• Backed by Mozilla

Rust Pillars

• Memory safety without GC (garbage collector)

• Abstraction without overhead.

• Concurrency without data races.

Memory Safety Without GC

http://theburningmonk.com/

Ownership

Borrowing

Lifetime

Immutable By Default

Abstraction Without Overhead

http://www.ibs.ro

Concurrency Without Data Races

• Send trait

• Sync trait

http://en.wikipedia.org

Concurrency Without Data Races

Concurrency Without Data Racesatomic refcount

locker

acquire locksafe to mutate

increase refcount

Other Features

• Pattern Matching

• Enums

• Closures

• Macrohttp://www.viswasenterprises.in

https://github.com/anvie/zufar

ZufarDB• NoSQL database.

• Scalable and Decentralized.

• No SPOF.

• Semi-persistent.

• Memcached compatible.

• Written 100% in Rust.

• For Rust learning purpose.

Conclusion• Rust is a promising system

programming language.

• Too young to use for fighting in the wild.

• Build enterprise class software with more confident.

• Run at native speed (C/C++ comparable).

http://www.forbes.com

THANK YOU!

+6285 71799 7788

r@ansvia.com

@robin

@anvie

Robin Marufi

@anvie

Touch me at :

Any Question?

Reference• http://blog.rust-lang.org/

• http://theburningmonk.com/

• https://www.mindtalk.com/developer