YoVDO

Micro Optimizing Go Code

Offered By: Gopher Academy via YouTube

Tags

GopherCon Courses Go Courses Code Optimization Courses Hash Functions Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore micro-optimization techniques for Go code in this conference talk from GopherCon 2018. Learn how to improve performance by writing more efficient Go, starting with a hash function implementation. Follow along as the speaker optimizes code from a direct RFC implementation to surpassing the standard library's performance. Discover the impact of API design on performance, avoid microbenchmarking pitfalls, and gain an introduction to profiling. Acquire practical tips for optimization, including algorithmic improvements, program tuning, and diving deep into performance analysis. Examine additional examples from standard libraries, particularly in cryptography, and other high-performance Go projects to further enhance your optimization skills.

Syllabus

Introduction
What is BlakeToHash
The problem
Blake
Hash Interface
Go Benchmark Ecosystem
Go Testing
Benchmarks
WebView
Math Bits
G
Inlining
Inliner
Hard stops
Round function
inline function
G is too expensive
Get rid of function calls
Triple addition
Budget code
Dont chase this
Whats next
P prof
Assembly
Bounce Checking
SSA
Go Compiler
Linear code
Bounce checks
Hash state
Preventative hints
Eliminate bounds checks
Performance improvement
Eliminate allocations
Slices
Finalize
Pattern Matching
Sum
Some
Slice
Pvalues
Diminishing Returns
More Optimization
Worth it


Taught by

Gopher Academy

Related Courses

Разработка веб-сервисов на Go - основы языка
Moscow Institute of Physics and Technology via Coursera
Getting Started with Go
University of California, Irvine via Coursera
Concurrency in Go
University of California, Irvine via Coursera
Functions, Methods, and Interfaces in Go
University of California, Irvine via Coursera
Game Thinking: Juego y toma de decisiones
The Pontificia Universidad Javeriana via edX