Cgo overhead is ~40ns/op.
Nice blog post detailing how to figure it out: https://shane.ai/posts/cgo-performance-in-go1.21/
🔥Nuevo video en YouTube🔥
Primeros pasos con el framework Cobra: https://youtu.be/6rQM0xv6vaM
Espero que te ayude y te guste.
🚀🌟Ready to level up your coding skills? Don't miss the opportunity to join #GoLab2023, the international conference for #GoLang programming enthusiasts.🤩
A fantastic lineup of talks and workshops awaits you!
#golab2023 #golang #golab #techconference
Great post about CGo performance.
TLDR: Cgo calls take about 40ns.
Good for GoCV + other projects which are heavily dependent on CGo.
Videos already out from GopherCon UK! You can watch my talk here: https://www.youtube.com/watch?v=EwCFRVkqHic
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.
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).
Why am I supposed to be afraid of #AI taking my job?
My current job is figuring out the exact set of instructions that will cause a computer program, be it the #k8s controller or #zsh or the #golang compiler, to do what I want it to do.
If I try to imagine a dystopia where #CodeLLama 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
Never knew that closing channels in #golang is such an involved affair: https://go101.org/article/channel-closing.html
#programming
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 → https://goo.gle/3sLzotE #golang
Working with a #golang workspace and after a particular `go work` command, I found myself checking the change by typing:
less go.work
Caveman Ogg approve! Grunt, grunt.
Calling all tech enthusiasts! Save the dates for #GoLab 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!🌟💻
#TechEvents #GoLang
Reworked the 8.3 #Golang 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.
Great proposal thanks to twitter.com/mknyswe
proposal: intern package #golang
As promised - a blogpost discussing the shared future stack of Serpent and @SolusProject - using a populist polyglot approach.
#rust #golang #opensource #linux