#479 — October 10, 2023 |
|
Go Weekly |
Thinking About a Better Joe Tsai et al. |
Everything You Always Wanted to Know About Type Inference (And a Little Bit More) — Type inference allows Go's compiler to determine types without explicit annotations. In this post, built upon a talk he recently gave at GopherCon, Robert Griesemer of the core Go team runs through everything you need to know around a commonly misunderstood topic. Robert Griesemer |
❤️ Postgres — You need a database provider that loves Postgres as much as you do. We'll take care of all the hassle - monitoring, backups, HA, disaster recovery so you don't have to. Want amazing support? We'll be there when you have questions. Crunchy Bridge sponsor |
Go Database Driver Overhead on Insert-Heavy Workloads — For INSERT-heavy workloads in Go Phil suggests switching database drivers — specifically noting that there is now “likely no good reason to use Phil Eaton |
IN BRIEF:
|
A Web Server ‘Hello World’ Benchmark: Go vs Node vs Nim vs Bun — The standard disclaimer applies: benchmarks are difficult and don’t always measure what you should care about. Nonetheless, here’s a quick example comparing the simplest of HTTP servers using Go, Node, Bun and Nim. Daniel Lemire |
An Attempt at Visualizing the Go GC — Aadhav’s talk proposal for GopherCon India ‘23 may have been rejected, but he has turned his disappointment into an interesting blog post about his experiments. Aadhav Vignesh |
📈 It's not exactly the same, but Statsviz is a neat tool for visualizing real time plots of runtime metrics relating to your programs and just had a new release. |
Adding Icons to Go-built Windows Executables — If you’ve built an app and want its Mahmud Ridwan |
🛠 Code & Tools |
Mods 1.0: Command Line AI from Charm — Those Charm folks (of Bubble Tea fame) recently released an OpenAI powered command line AI tool to help you analyze code, write docs, and more. v1.0 adds streaming responses, saved conversations, and Azure OpenAI support. Charm |
templ: A Way to Build HTML with Go — Create components that render fragments of HTML and compose them to create screens, pages, documents, and apps. GitHub repo. Adrian Hesketh |
Sqinn: Access SQLite Databases Without Cgo — It instead uses an intermediary that communicates over I/O streams/stdin/stdout. Christoph Vilsmeier |
💻 Hired Makes Job Hunting Easy — Instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now. Hired sponsor |
|
|