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

This Week's Daily Tip Roundup

Sunday, May 19, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is

Reading Beyond the Hype: Some Observations About OpenAI and Google’s Announcements

Sunday, May 19, 2024

Google vs. OpenAI is shaping up as one of the biggest rivarly of the generative AI era. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Final Reminder: Apple Issues "Update Now Warning"

Sunday, May 19, 2024

I wanted to send a final reminder — if you haven't already updated your iPhone to iOS 17.5, we strongly recommend you do so today. This is also your last chance to get access to our iOS 17.5 In-

Second Brain/Attention/Find Your Books

Sunday, May 19, 2024

Recomendo - issue #411 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #407

Sunday, May 19, 2024

ISSUE #407 19th of May 2024 Hello Kotliners! The Google I/O just finished this week with a huge announcement for us, with Google supporting now Kotlin Multiplatform on Android, and the KotlinConf will

Learn How to Use AI to Reach Your Full Potential, newsletterest1!

Sunday, May 19, 2024

3 Ways AI Can Help Your Writing ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌

Software Testing Weekly - Issue 220

Saturday, May 18, 2024

Software Testing Conferences 📚 View on the Web Archives ISSUE 220 May 18th 2024 COMMENT Welcome to the 220th issue! Have you ever been to a testing conference? They're a great way to learn about

📶 Is a Cellular iPad Worth It? — How to Prevent YouTube From Taking Over Your Screensaver

Saturday, May 18, 2024

Also: This Robot Vacuum Can Clean Stairs, and More! How-To Geek Logo May 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which