這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 本週花了不少時間在看 Google 論文 Maglev ,算是相當的有收穫.所以這一篇週記整理就花了相當多的時間來整理. Go uber-go/zap: Fast, structured, leveled logging in Go Uber 出的 Log system ,具有結構化資訊並且相當的快速, otoolep/go-httpd: How to organise a Go HTTP service 常常有人想學 Golang 的 Web programming 不知道該如何下手? 想要架設一個網站,卻不知道資料夾該怎麼放? 如何寫一個簡單的單元測試? 如何搭配 CircleCI 做自動化測試? 不仿將這個 Repo Clone 開始做你的第一個 Web Go App. See Python, See Python Go, Go Python Go Andrey Petrov 是 Python Lib urllib3 的作者,他在 PyCon 2016 的講題.其中提到在 Python 中去使用 Go 與 C binding 的 WebServer. 原理是透過 Go 可以輸出成 Shared Library 的方式讓 Python 透過 FFI 來載入.然後再透過 Go 來載入 C binding library.雖然不會比原生的 Go 或是原生的 C 還要快,這卻是一種有趣的方式. 免費MOOC: Learn How To Code: Google’s Go (golang) Programming Language [免費課程][原價 NT:1200 現在免費] 想要學習 Golang 的 Mooc? 這裡有課程教學,透過 Golang 從基礎來學習程式語言,有興趣的可以看看. 這個 promo code 不知道能存在多久,有興趣的建議先註冊下去. 此外,有任何 Golang 問題,歡迎來社團 Go程式語言 發問.. https://viraldeal.net/deal/learn-how-to-code-googles-go-golang-programming-language Go Tooling in Action Francesc Campoy 介紹了一些 Golang 的小工具,包括了: 很基本的樣式控制: goimport IDE: VS Code for vs-for-Go Go-wrk : http benchmark...
這是什麼? 程式週記主要內容如下: Gihub project 介紹: 主要會貼一些github,但是會盡量寫上一些有用的評語(或是我容易想到的關鍵詞)幫助以後查詢 網路文章心得: 會寫些心得,強迫自己閱讀. “程式週記”並且定期週期性更新. 大部分內容在我的twitter都會有,這邊只是將一些簡單的心得與感想註解一下. 本週摘要 這個禮拜有三天請假,因為帶我的小孩去石垣島的 ClubMed 遊玩.雖然當地每天都是 Buffet 吃到飽,但是我跟老婆還是因為照顧小孩子太辛苦而消瘦. 由於只有兩天,本週專案想了很久不知道要寫什麼.於是先把上週的專案加以應用.但是也重寫了好幾次,並且想不到一個很好的處理方式. Go dgryski: best practices for writing high-performance Go code. 大大 dgryski 教導如何寫出高效能的 Go App. Replication of Etcd - Blog With ReeZhou 有介紹 etcd 裡面使用 raft 的 propose 的流程分析. Suffix arrays in the Go standard library 介紹如何使用 Go 內建的 Suffix Array ,其實 Go 內建也有 container/ring 的套件可以用.這裡有篇介紹文章. To create package alias for your #Go tool by using “go list” Application data caching using SSDs Netflix 最新的部落格提到有一個 golang 寫的 application data cache proxy - Rend 決定資料要存放 memcached 或是 SSDs Abstracting S3 for Fun and Profit in Go 試著做一出一個類似 AWS S3 的服務. Practical Golang: Using Protobuffs | Jacob Martin 一些關於 Protobuf 的實際應用. VoV is a high score game for Android 完全使用 Go 開發的 Android 射擊遊戲. Four and a Half Years of Go in Production at goto Chicago 2016 講解 iron.io 在四年半前如何從 ruby 換到 Go 的故事. 當時 Go...