Building a custom code search index in #golang for searchcode.com
As always @boyter post are amazing (thanks for doing & writing this!)
https://boyter.org/posts/how-i-built-my-own-index-for-searchcode/
As always @boyter post are amazing (thanks for doing & writing this!)
https://boyter.org/posts/how-i-built-my-own-index-for-searchcode/
A GC-friendly #golang interning cache.
> This change will be in Go 1.20 and it has zero exposed APIs: you just upgrade Go and every application that opens multiple TLS connections will be automagically a little lighter and faster. โจ
https://words.filippo.io/dispatches/certificate-interning/ by @FiloSottile
> This change will be in Go 1.20 and it has zero exposed APIs: you just upgrade Go and every application that opens multiple TLS connections will be automagically a little lighter and faster. โจ
https://words.filippo.io/dispatches/certificate-interning/ by @FiloSottile
Filippo Valsorda
A GC-Friendly Go Interning Cache
Go 1.20 is adding an interning cache for reused certificates. The entries are reference-counted with the help of the garbage collector and finalizers.
Large-Scale, Semi-Automated #golang Garbage Collection Tuning at @UberOpenSource @P99CONF
https://www.p99conf.io/session/large-scale-semi-automated-go-garbage-collection-tuning-at-uber/
https://www.p99conf.io/session/large-scale-semi-automated-go-garbage-collection-tuning-at-uber/
P99 CONF
Large-Scale, Semi-Automated Go Garbage Collection Tuning at Uber
Uberโs Cristian Velazquez talks about tuning garbage collection for Go to scale applications across 70,00 cores to maintain 30 mission-critical services.
๐ Go 1.20 Release Candidate 1 is released!
๐โโ๏ธ Run it in dev! Run it in prod! File bugs! https://go.dev/issue/new
๐ฃ Announcement: https://groups.google.com/g/golang-announce/c/iqUo0Spdl9I
๐ฆ Download: https://go.dev/dl/#go1.20rc1
#golang (via https://twitter.com/golang/status/1600612450197446675)
๐โโ๏ธ Run it in dev! Run it in prod! File bugs! https://go.dev/issue/new
๐ฃ Announcement: https://groups.google.com/g/golang-announce/c/iqUo0Spdl9I
๐ฆ Download: https://go.dev/dl/#go1.20rc1
#golang (via https://twitter.com/golang/status/1600612450197446675)
GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
๐บ๐ฆ Go performance channel
๐ Go 1.20 Release Candidate 1 is released! ๐โโ๏ธ Run it in dev! Run it in prod! File bugs! https://go.dev/issue/new ๐ฃ Announcement: https://groups.google.com/g/golang-announce/c/iqUo0Spdl9I ๐ฆ Download: https://go.dev/dl/#go1.20rc1 #golang (via https://โฆ
The runtime now has experimental support for memory-safe arena allocation that makes it possible to eagerly free memory in bulk. It has the potential to improve CPU performance by up to 15% in memory-allocation-heavy applications. (c)
๐ #golang
๐ #golang
๐บ๐ฆ Go performance channel
๐ Go 1.20 Release Candidate 1 is released! ๐โโ๏ธ Run it in dev! Run it in prod! File bugs! https://go.dev/issue/new ๐ฃ Announcement: https://groups.google.com/g/golang-announce/c/iqUo0Spdl9I ๐ฆ Download: https://go.dev/dl/#go1.20rc1 #golang (via https://โฆ
#golang 1.20 adds preview support for profile-guided optimization (PGO).
#golang runtime: diagnostics improvements tracking issue
Great initiative by twitter.com/mknyswe
https://github.com/golang/go/issues/57175
Great initiative by twitter.com/mknyswe
https://github.com/golang/go/issues/57175
GitHub
runtime: performance and diagnostics meeting notes ยท Issue #57175 ยท golang/go
Since 2022, members of the Go team and the Go community have met every two weeks to discuss Go runtime topics. Until 2025 the focus was mainly on diagnostics, but we've also delved into plenty ...
CockroachDB:
We took a close look at how the Go scheduler can affect latencies, and then tried taming it by using control theory and patching the runtime.
๐ป Read on: https://cockroa.ch/3WkgG5L
#golang
https://twitter.com/CockroachDB/status/1603482942499594240
We took a close look at how the Go scheduler can affect latencies, and then tried taming it by using control theory and patching the runtime.
๐ป Read on: https://cockroa.ch/3WkgG5L
#golang
https://twitter.com/CockroachDB/status/1603482942499594240
Cockroach Labs
Rubbing control theory on the Go scheduler
How CockroachDB uses control theory, studies CPU scheduler latencies, builds forms of cooperative scheduling, and patches the Go runtime.
๐ก Go 1.19 now includes support for a soft memory limit!
Michael Knyszek tells us what this is and how you can use it at Go Day 2022 โ goo.gle/3FxDFnl
Michael Knyszek tells us what this is and how you can use it at Go Day 2022 โ goo.gle/3FxDFnl
YouTube
How to avoid out-of-memory conditions in Go
In this session, Michael Knyszek discusses the new soft memory limit feature coming in Go 1.19. Watch along and learn how you can avoid out-of-memory conditions in production and improve your application's resource economy.
Speaker: Michael Knyszek
Originalโฆ
Speaker: Michael Knyszek
Originalโฆ
Faster #golang code by being mindful of memory (by @ArthurBusser)
https://f4t.dev/software/go-performance-memory/
https://f4t.dev/software/go-performance-memory/
f4t.dev
Faster Go code by being mindful of memory
Advent of Code 2022, day 6
Memory arena part explained by #chatgpt is โค๏ธโ๐ฅ Thanks @carlmjohnson
https://blog.carlmjohnson.net/post/2023/golang-120-arenas-errors-responsecontroller/
https://blog.carlmjohnson.net/post/2023/golang-120-arenas-errors-responsecontroller/
blog.carlana.net
Whatโs New in Go 1.20, Part II: Major Standard Library Changes
The second part of a three part look at new features in Go 1.20.
#golang team plans for 1st half 2023: dropping non-unified IR and removing associated GOEXPERIMENT, next steps for PGO, revamping the inliner, core health CI/CD tasks, batched write barriers, <...> long-term RAM efficiency efforts. https://github.com/golang/go/issues/43930#issuecomment-1386010267
GitHub
Go compiler and runtime meeting notes ยท Issue #43930 ยท golang/go
Google's Go compiler and runtime team meets periodically (roughly weekly) to discuss ongoing development of the compiler and runtime. While not open to the public, there's been desire by th...
Reducing #golang Execution Tracer Overhead With Frame Pointer Unwinding (by @felixge )
https://blog.felixge.de/reducing-gos-execution-tracer-overhead-with-frame-pointer-unwinding/
https://blog.felixge.de/reducing-gos-execution-tracer-overhead-with-frame-pointer-unwinding/
Felix Geisendรถrfer
Reducing Go Execution Tracer Overhead With Frame Pointer Unwinding
Learn how frame pointer unwinding could significantly reduce the CPU overhead of the Go execution tracer.
Go 1.20 released https://twitter.com/golang/status/1620875197569187840
In #Golang 1.20 the Go team introduced an experimental new method of memory management called Go arenas.
In this blog post we show how we combined continuous profiling with memory arenas to improve performance of one of our cloud services by ~8% !
https://pyroscope.io/blog/go-1-20-memory-arenas/
In this blog post we show how we combined continuous profiling with memory arenas to improve performance of one of our cloud services by ~8% !
https://pyroscope.io/blog/go-1-20-memory-arenas/
pyroscope.io
Go 1.20 Experiment: Memory Arenas vs Traditional Memory Management | Open Source Continuous Profiling Platform
Go 1.20 Experiment with Memory Arenas
Fast and dynamic encoding of Protocol Buffers in #golang
https://vincent.bernat.ch/en/blog/2023-dynamic-protobuf-golang
https://vincent.bernat.ch/en/blog/2023-dynamic-protobuf-golang
vincent.bernat.ch
Fast and dynamic encoding of Protocol Buffers in Go
Encoding to Protocol Buffers usually require a proto definition file. But, by using low-level primitives and a code-defined schema, fast encoding...