Re: [go-nuts] Re: module confusion

2020-08-16 Thread fgergo
On Sun, Aug 16, 2020, 04:42 Marvin Renich wrote: > * fge...@gmail.com [200815 03:44]: > > On 8/15/20, Marvin Renich wrote: > > > * Volker Dobler [200814 14:53]: > > >> On Friday, 14 August 2020 20:39:37 UTC+2, K Richard Pixley wrote: > > >> > Isn't this the default location? I just untarred

[go-nuts] Re: Artistic Library for Go Programmers.

2020-08-16 Thread mazznoer123
Color scales in Go https://github.com/mazznoer/colorgrad -- 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. To view this

Re: [go-nuts] Re: Windows 'Access is denied' for os.Remove after exec.Output()

2020-08-16 Thread Bob Alexander
Adding to my previous post... My expectation of a "process wait" is that it returns when the process is finished executing. I don't think it necessarily means that the OS has released the executable file. In Windows, this is clearly the case. It's unfortunate that the Windows characteristic that

Re: [go-nuts] Re: Windows 'Access is denied' for os.Remove after exec.Output()

2020-08-16 Thread atakanc...@gmail.com
Thank you for your reply. It was refreshing to hear that this issue had been discovered earlier and some work has been put into it. I guess I will keep a loop for n times and fail if still can't delete it for a while. Cheers. 16 Ağustos 2020 Pazar tarihinde saat 21:28:26 UTC+3 itibarıyla

Re: [go-nuts] Re: Windows 'Access is denied' for os.Remove after exec.Output()

2020-08-16 Thread Bob Alexander
Note that the "retry loop for deleting the executable" technique has zero wait time if the delete succeeds. A year or so ago I submitted a bug report because I had a program that ran hundreds of external processes (one at a time), and my Go program was way slower that a Python program that did

[go-nuts] [generics] Constraint type inference not working

2020-08-16 Thread jake...@gmail.com
When I try the example from the "Constraint type inference" section of the Draft Design: https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md#constraint-type-inference it does not seem to actually work: https://go2goplay.golang.org/p/pfq3QV6gdgf What am

Re: [go-nuts] How to build an object file for a specific GOOS and GOARCH with external linker?

2020-08-16 Thread rotusm...@gmail.com
i took your suggestions, tried the '-work' option it showed me the temporary directory where the build files are stored, but they didn't contain the object file. After exploring that a little, i found out out that the 'go build' command also makes a temporary link directory with the build

Re: [go-nuts] New linker

2020-08-16 Thread Amnon
As an aside, for those who do not know, Ian wrote the Gold linker, which sped up linking by a factor of 100. https://lwn.net/Articles/276782/ provides an index to his 20 part blog post on linkers. On Sunday, 16 August 2020 07:49:16 UTC+1, Amnon wrote: > > Thanks for the answer! > > Thanks also

Re: [go-nuts] New linker

2020-08-16 Thread Amnon
Thanks for the answer! Thanks also for your blog post on linkers https://www.airs.com/blog/archives/38 I know it is from 12 years ago. But I am behind on my reading, and it is taking me some time to catch up. And it still is an excellent introduction to what linkers do. Yes Austin Clement's