~/talk

Go and Ruby

Talkat RubyConf 2011 · 2011-09-29..10-01· [go, ruby]
slides:none on file

Compares concrete Go features to Ruby: shows gotest benchmarks that auto-scale to ~1s runs, uses CGO to wrap SQLite and demonstrates embedding the Ruby VM, builds a reflection-based duplicate and a raw memory package that lets slices map to arbitrary bytes (uses unsafe pointers and a 4KB goroutine stack), implements panic/recover catch, and models CSP-style channels with map-reduce and a chat server; most demos compile and run, and the talk highlights 13 base types and ~134 contributors to the Go repo.

AI-written summary · about

  1. 0:00Start
  2. 7:20Base Types
  3. 9:40The Blank Interface
  4. 11:37Unit Tests
  5. 13:50Benchmarking
  6. 17:36How To Implement a Stack Top
  7. 24:04Multiple Return Values
  8. 24:33Type Switch
  9. 25:17Unsafe Pointer
  10. 29:15Random Number Generator
  11. 30:35Blocking Channel
  12. 31:55Create an Infinite Loop
  13. 39:23Chat Server
  14. 42:22Error Handling
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.