[go-nuts] Why doesn't Go use Windows's time zone data for time.LoadLocation?

2024-11-27 Thread will....@gmail.com
I read in a recent Go issue that Go uses time zone data in GOROOT for Windows and Plan 9. I looked through the Go proposal documents, but couldn't find one for the time package that had the original reasons, but I assume the reasons are because Windows didn't used to have IANA-compatible time

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-11-27 Thread 'Keith Randall' via golang-nuts
Passing the -N flag will disable optimizations, which includes jump tables. On Wednesday, November 27, 2024 at 1:42:14 PM UTC-8 Ian Lance Taylor wrote: > On Wed, Nov 27, 2024 at 5:48 AM 'Karolina GORNA' via golang-nuts > wrote: > > > > I wondered if there is a similar command to gcc -fno-jump-ta

Re: [go-nuts] Is it possible to compile a Go program without jump tables ?

2024-11-27 Thread Ian Lance Taylor
On Wed, Nov 27, 2024 at 5:48 AM 'Karolina GORNA' via golang-nuts wrote: > > I wondered if there is a similar command to gcc -fno-jump-tables -o > output_file source_file.c to compile Go code without jump tables but only > with if/else statements (binary search) please ? Sorry, there is no such

[go-nuts] Is it possible to compile a Go program without jump tables ?

2024-11-27 Thread 'Karolina GORNA' via golang-nuts
Hello, I wondered if there is a similar command to gcc -fno-jump-tables -o output_file source_file.c to compile Go code without jump tables but only with if/else statements (binary search) please ? Thank you -- Les informations contenues dans ce message électronique ainsi que celles contenue