Golang Weekly - 'I don't scoff at 2% improvements'

Plus a brief history of dependency management in Go, and the Go survey is still open. |

#​494 — February 6, 2024

Unsub  |  Web Version

Together with  Crunchydata

Go Weekly

Testing Out Profile-Guided Optimization on Dolt's SQL BenchmarksProfile-guided optimization was introduced in Go 1.20. The Dolters(?) created a benchmark and saw small (though not trivial) improvements to both read and write latency without changing any code. It’s almost certainly worth trying if your apps would benefit from some marginal performance improvements in return for a little experimentation time.

Zach Musgrave (DoltHub)

Getting the Best from Profile Guided Optimization — Related to the above item, PGO was a nifty addition to Go 1.21 (first previewed in 1.20) but there are some things worth appreciating if you want to get the most out of it.

Andrew Phillips

❤️ 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 Co-Creator Rob Pike: 'What Go Got Right and Wrong' — A high level, journalistic look at Rob’s talk from GopherCon AU late last year – well worth a read if you don’t want to ▶️ watch the talk itself. He covered the bits of Go he felt got things right, what got left out, and some qualms over how Go’s mascot is used (the original was created by Rob’s wife, Renée French).

David Cassel (The New Stack)

💡 There's more detail in Rob's own writeup of his talk, which we featured a few issues ago.

QUICK BITS:

A Brief History of Dependency Management in Go — A quick dash through six eras of dependency management from, well, nothing to Go modules. If you weren’t around in the early days, you may not remember all this.

Matt Boyle

Context Control in Go — A look at a few easy violated rules for handling contexts in Go. The fixes demonstrated will help you identify violations in your own code and, as a bonus, remind you that clever is rarely better.

Horace

Saga Pattern Made Easy — Sagas are a common development blueprint, but they can be difficult to build, test, and maintain–learn how we can help.

Temporal Technologies sponsor

'I'm Going to Avoid using any as an Actual Type' — Generics introduced the any type, which, conceptually, is similar to interface{}, but using any as a type outside generics in place of interface{} means something different.

Chris Siebenmann

Using Gemini Models in Go with LangChainGo — In this context, Gemini refers to Google’s multimodal AI model which you can use via Google Cloud.

Eli Bendersky

Type Assertion vs Type Switches — A little aide memoire.
Redowan Delowar

🛠 Code & Tools

Golte: Render Svelte Components in Go HTTP Handlers — A library that works with your router of choice, where layouts can be treated like middleware, and pages can be treated like handlers.

Nicholas Thai

Goldmark 1.7: A Markdown Parser Written in Go — Pure Go, easy to extend, and CommonMark compliant (which GitHub-Flavored Markdown is based upon). There’s a WebAssembly-powered Goldmark playground you can play with, too.

Yusuke Inuzuka

📰 Classifieds

🪐 Build application permissions with Zanzibar-inspired SpiceDB: tunable consistency, dynamic policy evaluation, robust observability, and more.


📢 100% PostgreSQL distributed across 3 regions with multi-master, latency-based DNS routing available in a fully managed cloud - free sign up.

Gofeed: A Parser for RSS, Atom, and JSON Feeds — A mature, heavily relied upon, and robust option for parsing RSS, Atom and JSON feeds.

mmcdole

IntegreSQL: Manages Isolated Postgres Databases for Testing — Provides a RESTful JSON API for managing Postgres templates and spinning up (and managing the pool of) databases for integration testing purposes.

all about apps GmbH

Inbucket: Disposable Webmail Server with SMTP and POP3 — A self hostable service for testing email – it accepts messages for any address and makes them available over Web, REST and POP3 interfaces. GitHub repo.

James Hillyerd

🀄️ Pattern recognition..

TileEx: A Tile Pattern Extractor — A fun little Go project that can take in an image that contains a pattern and then extract the actual repeating tile element from it. Surprisingly little code, too.

Sarthak Shah

n

Older messages

Go 1.22 Release Candidate 2

Tuesday, January 30, 2024

Plus the latest Go survey, the future of JSON in Go, and Mat Ryer serenades us with Go docs. | #​493 — January 30, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly The Latest Go Developer

Russ Cox on Go changes

Tuesday, January 23, 2024

Plus optimizing compiler performance, and Rust vs Go redux. | #​492 — January 23, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Rust vs Go in 2024? — A perennially popular post from

A closer look at Go 1.22

Tuesday, January 16, 2024

Plus a GUI for execution traces, and finding harmony with Discord. | #​491 — January 16, 2024 Unsub | Web Version Together with Dragonfly Go Weekly Initial Thoughts on Go 1.22 — 1.22 is due next month,

Interactive examples of Go 1.22 features

Tuesday, January 9, 2024

Plus benchmarking Go SQLite libraries, fun with LLM embeddings, and a little bat and ball game. | #​490 — January 9, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Rob Pike: 'What We

The best of the Go newsletter in 2023

Tuesday, December 19, 2023

Plus we're back in three weeks. | #​489 — December 19, 2023 Unsub | Web Version Together with Ardan Labs Go Weekly The Best of the Go Newsletter in 2023 Welcome to the final issue of 2023! We'

You Might Also Like

ScienceDaily/Minimalist lamp/Avocado tip

Sunday, December 22, 2024

Recomendo - issue #442 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel VS Code Extension, Laravel 11.36, Wirechat, and more! - №544

Sunday, December 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,

🐧 Whatever Happened to Unix Workstations? — My Incredibly Cheap Alternative to a Soundbar

Saturday, December 21, 2024

Also: Here's Why More Games Need Expanded Difficulty Settings How-To Geek Logo December 21, 2024 Did You Know Lake Wendouree, an artificially created and maintained shallow urban lake in Australia,

Supercharge Your Knowledge Capture Workflow with the Obsidian Web Clipper

Saturday, December 21, 2024

Stop juggling multiple tools and supercharge your knowledge capture workflow with Obsidian's powerful Web Clipper browser extension Sébastien Dubois DeveloPassion's Newsletter Supercharge Your

Charted | The World's Most Valuable Automakers 🚙

Saturday, December 21, 2024

Tesla shares reached a record high, setting a new valuation milestone. This graphic highlights the world's most valuable automakers by market cap. View Online | Subscribe | Download Our App

Next Holiday Season, Ignore Everyone Except One Customer

Saturday, December 21, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 21, 2024? The

🐍 New Python tutorials on Real Python

Saturday, December 21, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: 🎓 Master Python's Core Principles (New Live