2 Oct 2015
A talk from Full Stack Fest 2015 (http://fullstackfest.com/)
http://fullstackfest.com/agenda/rewriting-a-ruby-c-extension-in-rust-how-a-naive-one-liner-beats-c
Recorded & produced by El Cocu (http://elcocu.com) Full Stack Fest is a conference held by Codegram. We've been running development conferences since 2012 with a goal in mind: Inspiring our audience by putting together the best speakers & talks at a privileged location in the beautiful Barcelona area.
Head over to https://conferences.codegram.com/ to see an overview of all our conferences and their content. Visit https://www.codegram.com/blog/ to learn more from our team on related topics.
http://fullstackfest.com/agenda/rewriting-a-ruby-c-extension-in-rust-how-a-naive-one-liner-beats-c
Recorded & produced by El Cocu (http://elcocu.com) Full Stack Fest is a conference held by Codegram. We've been running development conferences since 2012 with a goal in mind: Inspiring our audience by putting together the best speakers & talks at a privileged location in the beautiful Barcelona area.
Head over to https://conferences.codegram.com/ to see an overview of all our conferences and their content. Visit https://www.codegram.com/blog/ to learn more from our team on related topics.
- 1 participant
- 47 minutes
27 Sep 2015
A neat feature of rust's compiler architecture is that all of it's internals are present in a rustc install- meaning that unlike nearly any other AOT compiled language, you get all the machinery to parse source code, transform, and emit object files from userland code. This offers you a lot of scope for implementing two types of tools that traditionally have had little language/standard library support: Static analysis tools, and compilers.
This talk will dive into the machinery that rust offers you to do this, as a side effect of the compiler's modularity. Covered will be writing a simple static analyser (distinct from the macro, and compiler plugin infrastructure); which is unfortunately rust specific and comparitively uninteresting. Following up, we'll demonstrate how to write Rust programs that excercise the Rust codegen machinery at runtime, to implement a simple LISP that emits native objects using rust's packaging machinery. Finally we'll dive into some more platform specific hacks that can be used to fake out a JIT compiler using these techniques.
Richo Healey
STRIPE
@rich0H
Richo likes his ducks flat and his instruction sets reduced. Currently a Security Engineer at Stripe, richo's disdain for computers has been fueled by his career across security, distributed systems, operations and development. At night, he dons a scarf (capes are so last year) and writes open source code to distract him from security research.
This talk will dive into the machinery that rust offers you to do this, as a side effect of the compiler's modularity. Covered will be writing a simple static analyser (distinct from the macro, and compiler plugin infrastructure); which is unfortunately rust specific and comparitively uninteresting. Following up, we'll demonstrate how to write Rust programs that excercise the Rust codegen machinery at runtime, to implement a simple LISP that emits native objects using rust's packaging machinery. Finally we'll dive into some more platform specific hacks that can be used to fake out a JIT compiler using these techniques.
Richo Healey
STRIPE
@rich0H
Richo likes his ducks flat and his instruction sets reduced. Currently a Security Engineer at Stripe, richo's disdain for computers has been fueled by his career across security, distributed systems, operations and development. At night, he dons a scarf (capes are so last year) and writes open source code to distract him from security research.
- 1 participant
- 32 minutes
7 Jul 2015
Curry On Prague, July 7th, 2015
Slides: http://pnkfelix.github.io/curry-on2015.html#/
http://curry-on.org
http://2015.ecoop.org
Slides: http://pnkfelix.github.io/curry-on2015.html#/
http://curry-on.org
http://2015.ecoop.org
- 8 participants
- 43 minutes
6 Jun 2015
Google Tech Talk
June 6, 2015
(click "show more" for more information)
Presented by Alex Crichton
ABSTRACT
Rust is an exciting new programming language that combines fine-grained control over memory layout and allocation patterns with memory and thread safety. It reached 1.0 in May and is rapidly gaining acceptance in projects including Servo (Mozilla's next generation parallel layout engine), a block store being developed by Dropbox, and numerous startups. Its features include zero-cost abstractions, move semantics, guaranteed memory safety, threads without data races, trait-based generics, pattern matching, type inference, minimal runtime, and efficient C bindings. Alex Crichton will present an introduction to the Rust programming language, explain how it can be used to build performant, reliable systems, and answer your questions.
Speaker Info:
Alex Crichton About the speaker: Alex Crichton is a member of the Rust core team working at Mozilla Research. He focuses on the standard library, Cargo, crates.io, and Rust's tooling and infrastructure experience. He's been at Mozilla for almost two years and graduated from Carnegie Mellon in 2013 with a BS in both Computer Science and Electrical and Computer Engineering.
June 6, 2015
(click "show more" for more information)
Presented by Alex Crichton
ABSTRACT
Rust is an exciting new programming language that combines fine-grained control over memory layout and allocation patterns with memory and thread safety. It reached 1.0 in May and is rapidly gaining acceptance in projects including Servo (Mozilla's next generation parallel layout engine), a block store being developed by Dropbox, and numerous startups. Its features include zero-cost abstractions, move semantics, guaranteed memory safety, threads without data races, trait-based generics, pattern matching, type inference, minimal runtime, and efficient C bindings. Alex Crichton will present an introduction to the Rust programming language, explain how it can be used to build performant, reliable systems, and answer your questions.
Speaker Info:
Alex Crichton About the speaker: Alex Crichton is a member of the Rust core team working at Mozilla Research. He focuses on the standard library, Cargo, crates.io, and Rust's tooling and infrastructure experience. He's been at Mozilla for almost two years and graduated from Carnegie Mellon in 2013 with a BS in both Computer Science and Electrical and Computer Engineering.
- 10 participants
- 60 minutes
29 Apr 2015
Bending the Curve: How Rust Helped Us Write Better Ruby by: Yehuda Katz and Tom Dale
Ruby is a productive language that developers love. When Ruby isn't fast enough, they often fall back to writing C extensions. But C extensions are scary for a number of reasons; it's easy to leak memory, or segfault the entire process. When we started to look at writing parts of the Skylight agent using native code, Rust was still pretty new, but its promise of low-level control with high-level safety intrigued us. We'll cover the reasons we went with Rust, how we structured our code, and how you can do it too. If you're looking to expand your horizons, Rust may be the language for you.
Help us caption & translate this video!
http://amara.org/v/G61F/
Ruby is a productive language that developers love. When Ruby isn't fast enough, they often fall back to writing C extensions. But C extensions are scary for a number of reasons; it's easy to leak memory, or segfault the entire process. When we started to look at writing parts of the Skylight agent using native code, Rust was still pretty new, but its promise of low-level control with high-level safety intrigued us. We'll cover the reasons we went with Rust, how we structured our code, and how you can do it too. If you're looking to expand your horizons, Rust may be the language for you.
Help us caption & translate this video!
http://amara.org/v/G61F/
- 3 participants
- 44 minutes
11 Apr 2015
"Speaker: Dan Callahan
Rust is a new systems programming language from Mozilla that combines strong compile-time correctness guarantees with fast performance... and it plays nice with ctypes! Come learn how you can call Rust functions from Python code and finally say goodbye to hacking C!
Slides can be found at: https://speakerdeck.com/pycon2015 and https://github.com/PyCon/2015-slides"
Rust is a new systems programming language from Mozilla that combines strong compile-time correctness guarantees with fast performance... and it plays nice with ctypes! Come learn how you can call Rust functions from Python code and finally say goodbye to hacking C!
Slides can be found at: https://speakerdeck.com/pycon2015 and https://github.com/PyCon/2015-slides"
- 4 participants
- 29 minutes