Re: [go-nuts] how to convert or typecast windows handle/fd to net.conn

2022-07-13 Thread Konstantin Khomoutov
On Tue, Dec 04, 2018 at 12:29:03PM -0800, apmat...@gmail.com wrote: > My problem is following: I need to use windows WSAAccept() instead of > normal accept (net package seems to use AcceptEx). > > I'm I missing somethig > > I do not know a way to extend net-package so only way I know is to use

Re: [go-nuts] missing link/slides

2022-07-13 Thread lauren...@gmail.com
thanks On Wednesday, July 13, 2022 at 11:57:52 PM UTC+8 Ian Lance Taylor wrote: > On Wed, Jul 13, 2022 at 8:28 AM lauren...@gmail.com > wrote: > > > > the slide is not found from this talk > https://www.youtube.com/watch?v=HxaD_trXwRE, does anybody have a copy? > > http://rspace.googlecode.com/

Re: [go-nuts] missing link/slides

2022-07-13 Thread Ian Lance Taylor
On Wed, Jul 13, 2022 at 8:28 AM lauren...@gmail.com wrote: > > the slide is not found from this talk > https://www.youtube.com/watch?v=HxaD_trXwRE, does anybody have a copy? > http://rspace.googlecode.com/hg/slide/lex.html The talk slides are at https://talks.golang.org/2011/lex.slide#1. Ian -

[go-nuts] missing link/slides

2022-07-13 Thread lauren...@gmail.com
the slide is not found from this talk https://www.youtube.com/watch?v=HxaD_trXwRE, does anybody have a copy? http://rspace.googlecode.com/hg/slide/lex.html -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop r

[go-nuts] Keeping self-referencing URLs outside of module's code

2022-07-13 Thread Slawomir Pryczek
Hi Guys, have a golang module with multiple sub-modules, which i want to use "properly" in some other projects. The issue is that the path is very long as that module is a part of a bigger project and it's inconvinient to repeat it everywhere over and over. Module path: github.com/slawomir-pryc

[go-nuts] Re: how to minimize the size of struct?

2022-07-13 Thread Brian Candler
In every system that I'm familiar with, the alignments are all powers of 2. If you think of this as a kind of bin packing problem with different sized bins, then every large bin can always be split into 2 bins of half the size. Therefore, if something fits into a small bin, you can't possibly ge

[go-nuts] how to minimize the size of struct?

2022-07-13 Thread xie cui
https://github.com/orijtech/structslop/blob/13637e228c1a50d8444da1b71a83aff3b6536851/structslop.go#L246-L267 why sort by can minimize the sizeof struct? is there some formal prove? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe