Search Discussions
-
Does the Go team has thinked into a next version without the garbage collector? Go is very cool to use but I need the best possible performance since I've not deep pockets like Google. When you are ...
Archos
Jul 17, 2014 at 8:52 am
Jul 25, 2014 at 7:12 pm -
Hello Everyone, I have always thought how it would feel if all identifiers were pointers by default. I mean the opposite way Go works: values will never be copied unless explicitly requested. I would ...
Hasan Yasin Öztürk
Jul 17, 2014 at 8:47 pm
Jul 18, 2014 at 2:36 pm -
I understand that go encourages sharing memory by communicating. However, there are cases where this doesn't work (or I don't understand how it works). The example is shared configuration. A config ...
Jordan Zimmerman
Jul 20, 2014 at 2:16 pm
Jul 22, 2014 at 1:43 pm -
If we look at the Server.Serve method: https://code.google.com/p/go/source/browse/src/pkg/net/http/server.go#1694, we see that on each HTTP request it creates a new go routine. This is not too great, ...
Amitu
Jul 3, 2014 at 11:03 am
Jul 9, 2014 at 7:00 am -
If the Go Authors should decide to implement generics, the following style seems best: 1. Parameterization is more natural and useful at the package level than the function level. Especially if you ...
RickyS
Jul 7, 2014 at 3:27 pm
Jul 9, 2014 at 12:36 pm -
I'm writing a blog post about the "generics problem" in Go. I try to distill it so as to deliver a short and concise, objective break-down on the complexity of the challenge. In the end I hint at a ...
Tomwilde
Jul 16, 2014 at 10:26 am
Jul 18, 2014 at 9:07 pm -
I find a number of docs on the web talking about how the 2-return 'range' over a slice of structs will copy each struct. Is this right? Or is the compiler smart enough to elide the copy in the case ...
Tim Hockin
Jul 8, 2014 at 10:29 pm
Jul 14, 2014 at 3:30 pm -
Ill outline my problem and a solution, I'd appreciate well reasoned feedback as to why this would be a good idea, or a bad idea. The problem: I have a computation pipeline where data flow is simply ...
Andrewchamberss
Jul 2, 2014 at 11:30 pm
Jul 4, 2014 at 4:23 am -
As I'm trying to release my (still BETA!) first Go program (http://github.com/xanzy/chef-guard any comments are more then welcome!) I am now in the mitst of trying to properly solve the vendoring ...
Sander van Harmelen
Jul 23, 2014 at 10:58 am
Jul 27, 2014 at 9:20 am -
It is my understanding that when a goroutine needs to perform a blocking I/O call, the thread for the context is detached and a new thread is created for the context to run the next goroutine in ...
William Kennedy
Jul 19, 2014 at 11:34 am
Jul 25, 2014 at 4:48 pm -
Changed subject thanks to BIG INSIGHTS from both Michaël Jones & Andrey Mirtchovski coming from this initial thread ...
JonRod
Jul 5, 2014 at 1:41 pm
Jul 6, 2014 at 7:31 pm -
Hi all, I'm posting it here because I'm not allowed to post on `dev`. Often the biggest complain about go is the lack of generics. We all know that in `real life` we don't miss them so often. However ...
Davide D'Agostino
Jul 13, 2014 at 5:53 pm
Jul 15, 2014 at 11:49 pm -
~GOPATH git:(master) go get code.google.com/p/go.tools/cmd/godoc package code.google.com/p/go.tools/cmd/godoc: Get https://code.google.com/p/go/source/checkout?repo=tools: dial tcp ...
You fu
Jul 5, 2014 at 2:21 pm
Jul 8, 2014 at 1:30 am -
Hey Everyone, A big fan. In my job, we are starting to adopt Go and I expect it to form a major portion of our backend infrastructure. We need to interact with AWS, primarily EC2. I have looked at ...
Vivek Garg
Jul 25, 2014 at 3:29 pm
Aug 20, 2014 at 8:50 am -
Hi all! I've recently ported a very simple program from Python to Go. It's job is to start and stop other programs (using os.Command and friends) at the request of other programs over ZeroMQ/tcp. I'm ...
Veegee
Jul 24, 2014 at 3:22 pm
Jul 26, 2014 at 11:42 am -
Get it here: https://github.com/pebbe/dictzip More on dictzip: http://linuxcommand.org/man_pages/dictzip1.html -- You received this message because you are subscribed to the Google Groups ...
Peter Kleiweg
Jul 3, 2014 at 9:51 am
Jul 4, 2014 at 8:47 pm -
Hi guys, Dropbox is open sourcing its go libraries (under the BSD 3-clause license). You can check out the repo on https://github.com/dropbox/godropbox. To ensure we continue to invest in this open ...
Patrick Lee
Jul 3, 2014 at 12:58 am
Jul 4, 2014 at 10:17 am -
I read the Go Memory Model page (http://golang.org/ref/mem) last night. I sure am glad. I was startled by the programs towards the end of the page -- the section titled "Incorrect synchronization", ...
Philip O'Toole
Jul 25, 2014 at 4:41 pm
Jul 26, 2014 at 12:20 am -
Hello, I am trying to multiply matrices with the go.matrix package from skelterjohn (John Asmuth?) on github https://github.com/skelterjohn/go.matrix, which works nicely. BUT I need to multiply lots ...
Bernhard Spanyar
Jul 11, 2014 at 5:52 pm
Jul 24, 2014 at 2:56 am -
Yes, Go Search ( http://go-search.org/ ) is still updating. For those who didn't know about it, Go Search is a very powerful golang package search engine. It aims at helping you find the best package ...
David DENG
Jul 9, 2014 at 3:48 pm
Jul 10, 2014 at 7:01 am -
why is debugger not packaged with golang. I know I can use gdb, but apple has moved on to lldb. and installing gdb under osx is painful. Also why not provide a debugger which is specifically designed ...
Nik
Jul 19, 2014 at 8:32 pm
Jul 22, 2014 at 8:13 am -
As I understand it, the go test command compiles and runs tests identified by naming conventions. The files that end in _test.go are special and the compiler doesn't compile them unless go test is ...
Steve Powell
Jul 4, 2014 at 10:58 pm
Jul 21, 2014 at 1:54 am -
Hello golang-nuts, I am playing around with an encoder, something like encoding/gob or encoding/json, and figured that the fastest way to figure out what type the incoming interface{} is, as long as ...
Martin Bruse
Jul 10, 2014 at 9:17 pm
Jul 12, 2014 at 3:22 am -
Is the goroutine destroyed after the http request is responded? If so, is that goroutine stack memory explicitly released (i.e, immediately become usable) or just a candidate for later GC? -- You ...
Sean Bigdatafun
Jul 10, 2014 at 4:35 am
Jul 10, 2014 at 9:00 pm -
Hi Apologies if this has been discussed before. I know that pointers to interfaces are discouraged[0] . Still, in this example[1] you will end up getting a runtime error if you do not pass a pointer ...
Silvan Jegen
Jul 29, 2014 at 1:00 pm
Jul 31, 2014 at 2:27 pm -
Hi Nigel, Any news? We need webp encoder :) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails ...
Kamoliddin Mavlonov
Jul 26, 2014 at 12:40 pm
Jul 29, 2014 at 2:05 am -
As it happens I have a function with thousands of lines of 4000+ character string literals. No doubt this is not a common issue, but before I write a one-off program to break: struct { ...
Michael Jones
Jul 17, 2014 at 8:28 pm
Jul 18, 2014 at 2:24 pm -
Is it safe to pass an address of the memory underlying a Go slice to a C function and populate it from C? From what I gather, Go seems to block garbage collection during C calls, unlike say Java or ...
Daniel Eloff
Jul 2, 2014 at 2:41 am
Jul 3, 2014 at 4:17 am -
We are trying to tune an application which has 14 second GC time on Go 1.3 linux/amd64. On average we're cleaning between 430M and 630M objects on every run. gc474(8): 60+19+14095997+93 us, 24118 - ...
Frank Schröder
Jul 24, 2014 at 8:59 am
Aug 4, 2014 at 3:43 am -
Hello, I noticed a bug related to detecting the connection refused error on connect(). The net effect is, that a write() will eventually error out with "connection refused" which is quite odd of ...
Jason
Jul 24, 2014 at 5:55 am
Jul 26, 2014 at 4:49 am -
Greetings, http://play.golang.org/p/f9SeGTScPO - can I somehow create a method common for 5 types so that this method has access to X field (that all types have) and I don't have to copy the same ...
Eugene Toropov
Jul 8, 2014 at 7:19 pm
Jul 9, 2014 at 1:26 pm -
Sharing memory directly between goroutines which may be running on separate hardware threads is firmly against the principles of Go. Nonetheless Go is a practical language and it allows you to do ...
Dan Eloff
Jul 1, 2014 at 8:20 am
Jul 8, 2014 at 5:41 am -
I can write a package with a function like this: func Foo(r *os.File) But if I want to be more general, want to use a io.Reader instead? This won't work: func Foo(r *io.Reader) It has to be this ...
Peter Kleiweg
Jul 4, 2014 at 11:22 am
Jul 8, 2014 at 4:13 am -
Hi, I'm having a few issues running pprof. I went over http://exneehilo.blogspot.com.au/2012/07/profiling-go-with-pprof-under-windows.html and it still doesn't work properly. 1. A temp file cannot be ...
Amit Lavon
Jul 1, 2014 at 9:12 pm
Jul 2, 2014 at 10:30 am -
I'm trying to understand the new rules introduced in 1.3 with the typed GC, it looks like uintptr is unsafe to pass to any function now. From a related question in May: Ian Lance Tayler wrote: From ...
Daniel Eloff
Jul 23, 2014 at 4:17 pm
Aug 5, 2014 at 10:45 pm -
Hi I'm trying to parse an example SVG file using the encoder/xml Unmarshal function. This works very well except... I can't figure out how best to handle the case of multiple different child ...
Graham MacDonald
Jul 17, 2014 at 8:48 pm
Jul 18, 2014 at 8:45 am -
If are there some Arduino fans, you will be probably interested in my recent project: https://sites.google.com/site/embeddedgo/ For now it is in "only proof of concept state" but works good enough so ...
Ziutek
Jul 9, 2014 at 1:25 pm
Jul 15, 2014 at 6:35 pm -
Hello, I'm working on a segmented map (to get better throughput when accessed concurrently). It has n segments where each has a map of its own. Depending on the hash of the key the segmented map ...
Oliver Plohmann
Jul 18, 2014 at 2:18 pm
Jul 21, 2014 at 5:17 pm -
pgx v2 is a pure Go PostgreSQL adapter that focuses on performance and PostgreSQL specific features. pgx supports the standard database/sql interface and its own native interface. The native ...
Jack Christensen
Jul 15, 2014 at 2:27 pm
Oct 21, 2014 at 7:41 pm -
The doc says: *Close closes the Writer. It does not close the underlying io.Writer.* I was concerned whether it flushes or not (should be mentioned either way). I had to go over the code to realize ...
Amit Lavon
Jul 30, 2014 at 7:15 pm
Aug 1, 2014 at 10:51 am -
Hey go-nuts, I've created a small project for automagical update of Go executables, as I recently found myself spending too much time on doing this manually. The idea is simple, it looks for Go ...
Rjeczalik
Jul 31, 2014 at 12:30 am
Jul 31, 2014 at 12:04 pm -
I'd like to clone ejabberd, more or less, and do it in Go. I'd like to use Google Protobuf instead of XML (XMPP) or JSON, though, as this would be most power-saving on mobile devices. Does it make ...
Joel Reymont
Jul 30, 2014 at 6:44 pm
Jul 30, 2014 at 10:37 pm -
That's ridiculous, just because two packages are dependent on each other does not mean they should all be together. How about if you have one package that has all the business logic in a program and ...
Jamesdbloom
Jul 26, 2014 at 1:50 pm
Jul 28, 2014 at 1:56 am -
I have a math algorithm that I'm trying to run parts of in *parallel*. I read Effective Go, and it said this: http://golang.org/doc/effective_go.html#parallel "The current implementation of the Go ...
Jabari Zakiya
Jul 2, 2014 at 8:10 pm
Jul 6, 2014 at 8:34 pm -
I'd like to announce that I've released go-gettable packages, plus I've addressed a few usability issues, so it should be easier than ever to use glow. The prebuilt packages include support for ...
Eric Woroshow
Jul 4, 2014 at 9:36 pm
Aug 3, 2014 at 1:34 am -
Hello, Im currently doing a compiler course and would like to to know if golang is suitable for creating a very simple domain specific language? Please share your experience... At the end of the ...
Gerald Stanje
Jul 31, 2014 at 12:19 pm
Jul 31, 2014 at 2:04 pm -
Hi, I'll start by saying that this is just the third day when i am playing around with GO, in the last two days i've read documentation and viewed a few videos on youtube and today i tried to do ...
Totyoserbangeorgecristian
Jul 20, 2014 at 6:01 am
Jul 25, 2014 at 10:58 am -
This one has stumped me, most likely because I don't know enough about reflect and how functions are passed around in Go. func foo(bar *Bar) { } The only way to generically accept a function taking ...
Daniel Eloff
Jul 21, 2014 at 1:58 pm
Jul 21, 2014 at 9:10 pm -
I could not find anything useful Googling "unexpected fault address error". I am suspecting a race condition. We have a TCP server that loops over a map of large number of clients (that frequently ...
Alec Matusis
Jul 12, 2014 at 9:22 pm
Jul 13, 2014 at 10:37 am -
I've been unable to find a way to use functions returning things of various types that implement an interface, in a place where I'm using the interface as a type to group them together. I've cut my ...
Jcg Sturdy
Jul 10, 2014 at 11:30 am
Jul 10, 2014 at 3:43 pm
Group Overview
group | golang-nuts |
categories | go |
discussions | 407 |
posts | 2,509 |
users | 553 |
website | golang.org |
553 users for July 2014
Archives
- June 2016 (815)
- May 2016 (1,277)
- April 2016 (1,340)
- March 2016 (1,589)
- February 2016 (1,499)
- January 2016 (1,419)
- December 2015 (1,217)
- November 2015 (1,490)
- October 2015 (1,768)
- September 2015 (2,186)
- August 2015 (2,240)
- July 2015 (2,221)
- June 2015 (2,056)
- May 2015 (1,508)
- April 2015 (2,023)
- March 2015 (2,186)
- February 2015 (2,032)
- January 2015 (2,219)
- December 2014 (2,612)
- November 2014 (1,886)
- October 2014 (2,115)
- September 2014 (2,267)
- August 2014 (2,172)
- July 2014 (2,509)
- June 2014 (337)
- May 2014 (1,260)
- April 2014 (2,795)
- March 2014 (2,914)
- February 2014 (2,640)
- January 2014 (2,720)
- December 2013 (2,487)
- November 2013 (2,527)
- October 2013 (2,610)
- September 2013 (3,038)
- August 2013 (3,302)
- July 2013 (2,235)
- June 2013 (2,929)
- May 2013 (3,816)
- April 2013 (3,080)
- March 2013 (2,963)
- February 2013 (3,401)
- January 2013 (3,865)
- December 2012 (2,603)
- November 2012 (2,493)
- October 2012 (3,246)
- September 2012 (3,469)
- August 2012 (62)