It's neither, its undefined.
--
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 https://groups.goo
Yes it CAN be implemented that way, but that throws away type information,
and makes code less readable. It also seems to conflate the difference
between language and library, i suppose go has already trod that bridge.
What I'm asking for is something that can be used to reason about programs
at co
https://github.com/golang/go/issues/5373
I made a test
package main
import (
"testing"
)
const N = 1024 * 100
var a [N]int
func BenchmarkArrayPtr(b *testing.B) {
for i := 0; i < b.N; i++ {
for i := range &a {
a[i] = 0
}
}
}
func BenchmarkArray(b *testin
Progress:
I assumed that I could use so I jumped
to https://github.com/golang/go/wiki/GccgoCrossCompilation#symlink and
followed those instructions. I then compiled with gcc, gccgo, and ar all
symlinked to a place in my $PATH that occurs before the non-mips gcc etc
programs.
After compiling
I should add that my target device's kernel doesn't have FPU (floating
point) emulation, nor does it have a hardware FPU, and I therefore can't
just use go1.8r3's easy-to-use mips support; already tried it.
--Steve
On Friday, February 10, 2017 at 7:56:40 PM UTC-8, Steve Phillips wrote:
>
> > Y
> Yes, crosscompiling to mips with gccgo has worked for a while.
I'm having trouble getting this to work. I got gccgo-mips-linux-gnu to
produce binaries, but the target machine doesn't have the right shared
libraries to run them; I get *"can't load library 'libm.so.6'"* when trying
to execute
On Wednesday, February 8, 2017 at 12:25:35 AM UTC-8, fwan...@gmail.com
wrote:
>
> If I use GOMAXPROCS=1, the result is acceptable.
>
Here are some more tests. This is scaling with number of cores, I assume
the slowdown is scheduler overhead, not really select cases.
2 core 2.4ghz VM
GOMAXPR
Hello,
I have written a GO program which downloads a 5G compressed CSV from Amazon
S3, decompresses it and uploads the decompressed CSV (20G) to Amazon S3.
Amazon S3 provides a default concurrent uploader/downloader and I am using
a multithreaded approach to download files in parallel, decompre
Please pay your attention on page https://blog.golang.org/go-fmt-your-code with
dead link under word "Vim plugin for Go", because page
http://tip.golang.org/misc/vim/readme.txt is found.
Like I understood, correct link is
https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins
--
You receiv
On Thu, Feb 9, 2017 at 9:41 PM, Srikanth Chandika
wrote:
>
> I am facing issues while compiling go1.7 from src code. I am trying to
> install go1.7 on OpenBSD 5.9. I am facing below issues.
>
> --- FAIL: TestGoroutineParallelism2 (0.34s)
> panic: runtime error: invalid memory address or nil pointe
Hi All,
I am facing issues while compiling go1.7 from src code. I am trying to
install go1.7 on OpenBSD 5.9. I am facing below issues.
--- FAIL: TestGoroutineParallelism2 (0.34s)
panic: runtime error: invalid memory address or nil pointer dereference
[recovered]
panic: runtime error: invalid me
Johann,
On Fri, Feb 10, 2017 at 8:14 AM, Johann Höchtl
wrote:
> Can someone recommend me a skeleton of how to handle file uploads via web
> browser in Golang?
> Added Bonus: Drag & Drop would be nice but I understand that this is
> likely a HTML/Javascript issue.
>
I have this very simple examp
12 matches
Mail list logo