proposal: encoding: add AppendText and AppendBinary #golang
https://github.com/golang/go/issues/62384
https://github.com/golang/go/issues/62384
GitHub
encoding: add AppendText and AppendBinary ยท Issue #62384 ยท golang/go
The MarshalText and MarshalBinary methods are a trash factory. They create a short-lived string that is almost always garbage collectable shortly after creation. Furthermore, the caller almost alwa...
โค2
GopherCon Europe 2023: Roman Khavronenko - Writing a TSDB from Scratch: Performance Optimization #golang
CC: https://twitter.com/hagen1778 & https://twitter.com/VictoriaMetrics
https://www.youtube.com/watch?v=NdjuW98ep_w
CC: https://twitter.com/hagen1778 & https://twitter.com/VictoriaMetrics
https://www.youtube.com/watch?v=NdjuW98ep_w
โค2
GopherCon Europe 2023: Jonathan Amsterdam - A Fast Structured Logging Package #golang by twitter.com/JonathanAmster2
https://www.youtube.com/watch?v=tC4Jt3i62ns
https://www.youtube.com/watch?v=tC4Jt3i62ns
โค2
GopherCon Europe 2023: Yiscah Levy Silas - Go Right Ahead! Simple Hacks to Cut Memory Usage by 80% by twitter.com/YiscahLevySilas #golang
https://www.youtube.com/watch?v=YlTRodoYOZ4
https://www.youtube.com/watch?v=YlTRodoYOZ4
๐ Go 1.21.1 and 1.20.8 are released!
๐ Security: Includes security fixes for cmd/go (CVE-2023-39320), html/template (CVE-2023-39318, CVE-2023-39319), and crypto/tls.
๐ฃ Announcement: https://groups.google.com/g/golang-announce/c/Fm51GRLNRvM
โฌ๏ธ Download: https://go.dev/dl/#go1.21.1
๐ Security: Includes security fixes for cmd/go (CVE-2023-39320), html/template (CVE-2023-39318, CVE-2023-39319), and crypto/tls.
๐ฃ Announcement: https://groups.google.com/g/golang-announce/c/Fm51GRLNRvM
โฌ๏ธ Download: https://go.dev/dl/#go1.21.1
go.dev
All releases - The Go Programming Language
โค2
Great proposal thanks to mknyswe
proposal: intern package #golang
https://github.com/golang/go/issues/62483
proposal: intern package #golang
https://github.com/golang/go/issues/62483
GitHub
unique: new package with unique.Handle ยท Issue #62483 ยท golang/go
Proposal: unique package Updated: 10 April 2024 Oct 4th EDIT: Changed package name from "intern" to "unique" and renamed "Symbol" to "Handle" based on feedba...
โค4
Good issue to follow:
cmd/compile: PGO opportunities umbrella issue #golang
https://github.com/golang/go/issues/62463
cmd/compile: PGO opportunities umbrella issue #golang
https://github.com/golang/go/issues/62463
GitHub
cmd/compile: PGO opportunities umbrella issue ยท Issue #62463 ยท golang/go
This issue is to track the list of PGO optimization opportunities we're considering. As we begin work on any of these, it should be broken into its own issue. We'll edit and add to this lis...
โค2
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
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
go.dev
Scaling gopls for the growing Go ecosystem - The Go Programming Language
As the Go ecosystem gets bigger, gopls must get smaller
โค11
You probably know about Russ Cox's blog post about sparse maps:
https://research.swtch.com/sparse
This data structure is used in #golang source code (mainly inside the compiler).
I came up with another idea that can work even faster:
https://quasilyte.dev/blog/post/gen-map/
From: https://twitter.com/quasilyte/status/1705233800370778402
https://research.swtch.com/sparse
This data structure is used in #golang source code (mainly inside the compiler).
I came up with another idea that can work even faster:
https://quasilyte.dev/blog/post/gen-map/
From: https://twitter.com/quasilyte/status/1705233800370778402
www.quasilyte.dev
Generations-based array ยท Iskander (Alex) Sharipov technical blog
Technical blog about systems programming and related topics
โค8
proposal: runwww.tgoop.com/trace: flight recording #golang by Michael Knyszek
https://github.com/golang/go/issues/63185
(thanks to Ehsan)
https://github.com/golang/go/issues/63185
(thanks to Ehsan)
GitHub
runwww.tgoop.com/trace: flight recording ยท Issue #63185 ยท golang/go
Proposal: runwww.tgoop.com/trace flight recording Updated: 23 September 2023 Background "Flight recording" is a technique in which trace data is kept in a conceptual circular buffer, flushed upon ...
โค3
What a gem by @mvdan_ !
https://github.com/golang/go/issues/20364#issuecomment-1733777923
$ GORACE=atexit_sleep_ms=10 go test -race
See also @dvyukov reasoning https://groups.google.com/g/golang-nuts/c/HBJQaijCwGo/m/P1NNQN7wyMAJ
(please, don't change it blindly, you may miss some data races)
https://github.com/golang/go/issues/20364#issuecomment-1733777923
$ GORACE=atexit_sleep_ms=10 go test -race
See also @dvyukov reasoning https://groups.google.com/g/golang-nuts/c/HBJQaijCwGo/m/P1NNQN7wyMAJ
(please, don't change it blindly, you may miss some data races)
GitHub
go test -race adds 1 second execution time to every package tested ยท Issue #20364 ยท golang/go
Please answer these questions before submitting your issue. Thanks! What version of Go are you using (go version)? go1.8 What operating system and processor architecture are you using (go env)? lin...
โค1
๐บ๐ฆ Go performance channel
What a gem by @mvdan_ ! https://github.com/golang/go/issues/20364#issuecomment-1733777923 $ GORACE=atexit_sleep_ms=10 go test -race See also @dvyukov reasoning https://groups.google.com/g/golang-nuts/c/HBJQaijCwGo/m/P1NNQN7wyMAJ (please, don't changeโฆ
By the way "This was fixed, accidentally" https://github.com/golang/go/issues/61852#issuecomment-1670267724
GitHub
cmd/go: 1.21 regression in test times with `-race` ยท Issue #61852 ยท golang/go
What version of Go are you using (go version)? $ go version go version go1.21.0 linux/amd64 Does this issue reproduce with the latest release? Yes What did you do? Setup mostly empty project: $ go ...
encoding/json/v2 by @_joetsai https://github.com/golang/go/discussions/63397
+ Performance paragraph https://pkg.go.dev/github.com/go-json-experiment/json#section-readme
+ Performance paragraph https://pkg.go.dev/github.com/go-json-experiment/json#section-readme
GitHub
encoding/json/v2 ยท golang go ยท Discussion #63397
This is a discussion intended to lead to a formal proposal. This was written with input from @mvdan, @johanbrandhorst, @rogpeppe, @chrishines, @rsc. Background The widely-used "encoding/json&q...
โค5
[security] Go 1.21.2 and Go 1.20.9 are released
https://groups.google.com/g/golang-announce/c/XBa1oHDevAo
https://groups.google.com/g/golang-announce/c/XBa1oHDevAo
โค5