Golang Weekly - Considering a v2 of encoding/json

Plus getting your head around type inference in Go. |

#​479 — October 10, 2023

Unsub  |  Web Version

Together with  Crunchydata

Go Weekly

Thinking About a Better encoding/json — Led by Joe Tsai, but with input from several fellow gophers, this is a discussion to kickstart the process of potentially modernizing the long-standing encoding/json package by way of a new v2 version (which already has an experimental implementation to play with.)

Joe Tsai et al.

Everything You Always Wanted to Know About Type Inference (And a Little Bit More) — Type inference allows Go's compiler to determine types without explicit annotations. In this post, built upon a talk he recently gave at GopherCon, Robert Griesemer of the core Go team runs through everything you need to know around a commonly misunderstood topic.

Robert Griesemer

❤️ Postgres — You need a database provider that loves Postgres as much as you do. We'll take care of all the hassle - monitoring, backups, HA, disaster recovery so you don't have to. Want amazing support? We'll be there when you have questions.

Crunchy Bridge sponsor

Go Database Driver Overhead on Insert-Heavy Workloads — For INSERT-heavy workloads in Go Phil suggests switching database drivers — specifically noting that there is now “likely no good reason to use lib/pq anymore for accessing PostgreSQL from Go”. He suggests pgx instead.

Phil Eaton

IN BRIEF:

  • 📢 Go 1.21.2 and 1.20.9 have been released, but 1.21.3 and 1.20.10 are expected later today. All these releases include security fixes.

  • 📰 Bill Kennedy wrote in to let us know that his Ultimate Go Tour is now being translated to numerous other world languages with Persian being the first to be available. Twelve other languages are due to follow soon.

  • 📗 Learn Go with Pocket-Sized Projects is a new book being published by Manning later this month, but most of it is already available in an early access form.

A Web Server ‘Hello World’ Benchmark: Go vs Node vs Nim vs Bun — The standard disclaimer applies: benchmarks are difficult and don’t always measure what you should care about. Nonetheless, here’s a quick example comparing the simplest of HTTP servers using Go, Node, Bun and Nim.

Daniel Lemire

An Attempt at Visualizing the Go GC — Aadhav’s talk proposal for GopherCon India ‘23 may have been rejected, but he has turned his disappointment into an interesting blog post about his experiments.

Aadhav Vignesh

📈 It's not exactly the same, but Statsviz is a neat tool for visualizing real time plots of runtime metrics relating to your programs and just had a new release.

Adding Icons to Go-built Windows Executables — If you’ve built an app and want its .exe to have a nicer icon, rsrc provides a way to do it.

Mahmud Ridwan

🛠 Code & Tools

Mods 1.0: Command Line AI from Charm — Those Charm folks (of Bubble Tea fame) recently released an OpenAI powered command line AI tool to help you analyze code, write docs, and more. v1.0 adds streaming responses, saved conversations, and Azure OpenAI support.

Charm

templ: A Way to Build HTML with Go — Create components that render fragments of HTML and compose them to create screens, pages, documents, and apps. GitHub repo.

Adrian Hesketh

Sqinn: Access SQLite Databases Without Cgo — It instead uses an intermediary that communicates over I/O streams/stdin/stdout.

Christoph Vilsmeier

💻 Hired Makes Job Hunting Easy — Instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.

Hired sponsor

  • Viper 1.17 – A hugely powerful and flexible app configuration solution for Go apps. v1.17 requires Go 1.19 and adds log/slog support.

  • Requests 0.23.5 – The convenient HTTP request library has added support for changing the default JSON serializer/deserializer or setting it on a per-request basis.

  • Task v3.31.0 – Imagine if make were reimplemented in Go. (Homepage.)

  • Roaring 1.6 – 'Roaring' bitmap data structure implementation.

  • Betteralign 0.3.1 – Detect structs whose elements could be better aligned.

  • Ginkgo 2.13 – Modern testing framework.

🕰 ICYMI (Some older stuff that's still worth checking out)

n

Older messages

It's Go vs Rust again

Tuesday, October 3, 2023

Plus a native Go SSH client, and Rob Pike's off to Australia. | #​478 — October 3, 2023 Unsub | Web Version Together with Three Dots Labs Go Weekly Rust vs Go: A Hands-On Comparison — Despite all

Fixing Go's for loops, for real

Tuesday, September 26, 2023

Plus we say hi to GopherCon 2023, GitHub's support for passkeys, and GoLand's latest EAP. | #​477 — September 26, 2023 Unsub | Web Version Together with Ardan Labs Go Weekly Organizing a Go

Explaining Go's WebAssembly System Interface support

Tuesday, September 19, 2023

Plus a simple Go static server, looking at JSON with 'fx', and gocron springs back into life. | #​476 — September 19, 2023 Unsub | Web Version Together with Fusion Auth Go Weekly fx 30: The Go-

Let's get optimizing

Tuesday, September 12, 2023

Plus some love for the Go gopher, and Go takes 8th place in IEEE's language roundup. | #​475 — September 12, 2023 Unsub | Web Version Together with Ardan Labs Go Weekly Profile-Guided Optimization

'Cgo performance is good actually'

Tuesday, September 5, 2023

Plus how Go 1.21 enables truly reproducible builds. | #​474 — September 5, 2023 Unsub | Web Version Together with Teleport logo Go Weekly Perfectly Reproducible, Verified Go Toolchains — Go 1.21

You Might Also Like

The Race for AI Reasoning is Challenging our Imagination

Sunday, December 22, 2024

New reasoning models from Google and OpenAI ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

ScienceDaily/Minimalist lamp/Avocado tip

Sunday, December 22, 2024

Recomendo - issue #442 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel VS Code Extension, Laravel 11.36, Wirechat, and more! - №544

Sunday, December 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

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