---
title: "#176: Using Go Assembly in 6 Examples"
publication: "Go Weekly"
issue: 176
published_at: "2017-09-07"
canonical_url: "https://golangweekly.com/issues/176"
---

Golang Weekly 176   . 

[Read this on the Web](https://golangweekly.com/issues/176) 

[Golang Weekly](https://golangweekly.com) Issue 176 — September 7, 2017     

Featured [Using Go Assembly in 6 Examples](http://davidwong.fr/goasm/?utm_source=golangweekly&utm_medium=email) A hands-on introduction, organized around a handful of annotated example programs, of using Go’s assembly features. Here’s a [simpler intro](https://goroutines.com/asm) to get the idea. David Wong [NGINX Unit: A New Open Source App Server That Supports Go](https://www.nginx.com/products/nginx-unit/?utm_source=golangweekly&utm_medium=email) A new, lightweight, app server from NGINX designed for dynamic and distributed applications. In beta, it currently supports Go, PHP and Python. NGINX [The Go Community Outreach Working Group (COWG)](https://blog.golang.org/community-outreach-working-group?utm_source=golangweekly&utm_medium=email) The COWG is to _“act as a conduit between the broader Go community, its organizers and the Go project.”_ The Go Blog [The Ultimate Guide to Building Database Driven Apps with Go](https://www.vividcortex.com/resources/the-ultimate-guide-to-building-database-driven-apps-with-go?utm_campaign=Go%20Newsletter&utm_source=ppc&utm_medium=Apps%20with%20Go) This book contains years of wisdom from experts & the fastest way to learn how to connect to a database with Go. VividCortexsponsored[![\](https://copm.s3.amazonaws.com/5d7e7e3c.png)](https://www.vividcortex.com/resources/the-ultimate-guide-to-building-database-driven-apps-with-go?utm_campaign=Go%20Newsletter&utm_source=ppc&utm_medium=Apps%20with%20Go) [Go Does Not Inline Functions When It Should](https://lemire.me/blog/2017/09/05/go-does-not-inline-functions-when-it-should/?utm_source=golangweekly&utm_medium=email) A common compiler optimization is inlining a function call. Go seems shy about this optimization, resulting in performance penalties. Daniel Lemire [complete: A Tool for Writing Bash Completion Scripts](https://github.com/posener/complete?utm_source=golangweekly&utm_medium=email) Writing bash completion scripts can be tricky, so why not do it in Go? This package will help. Eyal Posener [grpc: From Tutorial to Production](https://www.youtube.com/watch?v=7FZ6ZyzGex0&utm_source=golangweekly&utm_medium=email) video From GopherCon 2017, a walk through building a cache client/server using grpc, highlighting the good and bad bits. Alan Shreve Jobs [Distributed Systems Engineer at Ably (Remote in EU)](http://jobs.ably.io/o/distributed-systems-engineer-remote) If consensus algorithms get your mental juices flowing, then come join the team behind a global and fault-tolerant messaging platform. Ably realtime [Finding a Job Shouldn't Feel like Work. Try Hired Today.](https://hired.com/join/?utm_source=petercooperpress&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-swe%29%28q3-17-go-weekly%29) Save time on your job search. Hired delivers multiple, high-quality job offers to you. Sign up today. Hired In Brief [AWS X-Ray SDK for Go Now in Beta](https://aws.amazon.com/about-aws/whats-new/2017/08/aws-x-ray-sdk-for-go-beta/?utm_source=golangweekly&utm_medium=email) news Provides tools for instrumenting your code in order to gain insights into production performance. Amazon Web Services [The 2017 Firebase Summit is coming to Amsterdam 31 October 2017](https://firebase.google.com/dev-summit-17/?utm_source=golangweekly&utm_medium=email&utm_campaign=firebasesummit) news Attend technical sessions, instructor-led codelabs & demos, and meet-ups with Firebase developers. Google, Inc.​ sponsored [Read Go's 'MemStats' the Hard Way](https://blog.xiaoba.me/2017/09/02/how-to-play-golang-with-gdb-and-python.html?utm_source=golangweekly&utm_medium=email) tutorial Yuwei Ba [Rate Limiting Service Calls in Go](https://medium.com/@KevinHoffman/rate-limiting-service-calls-in-go-3771c6b7c146?utm_source=golangweekly&utm_medium=email) tutorial Using channels, goroutines, and context to throttle calls to a backend service. Kevin Hoffman [Debouncing Consumer Queues in Go](https://medium.com/@deckarep/debouncing-consumer-queues-in-go-956aaef517c8?utm_source=golangweekly&utm_medium=email) tutorial An attempt at throttling a receiver of events using goroutines, channels, and a buffered queue. Ralph Caraveo III [Handling Data Modeling Errors in a Go + Couchbase App](https://blog.couchbase.com/handle-data-modeling-errors-golang-couchbase-application/?utm_source=golangweekly&utm_medium=email) tutorial Nic Raboy [Generating Prefixed Base64 Identifiers in Go](https://medium.com/@jcox250/generating-prefixed-base64-ids-in-golang-e7731bd89c1b?utm_source=golangweekly&utm_medium=email) tutorial James Cox [How to Test HTTP(S) Services in Go](https://blog.dnsimple.com/2017/08/how-to-test-golang-https-services/?utm_source=golangweekly&utm_medium=email) tutorial Quick examples of testing HTTP and HTTPS servers written using the standard library. Luca Guidi [Cruise Automation Uses CircleCI to get self-driving cars on the road](https://circleci.com/customers/cruise/?utm_source=cooperpress&utm_medium=newsletter&utm_campaign=september&utm_content=go-newsletter) Cruise Automation (a subsidiary of GM) chose CircleCI to help their team get autonomous vehicles on the road. CircleCIsponsored [An Online REPL to Transform JSON into a Go Struct](https://transform.now.sh/json-to-go/?utm_source=golangweekly&utm_medium=email) tools Ritesh Kumar [Gogland EAP 13: The JetBrains Go IDE](https://blog.jetbrains.com/go/2017/09/04/gogland-eap-13-better-completion-new-inspections-fixed-performance-bugs-and-more/?utm_source=golangweekly&utm_medium=email) tools JetBrains [Marvin: A Go-kit Server for Google App Engine](https://open.nytimes.com/introducing-marvin-a-go-kit-server-for-the-app-engine-standard-environment-ab5b2586cfae?utm_source=golangweekly&utm_medium=email) tools New York Times Open [hkpg: Automated Archiving of Heroku Postgres Backups to S3](https://github.com/srt32/hkpg/?utm_source=golangweekly&utm_medium=email) code Simon Taranto [go-web-framework-stars: Top Go Web Frameworks Based on Stars](https://github.com/mingrammer/go-web-framework-stars?utm_source=golangweekly&utm_medium=email) code MinJae Kwon [stackblur-go: A Fast 'Almost Gaussian' Blur Implementation in Go](https://github.com/esimov/stackblur-go?utm_source=golangweekly&utm_medium=email) code Endre Simó [cidranger: Fast IP to CIDR Lookup](https://github.com/yl2chen/cidranger?utm_source=golangweekly&utm_medium=email) code One for the networking crowd. Yulin Chen [Wagon: A WebAssembly-Based Go Interpreter](https://github.com/go-interpreter/wagon?utm_source=golangweekly&utm_medium=email) code github.​com    

Golang Weekly is curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict) [Read this issue on the Web](https://golangweekly.com/issues/176) [See our archives](https://golangweekly.com/issues) [Change your email address](*|UPDATE_PROFILE|*)  [Stop getting this newsletter](*|UNSUB|*)  

Published by [Cooperpress](https://cooperpress.com/)
Fairfield Enterprise Centre, Lincoln Way, Louth, LN11 0LS, UK
