Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Iván Corrales Solera
Thanks again Bakul! The example that you posted looks so beautiful! Thanks for all the help Currently I am working on improving the performance, because even though It is not as good as I expected I think I can do it much better! Cheers On Tuesday, November 13, 2018 at 12:51:49 AM

Re: [go-nuts] Calling function with variadic arguments

2018-11-12 Thread Sergey Kamardin
Thank you for the reply. > The optimization you are talking about is escape analysis. I was trying to point not the escape analysis itself, but the ability of the compiler to construct stack-based slice for the variadic arguments instead of heap-based slices (like it does with the interfaces).

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Robert Engels
You need to review the source in the openjdk to see how the lazy evaluation is performed. It should translate fairly easily. Good luck ! > On Nov 13, 2018, at 12:54 AM, Iván Corrales Solera > wrote: > > > Hey Robert, > > > Thanks you so much for your comments. > > Yeah, actually I got

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Iván Corrales Solera
Hey Robert, Thanks you so much for your comments. Yeah, actually I got background developing with other languages such as Java or Javascript or Python and actually the idea of creating Koazee is mainly produced by my experience with Streams in Java or the map reduce in Javascript. Anyway I

Re: [go-nuts] cmd/link: go-link-{random}/ filename breaks reproducible build on ppc64le

