Golang Weekly - A very random issue

Plus a new language that compiles to Go, charts for the terminal, and some Go books from Packt. |

#​506 — May 7, 2024

Unsub  |  Web Version

Together with  Ardan Labs

Go Weekly

Evolving the Go Standard Library with math/rand/v2 — Generating random numbers takes much more than you might think. Go’s initial RNG has multiple flaws, but fixing it breaks repeatability requirements. So, the core team created a “version 2” package that keeps Go’s compatibility promise and sets forth principles for future such 'version 2' packages generally.

Russ Cox (The Go Team)

Secure Randomness in Go 1.22 — If you’re interested in how randomness has improved in Go recently, this is for you, as the authors dive more into the security requirements of some use cases, how Go was enabling insecure code, and how doing the ChaCha(Rand8) led to not only better, faster, more secure random number generation but also how “Go 1.22 makes your programs more secure without any code changes.”

Russ Cox and Filippo Valsorda (The Go Team)

Go! Experts at Your Service — Do you need help filling skill gaps, speeding up development & creating high performing software with Go, Docker, K8s, Terraform and Rust? We’ll help you maximize your architecture, structure, tech-debt and human capital.

Ardan Labs Consulting sponsor

Borgo: A New Language That Compiles to Go — People on Hacker News got very excited about this! Borgo’s authors aim to create a language “more expressive than Go but less complex than Rust.” The result is more type safety and it's certainly worth a look.

Marco Sampellegrini

QUICK BITS:

Using Structs for Generic Argument Lists — The example compares running a new algorithm vs an old one, and comparing the results to ensure they have the same answer. Think of it as feature flags for testing refactorings, and how using structs + generics cleans the code up.

Evan Moses

An Applied Introduction to EBPF with Go — We’ve linked to stories about eBPF a few times, and this article goes through the basics and two examples of using eBPF to measure resources, such as tracking packets.

Ozan Sazak (Edge Delta)

📄 Building a Highly-Available Search Engine using SQLite – Thanks to the Go-powered rqlite. Philip O'Toole

📄 Constraining Go Type Parameter Pointers Merovius

📄 The Foundations of a Go Web Application Willem Schots

🛠 Code & Tools

Nimble Terminal Charts: Charting for Bubble Tea — Provides a way to render bar, line, scatter, time series, and other charts with Bubble Tea. Lots of examples here.

Neomantra Corp

v8go: Execute JavaScript from Go via V8 — If this feels familiar, it’s a fork of this main v8go project, but adding support for Android, newer versions of V8, JS symbols, and more.

Tommie and Chapman

The Hookdeck Event Gateway — A serverless queue to reliably send, receive, transform, filter, and route events across your event-driven architecture.

Hookdeck sponsor

mactop: A Terminal Based Monitoring Tool for Apple Silicon — A Mac-specific htop-a-like that shows off real-time CPU and GPU usage, along with metrics about power and memory usage.

Carsen Klock

Logdy: A Web-Based Viewer for Logs — Web based real-time log viewer. Stream any content to a web UI with autogenerated filters, then parse any format with TypeScript. Live demo.

Peter Osinski

GoWrap: CLI Tool for Generating Decorators for Interfaces — Provides a variety of templates to easily add metrics, tracing, fallbacks, pools, and other features into your existing code.

Max Chechel

📰 Classifieds

🐷 Developers for web and mobile applications using Go prefer Porkbun for domains. Get a .dev, .app, or .foo domain for just $5 from Porkbun now.


Frontend Masters has branched out into the Go world with Build Go Apps That Scale on AWS, a new Go course focused on getting Go apps running on Amazon's platform.

  • gocron 2.5 – Run Go functions at pre-determined intervals.

  • blake3 1.3 – AVX-512 accelerated BLAKE3 hash implementation.

  • HaxMap 1.4 – Fast, memory efficient concurrent hashmap.

  • fzf 0.51 – Popular command-line fuzzy finder.

  • GoBGP 3.26 – BGP implementation in Go.

  • Gin 1.10 – Popular HTTP web framework.

n

Older messages

Going supersonic

Tuesday, April 30, 2024

Plus Go remains popular in pull requests, a CP/M emulator, and, sure, Go isn't Java. | #​505 — April 30, 2024 Unsub | Web Version ✍️ It's been a quiet week for big Go related news, but we still

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

The latest Go developer survey results are in

Tuesday, April 16, 2024

Plus lots of database stuff, a new Go book is in print, and a Minesweeper implementation. | #​503 — April 16, 2024 Unsub | Web Version If you wondered why you didn't get an issue last week, we took

Go 1 turns twelve

Tuesday, April 2, 2024

Plus discussing debugging approaches, optimizing SQLite and brute force searches, and getting brain freeze with Charm. | #​502 — April 2, 2024 Unsub | Web Version 🐣 A quick note to say Go Weekly is

No-one likes a leaky goroutine

Tuesday, March 26, 2024

Plus a 3D raycasting engine on top of Ebitengine. | #​501 — March 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Learning Go in 2024; From Beginner to Senior — Go learning resources

You Might Also Like

Master the New Elasticsearch Engineer v8.x Enhancements!

Tuesday, March 4, 2025

Need Help? Join the Discussion Now! ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect Master Search and Analytics feb 24 header See

Daily Coding Problem: Problem #1707 [Medium]

Monday, March 3, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. In chess, the Elo rating system is used to calculate player strengths based on

Simplification Takes Courage & Perplexity introduces Comet

Monday, March 3, 2025

Elicit raises $22M Series A, Perplexity is working on an AI-powered browser, developing taste, and more in this week's issue of Creativerly. Creativerly Simplification Takes Courage &

Mapped | Which Countries Are Perceived as the Most Corrupt? 🌎

Monday, March 3, 2025

In this map, we visualize the Corruption Perceptions Index Score for countries around the world. View Online | Subscribe | Download Our App Presented by: Stay current on the latest money news that

The new tablet to beat

Monday, March 3, 2025

5 top MWC products; iPhone 16e hands-on📱; Solar-powered laptop -- ZDNET ZDNET Tech Today - US March 3, 2025 TCL Nxtpaper 11 tablet at CES The tablet that replaced my Kindle and iPad is finally getting

Import AI 402: Why NVIDIA beats AMD: vending machines vs superintelligence; harder BIG-Bench

Monday, March 3, 2025

What will machines name their first discoveries? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

GCP Newsletter #440

Monday, March 3, 2025

Welcome to issue #440 March 3rd, 2025 News LLM Official Blog Vertex AI Evaluate gen AI models with Vertex AI evaluation service and LLM comparator - Vertex AI evaluation service and LLM Comparator are

Apple Should Swap Out Siri with ChatGPT

Monday, March 3, 2025

Not forever, but for now. Until a new, better Siri is actually ready to roll — which may be *years* away... Apple Should Swap Out Siri with ChatGPT Not forever, but for now. Until a new, better Siri is

⚡ THN Weekly Recap: Alerts on Zero-Day Exploits, AI Breaches, and Crypto Heists

Monday, March 3, 2025

Get exclusive insights on cyber attacks—including expert analysis on zero-day exploits, AI breaches, and crypto hacks—in our free newsletter. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

⚙️ AI price war

Monday, March 3, 2025

Plus: The reality of LLM 'research' ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