Menu

#Golang

29 posts

Feed·
20 of 29 posts
Reddit - Please wait for verification
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/geoctl·3 days ago
#bgt5oeXZ

Cordium is a project that I have been working on for a long time and now I am open sourcing it under Apache 2.0. It was initially meant as a remote development environment (i.e.…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/161ForAChange·3 days ago
#qLlN1LAI

I am currently working on an API client for Splunk which takes x-www-form-urlencoded data. I like having the request data as structs, because it feels cleaner and can then be easily marshaled to JSON.…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/no_em_dash·3 days ago
#kuWwUyAd

I've worked on a lot of React SPAs with either Node or Go backends. For E2E testing I have mostly used Playwright or Jest + Puppeteer. I was looking into Playwright for Go but figured I'd ask if there are any other recommendations.…

15s
Read More
Reddit - Please wait for verification
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/PerkyPangolin·3 days ago
#naV3ReaH

The issues has been closed as completed, with Robert Griesemer writing: This has been implemented and documented. The only thing left to do is removing the respective GOEXPERIMENT which we may do a bit later in the release process (it's useful to quickly…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/No-Condition-2137·3 days ago
#xUbJp8Hp

tuning a custom proxy on a single ARM64 core and hitting a pretty bad throughput wall my framing benchmarks look fine encode is around 12.8 GB/s with 1 alloc and round trip sits at about 4.3 GB/s with 2 allocs but once it hits the muxer it just drops hard…

15s
Read More
Reddit - Please wait for verification
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/kkumar-gcc·3 days ago
#TygFpNX0

Hey everyone, I wrote a post about something I see trip people up a lot: naive HTTP retries. Usually, we just throw a for loop and a time.Sleep() at a failing API call and move on. But that standard approach secretly causes a lot of headaches in Go.…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/Virgel1995·3 days ago
#B6yDyO2Y

I built this in Go because my ISP kept blaming me for drops I couldn't prove. Internet Monitor runs in the background and does TCP + HTTP + DNS checks simultaneously, logging every disconnection with its cause and how long it lasted.…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/Revolutionary_Sir140·3 days ago
#A3SxLkQ6

package arena type MemoryArena[T any] struct { buffer []T offset uintptr } func NewMemoryArena[T any](size int) *MemoryArena[T] { return &MemoryArena[T]{ buffer: make([]T, size), offset: 0, } } func (memoryarena *MemoryArena[T]) Alloc(obj T) *T { if…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/cshum·3 days ago
#yRrVKTDT

I’ve been improving imagor’s streamed-source handling and libvips load path, and updated the benchmark page with current releases. Benchmark summary and charts: https://docs.imagor.net/benchmarks Benchmark repo and committed summaries:…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/ainsleydev·3 days ago
#QV0a72As
#golang#reddit#photo#article#video#discussion

I built GoDaily (https://godaily.dev) after getting bored of piecing together Go news from a dozen sources every morning (part of my job). So I built GoDaily, a free weekday newsletter that pulls from 20+ sources (blogs, Reddit, HN, GitHub releases, Go…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/anirudhology·3 days ago
#dRcMsgdN

Shipped chrono v0.1.0, a Go library for the four distributed-systems clock primitives (Lamport, vector, HLC, TrueTime-style), with a proofs/ package whose entire purpose is to reproduce the failure scenarios from the original papers as runnable Go tests.…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/ESennov·3 days ago
#EXEqDujK

When I was switching from Python to Go, I searched for alternatives to sqlalchemy and alembic (python libs) for writing queries and generating migration files from Go structs.…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/Segflow·3 days ago
#riy1fJXC

Wrote up a deep dive on going from 0.75 GB/s to 49 GB/s scanning a 4 GB file in Go on Linux: a 66× speedup over the initial os.ReadFile. Covers chunked reads, mmap (with all the page-fault footguns), parallel pread, hand-written AVX2 asm, and Go 1.26's…

15s
Read More
📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/M0Rf30·3 days ago
#3xxfynhr

I've been running YAP in production for a few years to package software across several distros. Cleaned it up enough to share. You write one PKGBUILD and it builds native packages for Debian, Fedora, Alpine, Arch and others.…

15s
Read More