2018-11-12 Thread Ian Lance Taylor
On Mon, Nov 12, 2018 at 5:38 PM, Eric Grosse wrote: > > (First-time post; please let me know if this is the wrong place to ask or > if I missed a previous post or issue when I searched. I'm willing to file > in https://github.com/golang/go/issues/new if that's the agreed way to keep > track, or

[go-nuts] cmd/link: go-link-{random}/ filename breaks reproducible build on ppc64le

2018-11-12 Thread Eric Grosse
(First-time post; please let me know if this is the wrong place to ask or if I missed a previous post or issue when I searched. I'm willing to file in https://github.com/golang/go/issues/new if that's the agreed way to keep track, or to wait until I understand the linker infrastructure on

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread robert engels
You can pretty much look at the Java8 streams source (from OpenJDK) and port it to Go. It would need to use interface{} or reflect - the former probably being faster, but both wouldn’t have the type safety - but I think the code would translate pretty easily. Still with IntStream, etc. you

Re: [go-nuts] [ANN] GoGi / Gide cross-platform GUI toolkit and IDE app

2018-11-12 Thread Tharaneedharan Vilwanathan
Hi Randy, Got it working! Thank you very much. Regards dharani On Mon, Nov 12, 2018 at 2:05 PM Randall O'Reilly wrote: > Installing Gide will install all of GoGi in the bargain: > https://github.com/goki/gide/wiki/Install > > or follow the directions in: >

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Bakul Shah
> On Nov 12, 2018, at 9:53 AM, ivan.corra...@bbva.com wrote: > > Hey Bakul again, > > I've been having a look at kona, and the project looks so good, I will look > in deep trying to get some good ideas as you recommend me, Let me know (off-list) if you need help in deciphering things in

[go-nuts] Golang Developer opportunities - New York City and other areas of the US

2018-11-12 Thread alfielong115
Hello everyone, I recruit for Golang Engineers. I was recommended this group by a client as a method of connecting with Go engineers. I recruit for positions mainly in New York City. However I do have clients in other areas of the US. If you have Golang development experience OR would like to

Re: [go-nuts] [ANN] GoGi / Gide cross-platform GUI toolkit and IDE app

2018-11-12 Thread Randall O'Reilly
Installing Gide will install all of GoGi in the bargain: https://github.com/goki/gide/wiki/Install or follow the directions in: https://github.com/goki/gi/tree/master/examples/widgets Basically, the “main” executable packages actually pull in all the dependencies, whereas the top-level paths

Re: [go-nuts] Calling function with variadic arguments

2018-11-12 Thread Ian Lance Taylor
On Mon, Nov 12, 2018 at 4:24 AM, Sergey Kamardin wrote: > > Also, I may assume that this because the compiler does not knows exactly > which function it will call in a runtime. Most likely, yes. > Am I understand it right and are there any plans for preparing such > optimizations? The

Re: [go-nuts] help(rest call failed)

2018-11-12 Thread Justin Israel
On Tue, Nov 13, 2018, 5:23 AM wrote: > I just want to send a rest call with golang, but it failed, the error > message : {"header":{"code":201,"desc":"param data not exist"}} .(but > when I send rest request with postman ,it success) > the code as follow > > 1 package main > 2 > 3

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread ivan . corrales
Hey Bakul again, I've been having a look at kona, and the project looks so good, I will look in deep trying to get some good ideas as you recommend me, In regards to the code generation, I've never done to be honest, but obviously the performance should be better. By the way, @Marko_Ristin

[go-nuts] help(rest call failed)

2018-11-12 Thread alive . seek
I just want to send a rest call with golang, but it failed, the error message : {"header":{"code":201,"desc":"param data not exist"}} .(but when I send rest request with postman ,it success) the code as follow 1 package main 2 3 import( 4 "net/http" 5 "fmt" 6

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread ivan . corrales
Hey Bakul thank you so much for your feedback, It's so great receive these kind of suggestions, I will create the required issue for implementing it. Cheers! El lunes, 12 de noviembre de 2018, 12:17:12 (UTC+1), Bakul Shah escribió: > > On Nov 11, 2018, at 11:27 AM, Iván Corrales Solera < >

[go-nuts] Re: [ANN] GoGi / Gide cross-platform GUI toolkit and IDE app

2018-11-12 Thread Ignazio Di Napoli
Wow. Thank you. In the examples I could not find how to use an OpenGL "widget", but in the wiki it seems that work on 3D is on-going. So it seems I'll have to wait a little more to use it, but I'll keep an eye on it! -- You received this message because you are subscribed to the Google Groups

[go-nuts] Calling function with variadic arguments

2018-11-12 Thread Sergey Kamardin
Hello gophers, Does Go compiler has some optimizations for function and *method* calls with `variadic` arguments? For example, this simple benchmark: ``` package main import "testing" func Do(xs ...int) (s int) { for i, x := range xs { s += i + x }

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Bakul Shah
On Nov 11, 2018, at 11:27 AM, Iván Corrales Solera wrote: > > Hey guys, last weeks I've been working on Koazee and I just released a very > first version Titi, v0.0.1 . > > Koazee is a golang library inspired in Lazy evaluation and functional > programming that provides us a rich set of

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Tamás Gulácsi
2018. november 12., hétfő 9:08:28 UTC+1 időpontban Iván Corrales Solera a következőt írta: > > Hey Tamás, > > First of all, thank you for your feedback. Well, actually as I commented > on the tile "takes the hassle out of working with arrays", so yes so far > only slices are supported, > > In

[go-nuts] Re: [ANN] GoGi / Gide cross-platform GUI toolkit and IDE app

2018-11-12 Thread Fino
great, I am trying, BR fino -- 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, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit

[go-nuts] [ANN] GoGi / Gide cross-platform GUI toolkit and IDE app

2018-11-12 Thread Randall O'Reilly
We are excited to finally announce the beta version of the GoGi cross-platform graphical interface toolkit (a preliminary announcement was made back in May), and the Gide IDE application written in it: * https://github.com/goki/gi * https://github.com/goki/gide Given the recent discussion

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Iván Corrales Solera
Hey Marko thank you so much for your suggestion. I will do it asap. Sorry If you missed some functionality but I just wanted to share a very first release for learn from your feedback guys. And It's so great this kind of suggestions. Thanks! On Monday, November 12, 2018 at 8:59:20 AM UTC+1,

Re: [go-nuts] [ANN] Koazee a library inspired by functional programming and lazy evaluation that takes the hassle out of working with arrays

2018-11-12 Thread Iván Corrales Solera
Hey Tamás, First of all, thank you for your feedback. Well, actually as I commented on the tile "takes the hassle out of working with arrays", so yes so far only slices are supported, In regarding to the lazy or versatile, I don't get you I mean in the example below: package main import (