Re: [go-nuts] Proposal for compile-time package overrides support

2020-07-20 Thread Yuriy Yarosh
> https://golang.org/issue/35283 Yup, thanks for pointing this out. On Tuesday, July 21, 2020 at 12:09:07 AM UTC+3 Ian Lance Taylor wrote: > On Mon, Jul 20, 2020 at 12:48 PM Yuriy Yarosh wrote: > > > > > don't think it's going to be feasible to make it possi

Re: [go-nuts] Proposal for compile-time package overrides support

2020-07-20 Thread Yuriy Yarosh
ould be completely optional. On Monday, July 20, 2020 at 10:30:20 PM UTC+3 Ian Lance Taylor wrote: > On Mon, Jul 20, 2020 at 12:23 PM Yuriy Yarosh wrote: > > > > Basically I'm replacing net package partially rn with custom > DPDK-enabled impl right now i.e. everything syscall.

Re: [go-nuts] Proposal for compile-time package overrides support

2020-07-20 Thread Yuriy Yarosh
r this, might create a golang PR soon(-ish) after getting some opinions. Dubbed at slack #dartarts. On Monday, July 20, 2020 at 9:38:26 PM UTC+3 Ian Lance Taylor wrote: > On Mon, Jul 20, 2020 at 7:53 AM Yuriy Yarosh wrote: > > > > Basically I've got some different tcp/ip st

[go-nuts] Proposal for compile-time package overrides support

2020-07-20 Thread Yuriy Yarosh
Basically I've got some different tcp/ip stack implementations based on DPDK and want to be able to replace existing types and methods of the stock net package, which would allow to add DPDK support for existing apps without any amends as a complete plug'n'play. Same goes for JSON serialization

[go-nuts] Re: Yet Another Generics Proposal...

2019-05-10 Thread Yuriy Yarosh
So, my point is that operator naming should be standardized, or we might've introduce an additional construct like ``` type Neg operator - func() Neg type Compare operator <=> func(Compare) int ``` On Friday, May 10, 2019 at 9:15:30 PM UTC+3, Yuriy Yarosh wrote: > > So, the

[go-nuts] Yet Another Generics Proposal...

2019-05-10 Thread Yuriy Yarosh
So, there were plenty of generics proposal, and hopefully I'll get some constructive feedback about this one. Syntax Example: ``` type MyGeneric interface { int32 uint32 float32 float64 ANumber } type ANumber interface { Plus(ANumber) ANumber Minus(ANumber) Compare(ANumber) int

[go-nuts] What about QNX golang support ?

2016-12-02 Thread Yuriy Yarosh
So, I'm currently interested in using golang for a QNX based project, but afaik there was no QNX port yet. Is it even possible now ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it