A very brief guide to Rust syntax. It assumes you are already familiar with programming concepts.
This was written in 2014. It is not a good reference for Rust today, though the content is still correct.
cheats.rs looks like a good alternative.
| class Lisp | |
| Fs = { | |
| :label => lambda {|name,value| Fs[name] = lambda { value } }, | |
| :car => lambda {|sexp| sexp.first }, | |
| :cdr => lambda {|sexp| sexp.slice(1, sexp.size) }, | |
| :cons => lambda {|head,tail| [head] + tail }, | |
| :atom => lambda {|sexp| !sexp.is_a?(Array) }, | |
| :eq => lambda {|a,b| a == b }, | |
| :if => lambda {|cnd,thn,els| cnd ? thn : els } | |
| } |
| This playbook has been removed as it is now very outdated. |
| #!/usr/bin/env python | |
| # http://www.rabbitmq.com/tutorials/tutorial-two-python.html | |
| import pika | |
| import sys | |
| connection = pika.BlockingConnection(pika.ConnectionParameters( | |
| host='localhost')) | |
| channel = connection.channel() | |
| message = ' '.join(sys.argv[1:]) or "Hello World!" |
A very brief guide to Rust syntax. It assumes you are already familiar with programming concepts.
This was written in 2014. It is not a good reference for Rust today, though the content is still correct.
cheats.rs looks like a good alternative.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."