On Friday, 18 August 2023 at 05:57:38 UTC-6 Tibor Halter wrote:
Thanks Ian!
I have managed to strip it down to its essence, see code below.
*Summary of what I'm doing*
- reserve memory with make([]byte)
- get pointer to underlying array
- cast it to type Num
- write pointer #2 into it
- force
On Thursday, 11 August 2022 at 10:09:35 UTC+2 Jan Mercl wrote:
> On Thu, Aug 11, 2022 at 9:59 AM Patrick Smith wrote:
>
> > To date, I've been using a recipe I found some time ago through an
> Internet search (I've forgotten the source, so can't credit it):
> >
> > gocmd := runtime.GOROOT()
In my experience (Gio projects), WASM is very slow compared to native code;
my investigations are part of #32591. You may find
https://github.com/golang/go/issues/32591#issuecomment-517835565 relevant,
because I cut out rendering to eliminate the JS<=>Go crossing overhead. It
was a ~10x differe
On Wednesday, 25 August 2021 at 22:31:31 UTC+2 Higherous wrote:
> Hello all. How do I need to start my server written in Go and used in the
> iOS app?
> I tried as in many tutorials, just
>
> *ServerStartArg("8090", documentDirectory[0])*
>
> This starts the server, but the application freezes
On Tuesday, 30 March 2021 at 14:19:57 UTC+2 christoph...@gmail.com wrote:
>
> It is unspecified in the documentation if the png encoder is performing
> gamma correction. I thus assume that it is not performing gamma correction.
> Is this assumption correct ?
>
> According to wikipedia, jpg image
On Thursday, 18 March 2021 at 13:11:33 UTC+1 Space A. wrote:
> > What kind of proof would you find to be acceptable? Can you give an
> example of something that I could say that you would consider to be a
> good answer to that question? Thanks.
>
> Ian, seriously. ANY evidence please, which you
On Sunday, 14 March 2021 at 07:57:12 UTC+1 Jason E. Aten wrote:
> I was noodling about how to minimize the cost of crossing the CGO barrier
from Go code into C code and back.
> Then I thought, what if I look at this the other way around.
> Instead of teaching the Go compiler how to better run C
On Sunday, 21 February 2021 at 19:08:16 UTC+1 Luis Furquim wrote:
>
> That seems to me that when I set GOARCH=386 it disables CGO, silently
> ignoring any code that references to C symbols.
>
>
>
Go disables Cgo when cross-compiling (GOARCH is different from your native
GOARCH). You can enable
Filed as https://github.com/golang/go/issues/43278
On Friday, 18 December 2020 at 20:41:47 UTC+1 ma...@eliasnaur.com wrote:
> Hi,
>
> I have GOFLAGS=-mod=readonly in my environment to avoid unnoticed changes
> to go.mod and go.sum. However, I'm getting a weird error from the n
Hi,
I have GOFLAGS=-mod=readonly in my environment to avoid unnoticed changes
to go.mod and go.sum. However, I'm getting a weird error from the new in
1.16 "go install p@version" form to install a Go program:
$ go version
go version devel +2de7866470 Fri Dec 18 18:25:14 2020 + darwin/amd64
On Sunday, 1 November 2020 at 13:52:34 UTC+1 miki@gmail.com wrote:
> I try to change the "go run" command to use "-mod=readonly", didn't help.
>
Drive-by comment in case you weren't aware: Go 1.16 is switching to
-mod=readonly
by default. The proposal and links to the implementation are in
On Sunday, 2 August 2020 at 23:24:20 UTC+2 jake...@gmail.com wrote:
> There is currently no 'clear choice' for GUI in go. It will depend on you
> needs. Some to look into:
>
> https://bitbucket.org/rj/goey/src/master/
> https://gioui.org/
> https://github.com/andlabs/ui
> https://github.com/gok
12 matches
Mail list logo