Golang Weekly - Go 1 turns twelve

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 taking next Tuesday off, as part of some Easter break-taking. We'll be back on Tuesday, April 16 :-)
__
Your editor, Peter Cooper

Together with  Ardan Labs

Go Weekly

Freeze: Generate Images of Code and Terminal Output — From the purveyors of fine Go-powered libraries and CLI tools like Bubble Tea, Huh and Wish comes Freeze, a fresh way to create images of code and/or terminal output in PNG, SVG or WebP format.

Charm

🤩 The folks at Charm are also celebrating getting their 100,000th GitHub star with a look at 'how they do it.' A true Go success story!

Building an Interactive Shell in Go — From the folks working on the Dolt database (which includes a CLI to take SQL queries and feed them to the database) comes a guide to creating a CLI that’s intuitive and includes features like command history and autocompletion. ishell is their library of choice.

Zach Musgrave (DoltHub)

Go! Unlock Your Tech Potential with Ardan Labs Consulting — Struggling with skill gaps, development speed or complex tech challenges? Ardan Labs specializes in Go, Rust, Docker and K8s to accelerate your software development, optimize architecture, and manage tech debt. Let us supercharge your team!

Ardan Labs Consulting sponsor

▶  Discussing Debugging in Go — In the latest Go Time episode, Matt Boyle, Bill Kennedy and Jon Calhoun discuss debugging techniques. Bill explains why he doesn’t like his developers to use the debugger, and how he prefers to only use techniques available in production.

Go Time Podcast podcast

QUICK BITS:

Brute Force Text Search Optimizations — If you’ve got a lot of textual data in memory, performing a brute force search upon it can be surprisingly quick nowadays, particularly with some optimizations..

Ben E. C. Boyter

Optimizing SQLite for Servers — Developers are increasingly realizing SQLite can scale a long way and can handle many use cases for which more complex systems are often used. Sylvain goes deep into getting the best out of it.

Sylvain Kerkour

Building a Blog in Go: Rendering Markdown as HTML — An ongoing series to build a simple blog system using Go.

Jon Calhoun

💡 Jon has also put his extensive video courses Test with Go and Web Development with Go on sale until April 5.

▶  Pointers for Performance? — Does returning a pointer from a function instead of a value improve performance in Go? (3 minutes.)

Bill Moran

Prevent Sensitive Data from Leaking in Logs
Willem Schots

🛠 Code & Tools

LangChain Go: A Go Port/Fork of LangChain for LLM AppsLangChain is a popular framework (most commonly associated with Python) for developing language model powered apps. LangChain Go reimplements the same concepts in Go. GitHub repo.

Travis Cline et al.

Excelize: Library for Working with Excel Spreadsheets — Read and write XLAM / XLSM / XLSX / XLTM / and XLTX files. A long time library that keeps going from strength to strength. GitHub repo.

QI-ANXIN GROUP

Hookdeck: The Amazon EventBridge Alternative — Receive, transform, filter, route, and send messages across your EDA with an event gateway for engineering teams.

Hookdeck sponsor

Ebitengine 2.7 Released: The 2D Game Engine for Go — The new feature this time is text/v2, an all new text rendering package that offers improved support for Arabic and vertically-rendered Japanese, glyph vectorization, more text alignment options, and improved OpenType support.

Hajime Hoshi

Beego 2.2: Backend Framework for RESTful APIs and Webapps — Inspired by Tornado, Sinatra and Flask. v2.2.0 bumps the Go version to 1.20.

beego Framework

  • sqlc 1.26 – Generate type-safe Go code from SQL. (Includes an important security fix for users using output plugins.)

  • GoCV 0.36.0 – The Go bindings for OpenCV 4 now support OpenCV 4.9.0 and Go 1.22.

  • go-github 61.0 – Client library for the GitHub v3 API.

  • Oto 3.2 – Low-level cross-platform library to play sounds.

  • eBPF 0.14 – Pure-Go library to work with eBPF programs.

  • go-sqlite 1.2 – Low-level interface to SQLite 3.

  • fx 34.0 – Powerful terminal JSON viewer.

  • Bun 1.2 – SQL-first ORM for Go.

  • Micro 4.4

😎 Did You Know..?

As much as we enjoy making this newsletter, we also publish some others you might not know about. You can see their most recent issues directly on their homepages:

💛 JavaScript Weekly covers all things JavaScript, but also its broader ecosystem, including TypeScript, WebAssembly, Astro, HTMX, Vue.js, build tools, etc.

⚛️ React Status covers, unsurprisingly, the React world and Node Weekly goes deeper into Node.js, the npm ecosystem, and other server-side JS platforms like Deno and Bun.

👩‍💻 Frontend Focus covers the broad gamut of technologies that appear in the browser: CSS, HTML, accessibility, WebGL, Web APIs – it's all in there.

🐘 Postgres Weekly and Ruby Weekly don't need much introduction and are exactly what you'd expect ;-)

We'll be back in two weeks - see you then!

__
Peter Cooper, your editor

n

Older messages

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

Flight recording for Go apps

Tuesday, March 19, 2024

Plus fail-safe HTTP clients, Hugging Face transformers in Go, and writing better READMEs. | #​500 — March 19, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly More Powerful Go Execution

Are single letter variables that bad?

Tuesday, March 12, 2024

Plus we talk gRPC, logical replication, high speed packet sending, and even un peu de Français... | #​499 — March 12, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly High-Speed Packet

How things work at Charm

Tuesday, March 5, 2024

Plus another try at memory arenas, processing PDFs with Go, and some advice for new Go programmers. | #​498 — March 5, 2024 Unsub | Web Version Together with Tuple logo Go Weekly 📊 How I Keep Myself

Becoming the engineering manager of the Go team

Tuesday, February 27, 2024

Plus thinking about enums, colors, email testing, LLMs, and even jQuery.. | #​497 — February 27, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Robust Generic Functions on Slices — The

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