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

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

Post from Syncfusion Blogs on 12/21/2024

Saturday, December 21, 2024

New blogs from Syncfusion ASP.NET MVC Suite Update: Aligning with .NET Changes By Rajendran R Discover key updates in our ASP.NET MVC suite, aligning with Microsoft's latest .NET changes for

LockBit Ransomware Developer Charged for Billions in Global Damages

Saturday, December 21, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest