Search Discussions
-
Golang is a compiled static typed language with GC. C/C++ is a compiled static typed language without GC. So I am just sometimes wondering the main issue is GC performance ? -- You received this ...
Davy zhang
Apr 15, 2013 at 4:37 am
Apr 19, 2013 at 6:09 pm -
For example, will it have the ability to lookup functions by name at runtime? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from ...
Steven Degutis
Apr 25, 2013 at 4:06 pm
May 2, 2013 at 11:11 pm -
Hello, Can you write a type that implements the following interface without using the sync package ? // A Future represents some work to be performed. type Future interface { // Result returns the ...
Dave Cheney
Apr 19, 2013 at 1:19 pm
Apr 21, 2013 at 6:13 pm -
Hi Go nuts, We have just released go1.1beta1, a test version of Go 1.1 cut from the default branch at revision 267bb9854177. This is not a release candidate: We are still finalizing some details and ...
Andrew Gerrand
Apr 4, 2013 at 5:13 am
Apr 11, 2013 at 10:08 pm -
Hello everyone, I just started learning Go, and I do realize this is not an OO language, but why not use methods instead of package functions to make things less verbose? Compare: foo.Contains(bar) ...
Amedvednikov
Apr 30, 2013 at 12:23 pm
May 6, 2013 at 4:46 pm -
io.Closer doc says: "Closer is the interface that wraps the basic Close method." It doesn't specify any standard/predictable behavior when Close is called twice (or more). Some example: func aaa() ...
Ziutek
Apr 8, 2013 at 8:11 pm
Apr 10, 2013 at 10:21 pm -
Hi, after using different pg implementations with tip and 1.0.3 and seen the different bugs and comments about database/sql and the drivers, I have the impression, that the database/sql needs a ...
Meta keule
Apr 26, 2013 at 6:23 am
Apr 30, 2013 at 7:17 am -
I've been having problems with Ticker failing. I've isolated the problem down to small test case that only fails when GOMAXPROCS=1. Works with 1.0.3. Is this a Go 1.1 bug? ...
Lawrence Bakst
Apr 19, 2013 at 10:18 am
Apr 23, 2013 at 3:58 am -
http://golang.org/pkg/strings/ has func Index(s, sep string) int func IndexAny(s, chars string) int func IndexFunc(s string, f func(rune) bool) int func IndexRune(s string, r rune) int and func ...
John Nagle
Apr 5, 2013 at 5:23 am
Apr 7, 2013 at 9:32 pm -
I don't see how relative imports might be useful, moreover they seem like a bad idea generally. So, how about making relative imports a compilation error? Thoughts? -- You received this message ...
Andrew Lytvynov
Apr 2, 2013 at 8:42 am
Apr 3, 2013 at 1:13 pm -
Hello Go App Engine users, As you may know, the Go developers intend to launch Go 1.1 in the coming weeks. All Go apps will be migrated to use Go 1.1 after its release. We are now providing a beta ...
Andrew Gerrand
Apr 2, 2013 at 7:23 am
Jun 18, 2013 at 4:32 am -
Hi gophers, *First of all I'm not asking Go developers to add this.* * * - I'm asking what things *should* be changed (runtime, gc, 6l, etc...) to do this (I want some *mind enlightenment*, this ...
Carlos Cobo
Apr 29, 2013 at 11:42 am
May 1, 2013 at 9:10 am -
Doesn't work if getting compile errors. http://go-gyazo.appspot.com/58a6f3cb833aa676.png -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To ...
Mattn
Apr 23, 2013 at 12:18 pm
Apr 26, 2013 at 12:30 am -
The following code gives the output shown below. Only the first one is correct. The godocs give the following advice: "see the documentation for ANSIC" There's no documentation for ANSIC except for a ...
Dean Schulze
Apr 19, 2013 at 7:04 pm
Apr 22, 2013 at 6:12 pm -
Hello, Just search the list but didn't find any results. So I'm curious, nobody cares about this problem? Why not just change the pointer instead of a new allocation & memmove? It wastes a lot of CPU ...
Jingcheng Zhang
Apr 25, 2013 at 2:09 am
Apr 25, 2013 at 8:10 pm -
Hi All, Yesterday Tumblr open-sourced an exciting piece of software that I worked on for the past year. I am happy to share it with the Go community: http://gocircuit.org The Go Circuit project can ...
Petar Maymounkov
Apr 23, 2013 at 11:31 am
Apr 25, 2013 at 12:52 am -
I have been looking for this for sometime now. But is it seriously not possible to delete / unset / free a variable or a part of memory ? As per the spec there is only one function delete to delete ...
Raheelgup
Apr 15, 2013 at 12:06 pm
Apr 17, 2013 at 12:38 am -
Hi all, please be gentle as I am a brand new golanger :) What do you think about the following syntax change, to make the return value(s) visually separated from the returned error. I'm not sure what ...
Eric Sampson
Apr 4, 2013 at 1:49 pm
Apr 5, 2013 at 3:47 am -
When you have so much flags is better to separate it with sub-commands, being the first flag such sub-command: cmd -foo [-q1 -q2] cmd -bar -a although you have to do a hard check to allow only valid ...
Archos
Apr 21, 2013 at 6:14 pm
Jan 1, 2014 at 9:33 am -
Hi there gophers, I need some help finding an abstract data structure suitable for my needs. I've never worked with spatial ADTs before so I'm a bit lost. I've searched a bit and found spatial ...
Carlos Cobo
Apr 26, 2013 at 12:43 pm
Apr 28, 2013 at 8:28 am -
Will there be any go related talks at Google IO 2013? Any info about them? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this ...
Jon Renner
Apr 3, 2013 at 5:59 pm
May 22, 2013 at 7:15 am -
Does anyone know if we can buy http://willischung.slickpic.com/a/2012NovGoGopherUpgrade/photo#2503272 online? I know it used to be on googlestore.com, but the link seems to have gone away. -- You ...
Tech163
Apr 15, 2013 at 3:29 am
May 10, 2013 at 3:44 pm -
Not sure if this has been posted before (didn't see it in the search results), but I was curious what the opinions are: http://www.techempower.com/benchmarks/#section=data-r3 Go seems to do very ...
Justin Israel
Apr 24, 2013 at 4:33 am
Apr 25, 2013 at 11:53 pm -
What is the reason for these image formats be in separate repositories? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this ...
Herbert Fischer
Apr 23, 2013 at 11:15 pm
Apr 25, 2013 at 1:41 pm -
Now I'm writing a net filesystem (like GFS) in golang. In my test, when put many files( 10 million or more ) in the filesystem, the memory cost is up to 4GB, and every a few minutes, the filesystem ...
Feeling4t
Apr 23, 2013 at 5:10 pm
Apr 24, 2013 at 5:54 pm -
I have a table-based ln factorial function that is initialised with a starting table which can be expanded (I may put a limit on the max size at a later stage) by calls to lnFac() below. At the ...
Dan Kortschak
Apr 9, 2013 at 3:00 am
Apr 24, 2013 at 3:54 am -
Humm... Is there any particular reason the sql package distinguishes between a query that returns a set of rows, and an 'Exec' that returns a 'Result' type, which contains the insert id and affected ...
Dougx
Apr 7, 2013 at 2:29 pm
Apr 12, 2013 at 7:19 pm -
The above quote is from the go tour. It makes sense, but I'm wondering if it's the whole story. My code has a nil channel dereference, and I think the the cause is that the receiver closes the ...
Brendan Tracey
Apr 11, 2013 at 4:29 pm
Apr 12, 2013 at 3:56 am -
What's the best way to grow a slice by a given size a priori (when the data you want to append is not yet available)? I first wondered when I read ...
Arne Hormann
Apr 23, 2013 at 1:42 pm
Jun 2, 2013 at 1:19 pm -
Hi all, I am interested in error-related changes. Frequently I want to check for an error, and pass it 'up' if it occurs: _, err := someFn() if nil!=err { return err } I've tidied that up a little to ...
Craig Mason-Jones
Apr 5, 2013 at 7:31 am
Apr 12, 2013 at 6:37 am -
Still using 1.0.3, and trying to use pprof, but I do not understand it. My code starts like http://play.golang.org/p/JTHRjww43b and I modify it to be http://play.golang.org/p/33xdWg36gq , as ...
Brendan Tracey
Apr 9, 2013 at 10:09 pm
Apr 11, 2013 at 2:12 am -
I've got a long-running server written in Go and in our production environment, it seems to be leaking virtual memory (top show RSS fairly stable but Virtual grows over time). Under any load that I ...
Smw12
Apr 19, 2013 at 1:37 am
Apr 22, 2013 at 10:56 pm -
After struggling with real code and getting nowhere I've gone back to basics and realised I don't have any idea how this is supposed to work. I followed the example at ...
Bobc
Apr 4, 2013 at 2:35 pm
Apr 5, 2013 at 2:53 pm -
Could the builders of Go 1.1 on Windows X64 please comment on the compiler and toolchain used to compile the binary distribution? Would the binary distribution be any different than if I downloaded a ...
Luke Mauldin
Apr 4, 2013 at 11:47 am
Aug 21, 2013 at 12:36 am -
Hey golang-nuts, In order to learn Go, I spent some time implementing the AKS primality test [1] in it. I thought I'd share my initial thoughts and see if there's anything I missed. My code is at ...
Frederick Akalin
Apr 29, 2013 at 4:48 pm
May 19, 2013 at 10:47 am -
Hi, I have been experimenting with different ways of doing parallel for loops in go. I have two different models at the moment. The first launches a set of go routines every run ...
Brendan Tracey
Apr 12, 2013 at 6:35 pm
Apr 18, 2013 at 7:34 pm -
Right out of the oven: http://blog.labix.org/2013/04/15/unix-like-pipelines-for-go gustavo @ http://niemeyer.net -- You received this message because you are subscribed to the Google Groups ...
Gustavo Niemeyer
Apr 15, 2013 at 9:00 am
Apr 17, 2013 at 9:00 am -
Does anyone know of any bitcoin miner written in go? I guess it would be very slow anyway, unless it gets access to C/Assembly code, especially on a GPU. Thanks in advance! Jose -- You received this ...
Josvazg
Apr 4, 2013 at 5:47 am
Apr 12, 2013 at 12:14 pm -
Hello, The basic gripe is that I have uses for Go that are sensitive to the amount of charged virtual memory in Linux, in which I have overcommit turned off for the benefit of other programs that ...
Daniel Farina
Apr 9, 2013 at 7:19 am
Apr 11, 2013 at 6:48 pm -
If I have N 1 concurrent writes to a map, and order of insertion is not important AND no reads while inserting, do I have to use locks? (read will happen later, guaranteed not to be interfered by a ...
Johann Höchtl
Apr 9, 2013 at 10:28 am
Apr 10, 2013 at 5:52 am -
A compiled program that was written in pure Go is self-contained. It runs without external dependencies. A program using external C libraries, when compiled, can still miss the right information to ...
Peter Kleiweg
Apr 6, 2013 at 11:14 am
Apr 9, 2013 at 9:23 am -
Hi gophers, Tony Hoare's paper 1978 paper "Communicating sequential processes" is one of the great influential papers in Computer Science. I had heard about it at uni, forgot about it, then ...
Thomas Kappler
Apr 7, 2013 at 6:25 pm
Apr 9, 2013 at 4:28 am -
*Build Web Application with Golang<https://github.com/astaxie/build-web-application-with-golang * has more than 1200 stars in Github.com, some people asked original author if there is an English ...
Jiahua Chen
Apr 3, 2013 at 9:35 pm
Oct 18, 2013 at 1:02 am -
Hi all, We recently completed Round 3 of our web application framework tests. This included Go 1.1 and a community-contributed implementation of our single- and multi-query database tests ...
Teonanactl1
Apr 19, 2013 at 4:48 am
Apr 20, 2013 at 11:36 am -
Hello, I'v noticed a possible godoc bug. Maybe I'm just using something wrong, but maybe not. For a package of mine (consisting of multiple source and test files) Godoc extracts the package docs from ...
Péter Szilágyi
Apr 8, 2013 at 2:09 pm
Apr 9, 2013 at 9:33 am -
I recently rewrote my open source database in Go (from C) and my database uses LuaJIT as part of its execution engine. I had issues getting LuaJIT to recognize my low level C functions written in cgo ...
Ben
Apr 10, 2013 at 3:48 am
May 16, 2013 at 2:39 pm -
I need a database engine to be used in clients but I discard wrappers to C libraries to can install it easily in whatever system where Go works. I have found: + An implementation of LevelDB in Go ...
Archos
Apr 29, 2013 at 8:23 am
May 9, 2013 at 5:08 am -
Is this considered idiomatic? http://play.golang.org/p/J2cAwJ4KiI Also.. I've checked the spec but can't find it.. Are type switches made at runtime or compile time? Thanks, Carlos -- You received ...
Carlos Cobo
Apr 6, 2013 at 9:44 pm
Apr 7, 2013 at 4:19 pm -
Greetings, The pipe package (http://labix.org/pipe) received a number of improvements, and v2 is out to avoid breaking existing apps with the changes made. Here is the change list: - Some bug fixes ...
Gustavo Niemeyer
Apr 21, 2013 at 11:07 pm
Apr 11, 2014 at 5:32 pm -
play.golang.org has button to share code. I'd like to add a similar button to https://code.google.com/p/go-play/. Is this possible? That is, is there a public API for adding code to play.golang.org? ...
Rocky Bernstein
Apr 15, 2013 at 5:23 pm
May 5, 2013 at 3:47 am
Group Overview
group | golang-nuts |
categories | go |
discussions | 434 |
posts | 3,080 |
users | 534 |
website | golang.org |
534 users for April 2013
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)