mountains-o-data · @bikelang
2 followers · 25 posts · Server hachyderm.io

This stuff is really neat. I kind of want to build my own web framework around it in

#htmx #golang

Last updated 1 year ago

Tanguy ⧓ Herrmann · @dolanor
63 followers · 573 posts · Server hachyderm.io

Cgo overhead is ~40ns/op.

Nice blog post detailing how to figure it out: shane.ai/posts/cgo-performance

#golang

Last updated 1 year ago

Valentin Deleplace · @deleplace
132 followers · 316 posts · Server hachyderm.io

quiz 121

a := []int{11, 22}
b := a[0:1:3]
fmt.Println(b[2:3])

#golang

Last updated 1 year ago

Roberto Morais · @FuenRob
6 followers · 26 posts · Server techhub.social

🔥Nuevo video en YouTube🔥

Primeros pasos con el framework Cobra: youtu.be/6rQM0xv6vaM

Espero que te ayude y te guste.

#golang #framworkcobra

Last updated 1 year ago

GoLab Conference · @golab
41 followers · 160 posts · Server mastodon.uno

🚀🌟Ready to level up your coding skills? Don't miss the opportunity to join , the international conference for programming enthusiasts.🤩
A fantastic lineup of talks and workshops awaits you!

👉 golab.io/

#golab2023 #golang #golab #techconference

Last updated 1 year ago

deadprogram · @deadprogram
643 followers · 341 posts · Server social.tinygo.org

Great post about CGo performance.

TLDR: Cgo calls take about 40ns.

Good for GoCV + other projects which are heavily dependent on CGo.

shane.ai/posts/cgo-performance

#golang

Last updated 1 year ago

Laura Vuorenoja · @lauravuo
7 followers · 16 posts · Server fosstodon.org

Videos already out from GopherCon UK! You can watch my talk here: youtube.com/watch?v=EwCFRVkqHi

#gopherconuk23 #golang

Last updated 1 year ago

binaryphile :clippy: · @binaryphile
624 followers · 711 posts · Server fosstodon.org

I love .

#golang

Last updated 1 year ago

Sal Rahman · @manlycoffee
126 followers · 1993 posts · Server techhub.social

I think I found a solution for how to bring the benefits of algebraic types from other languages into Go.

I might write an article on it.

#golang #go

Last updated 1 year ago

dLƎk · @dlek
44 followers · 2060 posts · Server x0r.be

Figured out how to handle test cases the way I want in Go (I kinda found a loophole) and now I’m ploddingly converting the Bash script of Curl calls into a table of test definitions and validation functions, looking forward to when I am finished writing all the tests and can go fix the code (early on in this journey I realized I’m handling my API input in a very goofy fashion).

#golang

Last updated 1 year ago

M@ · @Mrw
15 followers · 59 posts · Server hachyderm.io

Why am I supposed to be afraid of taking my job?

My current job is figuring out the exact set of instructions that will cause a computer program, be it the controller or or the compiler, to do what I want it to do.

If I try to imagine a dystopia where has taken my job, and I am relegated to figuring out the exact set of instructions that will cause a computer program, in this case an LLM, to do what I want it to do, well…gosh.

What a nightmare.

#ai #k8s #zsh #golang #codellama

Last updated 1 year ago

Abhinav ⁉️ · @abnv
272 followers · 1316 posts · Server fantastic.earth

Never knew that closing channels in is such an involved affair: go101.org/article/channel-clos

#golang #programming

Last updated 1 year ago

Earlier this summer, the Go team released version v0.12 of gopls, the language server for Go, featuring a rewrite of its core that allows it to scale to larger codebases.

Since then, we've fine-tuned the design, focusing on making interactive queries as fast as they were with v0.11, despite holding less state in memory.

Full updates → goo.gle/3sLzotE

#golang

Last updated 1 year ago

Curtis "Ovid" Poe · @ovid
946 followers · 2402 posts · Server fosstodon.org

Working with a workspace and after a particular `go work` command, I found myself checking the change by typing:

less go.work

Caveman Ogg approve! Grunt, grunt.

#golang

Last updated 1 year ago

Brandon Bennett · @nemith
81 followers · 409 posts · Server hachyderm.io

@gotime well time to block this mastodon account from my feed.

#golang

Last updated 1 year ago

GoLab Conference · @golab
41 followers · 156 posts · Server mastodon.uno

Calling all tech enthusiasts! Save the dates for and, where innovation meets community.
Immerse yourself in inspiring talks, hands-on workshops, and networking opportunities.
Get ready to elevate your skills and be part of the vibrant tech scene!🌟💻

#golab #techevents #golang

Last updated 1 year ago

Good issue to follow:

cmd/compile: PGO opportunities umbrella issue

github.com/golang/go/issues/62

#golang

Last updated 1 year ago

The Last Psion | Alex · @thelastpsion
384 followers · 1108 posts · Server bitbang.social

Reworked the 8.3 routine. Much happier with it now, as it catches more edge cases.

I tried using fmt.Sprintf() to get the strings at a fixed length, but I couldn't get it to both trim and pad, so I stuck with adding spaces and slicing the resulting string.

It now bases everything around the last dot and strips all the others, which I think is a better way than I was doing it before. I thought about strings.Split, but that wouldn't handle multiple dots well. IndexLast is good enough.

#golang

Last updated 1 year ago

Great proposal thanks to twitter.com/mknyswe

proposal: intern package

github.com/golang/go/issues/62

#golang

Last updated 1 year ago

Serpent OS · @serpentos
180 followers · 30 posts · Server fosstodon.org

As promised - a blogpost discussing the shared future stack of Serpent and @SolusProject - using a populist polyglot approach.

serpentos.com/blog/2023/09/06/

#rust #golang #opensource #linux

Last updated 1 year ago