Search Discussions

69 discussions - 542 posts

  • New go tool subcommand proposed for Go 1.4. Please see the design document and comment in this thread. http://golang.org/s/go1.4-generate -rob -- You received this message because you are subscribed ...
    Rob PikeRob Pike
    Jul 1, 2014 at 7:57 pm
    Sep 28, 2014 at 6:02 pm
  • FYI As per offline discussion, the "lock-free channels" change: https://docs.google.com/a/google.com/document/d/1yIAYmbvL3JxOKOjuCyon7JhW4cSv1wy5hC0ApeGMV9s/pub is deferred as it adds significant ...
    Dmitry VyukovDmitry Vyukov
    Jul 16, 2014 at 8:59 am
    Oct 7, 2014 at 2:38 pm
  • Regarding https://codereview.appspot.com/111230043/ , moving the discussion to golang-dev. The context: I've received a private report about poor encoding/gob performance on a 80-core machine ...
    Dmitry VyukovDmitry Vyukov
    Jul 21, 2014 at 9:20 pm
    Aug 7, 2014 at 4:03 pm
  • Details at https://docs.google.com/a/golang.org/document/d/1QXzI9I1pOfZPujQzxhyRy6EeHYTQitKKjHfpq0zpxZs -rob -- You received this message because you are subscribed to the Google Groups "golang-dev" ...
    Rob PikeRob Pike
    Jul 17, 2014 at 5:14 pm
    Jul 30, 2014 at 12:23 am
  • A little over a year and a half ago, I chose to switch to Go as my primary language. Go is not marketed to scientific programmers, and contains only the barest of support for numeric computing, but ...
    Brendan TraceyBrendan Tracey
    Jul 15, 2014 at 6:24 am
    Aug 5, 2014 at 12:44 pm
  • Can I create an issue for this long term language change? I didn't see it here https://code.google.com/p/go/issues/list?q=label:LanguageChange I also couldn't find it expressed exactly like this ...
    Jul 3, 2014 at 11:58 am
    Aug 11, 2014 at 9:34 pm
  • Hello, I put up a CL for, amongst other things, a reflect.StructOf implementation where it was pointed out to me that methods inherited from embedded fields require delegate functions in the mtab ...
    Jul 7, 2014 at 12:57 am
    Jul 10, 2014 at 2:57 am
  • In moving a bunch of the runtime to go, I've come across the following problem. In a few places, we do sneaky cross-package operations. package reflect calls runtime.makemap. package runtime/debug ...
    Keith RandallKeith Randall
    Jul 24, 2014 at 11:00 pm
    Aug 5, 2014 at 5:56 pm
  • It seems pretty well established that maps, slices, and channels are, more or less, reference types: http://blog.golang.org/go-maps-in-action I was reading through the Go specification, however, and ...
    Jonathan ChanJonathan Chan
    Jul 31, 2014 at 5:29 am
    Aug 2, 2014 at 10:13 am
  • Hi all, I recently had an idea for goroutine stack optimization. Not sure if it would be feasible, or even useful, but I thought that I'd mention it. The optimization is this: for every goroutine, ...
    Gavin D HowardGavin D Howard
    Jul 29, 2014 at 8:11 pm
    Aug 4, 2014 at 10:48 am
  • To get the ball rolling on java language bindings for android before my vacation next week, I've jotted down some notes on what I am planning: http://golang.org/s/gobind Any comments welcome on this ...
    David CrawshawDavid Crawshaw
    Jul 12, 2014 at 4:14 pm
    Jul 25, 2014 at 8:23 pm
  • Hi, I am developing a highly concurrent network application. One thing that I notice is, when I have hundreds of sockets open at once, I get dozens or hundreds of OS threads. I understand that this ...
    Chill axtianChill axtian
    Jul 15, 2014 at 4:59 am
    Jul 16, 2014 at 3:12 am
  • Hi, I am trying to modify the compiler to allocate select descriptors on stack. A first naive attempt was to declare it as opaque array of bytes or pointers. But neither works. It must be scanned by ...
    Dmitry VyukovDmitry Vyukov
    Jul 8, 2014 at 10:46 am
    Jul 9, 2014 at 1:55 pm
  • We need to decide what to do with godoc's rendering of internal packages in the standard library. (We can defer decisions about godoc + $GOPATH packages for Go 1.5, if the internal mechanism is ...
    Brad FitzpatrickBrad Fitzpatrick
    Jul 21, 2014 at 6:51 pm
    Aug 11, 2014 at 8:50 pm
  • I don't understand what this part of the net.Dial docs are trying to say: http://golang.org/pkg/net/#Dial "If host is a literal IPv6 address or host name, it must be enclosed in square brackets as in ...
    Brad FitzpatrickBrad Fitzpatrick
    Jul 31, 2014 at 5:47 pm
    Aug 5, 2014 at 1:25 am
  • https://codereview.appspot.com/101670045 introduces the code.google.com/p/go.image/draw package, a superset of the standard library's image/draw package, including the ability to scale an image. The ...
    Nigel TaoNigel Tao
    Jul 4, 2014 at 8:59 am
    Jul 25, 2014 at 10:29 pm
  • Why does this start at goroutine 16 now? Can we please start at 1 again? http://play.golang.org/p/1Q9L2PPdAx I understand that batching of ID allocation might mean things are a little out of order, ...
    Russ CoxRuss Cox
    Jul 14, 2014 at 9:40 pm
    Jul 15, 2014 at 6:46 am
  • The go tool tells you what version it is, with "go version". But I don't see any way of querying a binary to ask what version of go it was built with. Does that exist? Anyone object to me adding such ...
    Keith RandallKeith Randall
    Jul 21, 2014 at 8:02 pm
    Jul 22, 2014 at 12:57 pm
  • I propose to add custom data type to bind values for database/sql. For example, some RDBMS support LOB APIs. For example, Oracle support BLOB/CLOB both. And some RDBMS support streaming APIs to store ...
    Jul 7, 2014 at 2:48 am
    Jul 7, 2014 at 3:22 am
  • [Russ Cox] So how about not changing from "+" to "go:" in the first place? We have at least the following comment conventions with special semantics, all unlike each other: // #cgo // +build // ...
    Gustavo NiemeyerGustavo Niemeyer
    Jul 2, 2014 at 2:09 pm
    Jul 2, 2014 at 5:14 pm
  • In the process of working on [issue 6764][1], I realized that gc permits declaring a variable twice in the same short variable declaration if the variable is shadowing another variable. For example, ...
    Evan KroskeEvan Kroske
    Jul 28, 2014 at 3:10 pm
    Aug 11, 2014 at 2:29 am
  • I am trying to debug an odd runtime bug I found [0]. (For future reference, is dev or nuts the correct place to ask about such bugs?). I'm suspicious that SLURM (our cluster resource manager [1]) is ...
    Brendan TraceyBrendan Tracey
    Jul 29, 2014 at 8:12 pm
    Jul 30, 2014 at 3:01 am
  • The README for github.com/golang/gddo says: The code in this project is designed to be used by godoc.org. Send mail to <span class="m_body_email_addr" title="c3ecb5e27faf47760cdc327c77b2bcea" ...
    Chris HinesChris Hines
    Jul 17, 2014 at 7:22 pm
    Jul 19, 2014 at 12:33 am
  • Now with fixed proposed syntax. Not easy without gofmt :-) In short I propose in := make(chan bool, 1) in <- true close(in) for select { case _, closed := <-in: if closed { break } case <- stop ...
    Ingo OeserIngo Oeser
    Jul 11, 2014 at 8:17 am
    Jul 14, 2014 at 2:29 pm
  • In short I propose in := make(chan bool, 1) in <- true close(in) for select { case _, closed := <-in: if closed { break loop } } to stop the for loop Rationale ------------- The constructs "for" and ...
    Ingo OeserIngo Oeser
    Jul 11, 2014 at 7:56 am
    Jul 11, 2014 at 11:59 pm
  • The README file has many very long lines that for some reason require scrolling when read in a browser; I'm using Chrome with plenty of horizontal space and yet scrolling is still needed. Would it be ...
    Lucio De ReLucio De Re
    Jul 17, 2014 at 5:10 am
    Jul 18, 2014 at 2:18 pm
  • Moving code review discussion (https://codereview.appspot.com/110030046/) here. This seems like a reasonable assumption to make, at least as a first approximation. Anyone developing a new Go compiler ...
    Peter CollingbournePeter Collingbourne
    Jul 12, 2014 at 1:01 am
    Jul 12, 2014 at 8:18 pm
  • Can someone please take a look and/or reboot that builder, it's running so slowly that builds are timing out. Cheers Dave -- You received this message because you are subscribed to the Google Groups ...
    Dave CheneyDave Cheney
    Jul 3, 2014 at 12:33 am
    Jul 9, 2014 at 4:39 pm
  • [Speaking only for myself, I don't represent anyone else in case reddit/hn/sgns/whoever picks this thread up looking for more things to hate]. Signal to noise ratio on golang-dev is too low. This ...
    Aram HăvărneanuAram Hăvărneanu
    Jul 2, 2014 at 3:49 pm
    Jul 7, 2014 at 1:20 am
  • Gophers, Several times I've tried to use math/rand helpers like Intn but needed a real random source. I've seen others now also hit this problem. I'd like to provide a bridge to return either a ...
    Brad FitzpatrickBrad Fitzpatrick
    Jul 1, 2014 at 6:02 pm
    Jul 3, 2014 at 10:03 am
  • http://goperfd.appspot.com/perf -- You received this message because you are subscribed to the Google Groups "golang-dev" group. To unsubscribe from this group and stop receiving emails from it, send ...
    Dmitry VyukovDmitry Vyukov
    Jul 23, 2014 at 11:49 am
    Aug 4, 2014 at 4:02 pm
  • Comparing Go 1.3 to this mornings tip there is a large regression in Gob encode/decode -- You received this message because you are subscribed to the Google Groups "golang-dev" group. To unsubscribe ...
    Dave CheneyDave Cheney
    Jul 27, 2014 at 11:07 pm
    Jul 28, 2014 at 9:47 pm
  • Just making sure it's doing its job. Can someone check if it's running properly? The Dragonfly and one Solaris builder are almost as fast, but the Windows should be running in race mode. -- Aram ...
    Aram HăvărneanuAram Hăvărneanu
    Jul 20, 2014 at 10:21 am
    Jul 22, 2014 at 9:31 am
  • Yet , I have learn Go-lang By myself with my poor English. And everything is going to bad when i could not make a example like the go source code(such $GOROOT/src/pkg/math/rand/example_test.go). When ...
    Jul 18, 2014 at 1:39 pm
    Jul 19, 2014 at 6:13 am
  • I am quite unfamiliar with how compilers work but I think there might be some inconsistencies that could be fixed about functions that create and return a string. Here is a memory benchmark ...
    Alexandre CesaroAlexandre Cesaro
    Jul 17, 2014 at 1:01 pm
    Jul 17, 2014 at 4:02 pm
  • Russ, please provide an update on this. Have you started this? What is the remaining amount of work (that you know of)? It blocks several changes on my side, so I would like to be up on it. -- You ...
    Dmitry VyukovDmitry Vyukov
    Jul 1, 2014 at 7:43 am
    Jul 1, 2014 at 12:40 pm
  • The problem is as follows: 1p) runtime·rfork is called with params that should be set by the child. These params live on the stack, which is not in the stack segment, but in shared memory. 2p) ...
    Aram HăvărneanuAram Hăvărneanu
    Jul 19, 2014 at 12:15 pm
    Jul 19, 2014 at 8:11 pm
  • At line 230 in pkg/mime/multipart.go there seems to be an && (and) where, according to the comment that follows that line, there ought to be a || (or). Because no one seems to have reported this ...
    Lucio De ReLucio De Re
    Jul 16, 2014 at 10:03 am
    Jul 16, 2014 at 5:58 pm
  • Hello, I'd like to ask an opinion on a short diff I've attached to this issue about the "fmt" package: http://code.google.com/p/go/issues/detail?id=8275 Some formatting "verbs" for runes count width ...
    Mihai BoroboceaMihai Borobocea
    Jul 29, 2014 at 1:13 am
    Aug 1, 2014 at 12:29 am
  • doc.go seems to have already become a well established convention to describe package/API level comments (especially for relatively complex multi-file packages). Unfortunately, it is not mentioned in ...
    Jul 28, 2014 at 4:26 am
    Jul 28, 2014 at 4:35 am
  • Can we remove the 1GB limit on enconding/gob? Thank you. VP -- You received this message because you are subscribed to the Google Groups "golang-dev" group. To unsubscribe from this group and stop ...
    Jul 24, 2014 at 10:09 pm
    Jul 25, 2014 at 9:55 pm
  • Hello, looking at the excellent code of the main tree, I noticed quickSort (pkg/sort/sort.go:166) can perform as part of the same invocation: -Both quickSort recursion and insertionSort, because ...
    Raphael GeronimiRaphael Geronimi
    Jul 24, 2014 at 12:55 am
    Jul 24, 2014 at 4:18 am
  • Hi, 40 days later, no release. Seems not a good idea to follows 2 goals in the same time. -- Sebastien Douche <<span class="m_body_email_addr" title="6a5031f68860b05edb94a0f3107d4595" ...
    Sebastien DoucheSebastien Douche
    Jul 21, 2014 at 8:34 pm
    Jul 22, 2014 at 6:49 am
  • This discussion relates to issue 8380, exposing runtime.throw to runtime functions written in Go. I'd like to take a pass at this. There are two issues to resolve to complete this task 1 ...
    Dave CheneyDave Cheney
    Jul 17, 2014 at 11:04 am
    Jul 18, 2014 at 1:32 am
  • Hello, Its been about a month since the 1.3 release and there are a few bug fixes which would be good to get into a point release, including the nasty register aliasing issue which corrupts slice ...
    Dave CheneyDave Cheney
    Jul 12, 2014 at 4:24 am
    Jul 16, 2014 at 5:28 am
  • Just throwing out another possibility since it doesn't seem to have been discussed yet: 1. Declare that "internal" packages within $GOROOT are exempt from the Go 1 guarantee. No such packages ...
    Matthew DempskyMatthew Dempsky
    Jul 15, 2014 at 11:39 pm
    Jul 15, 2014 at 11:47 pm
  • Hi, I am working on https://github.com/cmars/represent/issues/6. I am wondering what is the right way to use the http://blog.golang.org/playground. Ideally I would like the javascript button to show ...
    Amit upadhyayAmit upadhyay
    Jul 14, 2014 at 2:04 pm
    Jul 15, 2014 at 9:41 am
  • Hi All, we all know that one complain about go is the lack of *generics*. However in `real life`, we don't miss them so often. There are still cases we all like to have some kind of `generic` type ...
    Davide D'AgostinoDavide D'Agostino
    Jul 13, 2014 at 8:01 pm
    Jul 14, 2014 at 8:05 pm
  • Hi, I've collected some stats about several different Go programs. Posting it here in case it is interesting to somebody else, or just for future reference. Note that there are several tabs and ...
    Dmitry VyukovDmitry Vyukov
    Jul 11, 2014 at 8:51 am
    Jul 14, 2014 at 10:59 am
  • I have a use case where I want to set the deflate compression level to the minimum to obtain the highest speed of compression. We're trying to generate an existing zip-based file format (xlsx) in as ...
    Peter WallerPeter Waller
    Jul 11, 2014 at 11:04 am
    Jul 11, 2014 at 4:56 pm
Group Navigation
period‹ prev | Jul 2014 | next ›
Group Overview
groupgolang-dev @

120 users for July 2014

Dmitry Vyukov: 39 posts Russ Cox: 32 posts Rob Pike: 26 posts Minux: 24 posts Dave Cheney: 21 posts Andrewchamberss: 20 posts Andrew Gerrand: 19 posts Ian Lance Taylor: 19 posts Aram Hăvărneanu: 14 posts Brad Fitzpatrick: 14 posts Dan Kortschak: 11 posts Kevin Gillette: 11 posts Brendan Tracey: 10 posts Henrik Johansson: 10 posts David Crawshaw: 9 posts Brainman: 8 posts Chris Hines: 8 posts Jan Mercl: 8 posts Mattn: 8 posts Gustavo Niemeyer: 7 posts
show more