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

🔎 How to Search Reddit Like a Pro — 9 Reasons to Always Use Windows With a VPN

Tuesday, November 12, 2024

Also: Tips for Setting Up a Mobile VR Office, and More! How-To Geek Logo November 12, 2024 Did You Know In the 2016 film Doctor Strange, the characters of both Doctor Strange and the villain Dormammu (

Web Scraping Tips, Python 3.13 Performance Boosts, Writing Interpreters & More

Tuesday, November 12, 2024

Introduction to Web Scraping With Python #655 – NOVEMBER 12, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Introduction to Web Scraping With Python In this video course, you'll learn all about

Daily Coding Problem: Problem #1606 [Easy]

Tuesday, November 12, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by PayPal. Given a binary tree, determine whether or not it is height-balanced. A height-

Charted | Breaking Down the U.S. Government's 2024 Fiscal Year 💰

Tuesday, November 12, 2024

Net interest payments cost the US government $882 billion in fiscal year 2024, the third-largest outlay in the final budget. View Online | Subscribe | Download Our App Presented by Hinrich Foundation

Spyglass Dispatch: AI's Independence Race • EU's Bad Meta Ads • AI Chip Shenanigans • Netflix Ads Religion

Tuesday, November 12, 2024

AI's Independence Race • EU's Bad Meta Ads • AI Chip Shenanigans • Netflix Ads Religion The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel free to forward it on to

The Big T

Tuesday, November 12, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 12, 2024? The HackerNoon

Deadline Extended: 2 Weeks Left to Compete for Over $7000 in the AI-chatbot Writing Contest🔥

Tuesday, November 12, 2024

Great news, newsletterest1 ! The submission deadline for the #ai-chatbot writing contest has been extended! You now have until November 21, 2024, to submit your unique AI chatbot ideas for a chance to

Visual Capitalist is revealing all of its biggest secrets... 📊

Tuesday, November 12, 2024

You can get in on our newest project if you act now. View Online | Subscribe | Download Our App We're revealing our biggest secrets... The question we get asked the most is: "How does Visual

🔓🐍 Unlock Your Python Potential with Instructor-Led Courses

Tuesday, November 12, 2024

Hey there, If you've been looking for a way to go beyond on-demand tutorials and really master Python, we've got something special for you... For the first time, Real Python is launching an