[go-nuts] How timers rely on netpoll?

2025-04-01 Thread GoStriver
I noticed that the source code mentions in many places that timers depend on netpoll. However, I understand that timers are triggered via pp.timers.check() within findRunnable(). How exactly do timers rely on netpoll then? Am I missing something here? func (ts *timers) addHeap(t *timer) { as

[go-nuts] [security] Go 1.24.2 and Go 1.23.8 are released

2025-04-01 Thread announce
Hello gophers, We have just released Go versions 1.24.2 and 1.23.8, minor point releases. These minor releases include 1 security fixes following the security policy : - net/http: request smuggling through invalid chunked data The net/http package accepte

Re: [go-nuts] Logging best practices with log/slog

2025-04-01 Thread robert engels
I don’t think this is that complicated. The go team can change the implementation of both log to delegate to slog with some defaults. slog already has the infrastructure to support additional handlers which I think is all that is needed to support custom requirements - aka side effects - of ext

Re: [go-nuts] Logging best practices with log/slog

2025-04-01 Thread Mike Schinkel
> On Mar 30, 2025, at 3:45 AM, Andrew Harris wrote: > > > Can you link that discussion, please, for those of us who may have not seen > > the discussion nor be able to find the specific discussion via search? > > https://github.com/golang/go/issues/56345 >