Golang Weekly - A very demure, very mindful issue

Plus a look at memory regions, Go's birthday, and we invent a brand new word. |

#​531 — November 12, 2024

Unsub  |  Web Version

Together with  Frontend Masters logo

Go Weekly

Happy Birthday, Go! Go Turns 15 — Grab a slice of cake, Go has celebrated its latest anniversary. Austin reflects on what Go’s latest year has brought to the language and what the ongoing priorities for the core team are.

Austin Clements

Proposal: Add Region-Based Memory Management to Go — If you have a long memory you might recall an indefinitely stalled proposal for adding memory arenas to Go. This new proposal comes up with a differently scoped alternative, based around regions, and has attracted a lot of comments both in support of and against the idea.

Michael Knyszek

Polyglot Programming: TypeScript, Go, & Rust — A mind-bending tutorial journey about programming side-by-side in these three languages. This detailed video course shares how to get the most out of this multi-language approach, specifically by implementing a fully-unit tested CLI app and comparing the differences.

Frontend Masters sponsor

👀 wasmVision: A Way to Get Go-ing with Computer Vision — Fresh from the genius behind TinyGo and GoCV comes a high-performance computer vision processing engine you can customize and extend with WebAssembly (which you can generate with TinyGo – or Rust or C, if you're so inclined).

The Hybrid Group

fmt.Sprintf vs String Concat — While code using fmt.Sprintf might look better-structured, simple string concatenation (+) proves to be somewhat faster. Why? Max digs into how fmt.Sprintf works under the hood.

Max Hoffman

IN BRIEF:

  • Go 1.23.3 has been released – a very minor bugfix release. Fingers crossed we also get the decidedly euarithmous Go 1.23.4 next.

  • Matt Boyle has teamed up with JetBrains to offer a free, online Mastering Go with GoLand' course. If you complete it, you even get a year's license, apparently.

  • A mere tidbit from Julia Evans but if you haven't tried Go's cross-compiling support you might realize just how easy it is.

Go Runtime Finalizer and Keep Alive — A look into Go’s runtime.SetFinalizer and runtime.KeepAlive APIs, two advanced features that have some interesting quirks and should be used cautiously. Finalizers are notoriously problematic (and may even be deprecated one day) while KeepAlive is easier to grok but will stop objects from being collected.

Phuong Le (VictoriaMetrics)

Creating a 'Brainrot' Language Server in Go — So-called ‘brainrot’ is a mishmash of next generation slang and memes. Follow along with this tutorial as the rizzler Jitesh creates a bussin' basic LSP server – no cap. Perhaps you can put the lessons learnt to more productive use? 😅

Jitesh Kumar Sahoo

🤞 And let's hope that's the first and last time we use Gen Alpha slang here..

Machine Learning in Go with a Python Sidecar — While Python currently holds the ML crown when it comes to the diversity of projects and examples, Go is a great ‘glue’ language for working with ML and LLMs and tying things together, even if it involves talking to Python-based projects.

Eli Bendersky

🛠 Code & Tools

🕒 When 1.1: Natural Language Date/Time Parser — A very long standing, and useful, library. The idea is simple: given a string like “tonight at 11:10 pm” or “next wednesday at 4:20 a.m”, you get the date/time you expect. Has rules for English, Portuguese, Chinese, Russian, and Dutch out of the box.

Oleg Lebedev

html-to-markdown 2.1: Convert HTML to Markdown — Actually parses HTML rather than just using regexes so can handle a lot of interesting edge cases. v2 is a total rewrite and boasts improved accuracy. It can be used both as a CLI tool or Go library. GitHub repo.

Johannes Kaufmann

Reduce Your Apache Kafka Costs by 80+% — Kafka with no local disks or interzone fees, zero ops auto-scaling and in your cloud with no cross-account access.

WarpStream sponsor

Yokai: A Modular, Observable Go Framework for Backend Apps — A modular framework for production-grade Go backends that handles observability, configuration, and dependency wiring out of the box, meaning less infrastructure boilerplate for you to write.

Ankorstore

Miniflux 2.2.3: Minimalist and Opinionated Feed Reader — So minimalist that no ORM or framework is used (just Postgres) and only the most essential JavaScript. GitHub repo.

Frédéric Guillot

📰 Classifieds

10x cheaper (and faster!) GitHub Actions with runs-on.com. Easily self-hosted on AWS. Perfect alternative to ARC or home-made solutions.


Legacy permissions systems can’t keep up with AI. Meet SpiceDB, the modern authorization system inspired by Zanzibar, in Go and Open Source.

  • 🧋 Bubble Tea 1.2 – A popular Elm-inspired functional and stateful way to build terminal apps. Now with much faster rendering.

  • k6 0.55 – Modern Go + JavaScript-powered load testing tool. (Homepage.)

  • Task 3.40 – Imagine if make were reimplemented in Go. (Homepage.)

  • BadgerDB 4.4 – Embeddable, fast pure-Go key-value DB.

  • gRPC-Go 1.68 – Go implementation of gRPC for HTTP/2 based RPC.

  • errorx 1.2 – Comprehensive error handling library.

n

Older messages

Tools for writing secure Go code

Tuesday, November 5, 2024

Plus a look at the 'business' of Go, high performance crawling, and a little Go/Java comparison. | #​530 — November 5, 2024 Unsub | Web Version Together with pgAnalyze Go Weekly Writing Secure

Awesome Go gets even more awesome

Tuesday, October 29, 2024

Plus why Go developers should try Odin, and maybe Rust too.. | #​529 — October 29, 2024 Unsub | Web Version Together with WorkOS Go Weekly Awesome Go: Almost 3000 Categorized Go Resources — A

Speeding up with SIMD and Go assembly

Tuesday, October 22, 2024

Plus some Go code generation magic, test parallelism, and working with Excel spreadsheets. | #​528 — October 22, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly A Taste of Go Code Generator

Pure Go HTML view components

Sunday, October 20, 2024

Plus a new tool to generate Go projects, making your network worse deliberately, and Russ Cox on passing on the Go torch. | #​527 — October 15, 2024 Unsub | Web Version Together with Blacksmith Go

Microsoft goes Go for SQL Server's CLI

Tuesday, October 8, 2024

Plus new ways to deploy Go apps, reflecting on reflection, and Windows gets high resolution timers in Go. | Together with Frontend Masters logo #​526 — October 8, 2024 Unsub | Web Version Go Weekly

You Might Also Like

🧠 7 Ways Tech Can Improve Your Mental Health — YouTube Music Has One Feature No Streaming Service Can Compete With

Tuesday, December 3, 2024

Also: You Should Play More Simulation Games, and More! How-To Geek Logo December 3, 2024 Did You Know The candy name "Milk Duds" is rather literal. The candies were first produced in 1926

Free Webinar: Key Trends in 2025 🔮

Tuesday, December 3, 2024

Join us Dec 12th to explore key trends shaping 2025—geopolitics, tech, markets, and more. View Online | Subscribe | Download Our App FREE WEBINAR - December 12th, 11am PST 2025 Outlook: Key Trends on

Django Performance, pathlib, Poetry, and More

Tuesday, December 3, 2024

Django Performance: Scaling and Optimization #658 – DECEMBER 3, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Django Performance: Scaling and Optimization Performance tuning in the context of

Daily Coding Problem: Problem #1626 [Easy]

Tuesday, December 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Let's represent an integer in a linked list format by having each node

Why Go slices throw up surprises

Tuesday, December 3, 2024

Plus a look forward to Go 1.24, and a Go-powered alternative to Google Analytics. | #​534 — December 3, 2024 Unsub | Web Version Together with Google Go Weekly The Draft Go 1.24 Release Notes — Last

Charted | 30 Years of Global Equity Returns, by Region 🌎

Tuesday, December 3, 2024

The US has been the dominant global equity market as the top returning region for 10 years out of the past 15. View Online | Subscribe | Download Our App Presented by Brazil Potash Rising food costs

Invite your friends to read Code Story

Tuesday, December 3, 2024

Thank you for reading Code Story — your support allows me to keep doing this work. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Code Smell 282 - Bad Defaults and How to Fix Them

Tuesday, December 3, 2024

Top Tech Content sent at Noon! Advertise on this Newsletter! 50% off!! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 3, 2024? The

Issue 162

Tuesday, December 3, 2024

💰🪖 Silicon Valley's new gold rush: AI giants chase Pentagon dollars. US landlords caught using AI to fix rental prices. How China is stealing the world's semiconductor technology. ͏ ͏ ͏ ͏ ͏ ͏ ͏

How Apple Watch can predict illness

Tuesday, December 3, 2024

New AI browser; The case against Google; Cyber Monday leftovers -- ZDNET ZDNET Tech Today - US December 3, 2024 sample-image-16-9-red.jpg How to use your Apple Watch to predict when you may get sick