Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-12 Thread robert engels
While I always appreciate a good presentation, a little color might be in order to get me to watch a 1.5 hr presentation. I’ll disagree on ByteBuffer. The prime motivation for ByteBuffer was to abstract the concept of a memory buffer (usually bytes). The primary reason is that byte[] has a defi

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-12 Thread Egon
On Wednesday, 12 September 2018 15:47:14 UTC+3, Robert Engels wrote: > > I am well aware of mechanical sympathy and the techniques (like the > disrupter) used (I would counter that in many cases you are not writing > “Java” due to the object pooling ,etc.) > > What I’ve shown is that Java is alre

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-12 Thread robert engels
I am well aware of mechanical sympathy and the techniques (like the disrupter) used (I would counter that in many cases you are not writing “Java” due to the object pooling ,etc.) What I’ve shown is that Java is already more performant than Go without using those techniques for many application

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-11 Thread Egon
On Tuesday, 11 September 2018 18:28:29 UTC+3, Robert Engels wrote: > > > On Sep 11, 2018, at 9:55 AM, 'Axel Wagner' via golang-nuts < > golan...@googlegroups.com > wrote: > > [golang-nuts to CC, golang-dev to BCC] > > On Mon, Sep 10, 2018 at 5:33 PM robert engels > wrote: > >> In the entire code

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-11 Thread Robert Engels
I only brought up LOC from the stand point that a 10 line program is most likely trivial to maintain. A million line program in any language is a different beast, and some are better suited for that “size” I agree with you whole heartedly that Go and Java are different beasts. I wasn’t a fan of

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-11 Thread Daniela Petruzalek
+ 1,000,000 > > > Exactly, Go is very simple, and ideal for the cases I pointed out in the > original post (and I’ll add, micro-services too), and so far all of the > proposals that seem to be gaining traction don’t continue that design > paradigm. > > -- You received this message because you ar

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-11 Thread 'Axel Wagner' via golang-nuts
On Tue, Sep 11, 2018 at 5:28 PM robert engels wrote: > This seems to contradict this a bit, > https://stackoverflow.com/questions/41586501/why-is-kubernetes-source-code-an-order-of-magnitude-larger-than-other-container > but > it may be an indictment that Go’s lack of classes/inheritance/generic

Re: [go-nuts] Re: [golang-dev] go doesn't need generics, but if they do...

2018-09-11 Thread robert engels
> On Sep 11, 2018, at 9:55 AM, 'Axel Wagner' via golang-nuts > wrote: > > [golang-nuts to CC, golang-dev to BCC] > > On Mon, Sep 10, 2018 at 5:33 PM robert engels > wrote: > In the entire codebase of Docker I could find only one obvious use of > interface{}, and