1. 程式人生 > >Two recent Go talks

Two recent Go talks

2 January 2013

Introduction

Late last year I wrote a couple of Go talks and presented them at Strange Loop, Øredev, and various other venues. The talks are designed to give insight into the practice of Go programming, each describing the construction of a real program and demonstrating the power and depth of the Go language and its libraries and tools.

The following videos are, in my opinion, the best recordings of these talks.

Go: a simple programming environment

Go is a general-purpose language that bridges the gap between efficient statically typed languages and productive dynamic language. But it’s not just the language that makes Go special – Go has broad and consistent standard libraries and powerful but simple tools.

This talk gives an introduction to Go, followed by a tour of some real programs that demonstrate the power, scope, and simplicity of the Go programming environment.

See the slide deck (use the left and right arrows to navigate).

Go: code that grows with grace

One of Go's key design goals is code adaptability; that it should be easy to take a simple design and build upon it in a clean and natural way. In this talk I describe a simple "chat roulette" server that matches pairs of incoming TCP connections, and then use Go's concurrency mechanisms, interfaces, and standard library to extend it with a web interface and other features. While the function of the program changes dramatically, Go's flexibility preserves the original design as it grows.

See the slide deck (use the left and right arrows to navigate).

相關推薦

Two recent Go talks

2 January 2013 Introduction Late last year I wrote a couple of Go talks and presented them at Strange Loop, Øred

Two recent Go articles

6 March 2013 Introduction In today's blog post I'd like to highlight a couple of recent articles about Go.

Two Go Talks: "Lexical Scanning in Go" and "Cuddle: an App Engine Demo"

1 September 2011 On Tuesday night Rob Pike and Andrew Gerrand each presented at the Sydney Google Technology

【LeetCode】Add Two Numbers Go語言實現

問題描述 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of thei

Go talks at FOSDEM 2014

24 February 2014 Introduction At FOSDEM on the 2nd of February 2014 members of the Go community presented

go] [array] 1. Two Sum

原題連結 解法一:with map 用map來儲存已經出現過的數字,及它對應的下標,每遍歷到一個新的數字,就判斷 target - nums[i] 是否已經存在,若存在,則返回它們對應的下標,否則,將當前數字及其下標存入map, 繼續遍歷。 時間複雜度 : O(

Hey, two great tastes that go great together!

  這是Elixir的作者 José Valim 參與的一次技術訪談,很有料,我們可以瞭解Elixir的一些設計初衷,目標等等. 緣起      José Valim 談到了 ‘Seven Languages in Seven Weeks’ 對他的影響,原文是聽記的,應該不是做技術的,有些

The Go Programming Language turns two

10 November 2011 Two years ago a small team at Google went public with their fledgling project - the Go Prog

[LeetCode]160.Intersection of Two Linked Lists

col style return tro nod sts diff original you Intersection of Two Linked Lists Write a program to find the node at which the intersectio

Java多線程編程模式實戰指南(三):Two-phase Termination模式

增加 row throws mgr 額外 finally join table 還需 停止線程是一個目標簡單而實現卻不那麽簡單的任務。首先,Java沒有提供直接的API用於停止線程。此外,停止線程時還有一些額外的細節需要考慮,如待停止的線程處於阻塞(等待鎖)或者等待狀態(等

go 自己封的postgresql操作包

rep make query res urn mod .exe errors exe 1 package myDB 2 3 import ( 4 "database/sql" 5 "errors" 6 7 _ "g

POJ 1849 Two(遍歷樹)

bold cost spa align div col sizeof 最小 turn POJ 1849 Two(遍歷樹) http://poj.org/problem?id=1849 題意: 有一顆n個結點的帶權的無向樹, 在s結點放兩個機器人,

go-005-變量

整數 func 基礎 字型 開始 import open spl 註意 概述   變量來源於數學,是計算機語言中能儲存計算結果或能表示值抽象概念。變量可以通過變量名訪問。   Go 語言變量名由字母、數字、下劃線組成,其中首個字母不能為數字。   聲明變量的一般形式是

GO中常用包筆記 bytes(四)

g 學習筆記 bytes包Package bytes對字節數組進行操作的包。功能和strings包相似.bytes包提供的功能有:和另一個字節數組切片的關系(逐字節比較大小,是否相等/相似,是否包含/包含次數,位置搜索,是否是前綴後綴)2.字節數組切片和字符串的關系(字符串中是否含有字節數組所包含的rune,

CDOJ 1221 Ancient Go

cout#include<bits/stdc++.h>using namespace std;bool ok;char maze[15][15];char Map[12][12];bool vis[15][15];int x[4] = {0,0,1,-1};int y[4] = {1,-1,0,0

Go - 數組

索引 創建 16px class 表示 int32 部分 func amp 數組: Array 1. 定義: var <arrayName> [n] (n>=0) <type> 註: 數組的長度n,也是數組定義的組成部分;所以:var i

Go語言之嵌入類型

go 類型 嵌入類型,或者嵌套類型,這是一種可以把已有的類型聲明在新的類型裏的一種方式,這種功能對代碼復用非常重要。在其他語言中,有繼承可以做同樣的事情,但是在Go語言中,沒有繼承的概念。Go提倡的代碼復用的方式是組合,所以這也是嵌入類型的意義所在。組合而不是繼承,所以Go才會更靈活。type Rea

後端程序員之路 52、A Tour of Go-2

run arrays primes var auto 程序 pointer ase tex # flowcontrol - for - for i := 0; i < 10; i++ { - for ; sum < 1000;

go語言的優點

程序編寫 執行文件 語言培訓 多線程 老男孩 老男孩教育go語言培訓是國內首家go語言培訓機構,主講老師是小米架構資深架構師,有多年go開發經驗。小編現將go語言優點整理如下,希望能幫到你們 1.部署簡單Go 編譯生成的是一個靜態可執行文件,除了 glibc 外沒有其他外部依賴。這讓部署變

Go - 切片(Slice)

什麽 部分 pri 長度 code ron logs 內存 tro 定義 切片本身不是數組,它指向底層的數組或者數組的一部分。因此,可以使用Slice來處理變長數組的應用場景。 Silice 是一種引用類型。 1、定義一個空的Slice package main