It can also be something to exclude the tmp directory in which Go compiles
when you do a 'go run'
(I assume you meant that when saying 'build and run')
What happens if you just build?
- Is this slow
what happens if you just execute?
- Is this slow?
What happens if you go install some-tool and ru
> But perhaps I'm just a sucker for quality and maintainability and I'm
barking up the wrong tree.
I don't think that you will find many people here who don't think that code
quality and maintainability
are important.
But I would disagree with the implicit assumptions that
code that "passes" a
two comments
a) use many cores. Suddenly your Go code runs circles around everything
else-- i.e. those
languages you mention where doing multicore in a pain. The view
that other languages are faster comes from an age long ago of single core
machines.
b) rather than pre-mature optimization, the
Sorry, but I didn't state (and so does the linter) that any code is
deficient.
Normal usage of a linter is not to satisfy a linter, but to do some basic
code review.
(Most new linters can skip certain code lines these days too.)
I know that the number of lines in a single function is just a matte
This long discussion started with the question why the Go source is not
linted.
But I think the OP has answered his own question by providing us with a
list of 963 places
where the linter has decided that the code is deficient.
But what is notable, is that he has not given a single example whe
Same holds true for Java. People have tried What you end up with is Java is
name only - so why bother.
> On Dec 14, 2022, at 2:47 PM, Ian Lance Taylor wrote:
>
> On Wed, Dec 14, 2022 at 9:57 AM Kursk wrote:
>>
>> Go is a high performant garbage collected language, (considered) memory safe
On Wed, Dec 14, 2022 at 9:57 AM Kursk wrote:
>
> Go is a high performant garbage collected language, (considered) memory safe
> programming language, and as such its performance may not be comparable with
> other languages such as C/C++/Rust under certain application scenarios.
>
> I was wonderi
Hi Declan,
Virus scanners can slow things down significantly on Windows, including
virus scanners can go into overdrive if you are touching many files,
touching files with atypical extensions, or building and then immediately
executing a new binary.
To start, you could try temporarily disablin
I am guessing it is a dns resolution issue during startup. See the GODEBUG
netdns settings.
> On Dec 14, 2022, at 11:57 AM, Declan Finn wrote:
>
> Hi,
>
> Platform: Windows 10
> Go Version: 1.19.4
>
> Compile and run of the most basic helloworld program is extremely slow on my
> windows ma
Hi,
Go is a high performant garbage collected language, (considered) memory
safe programming language, and as such its performance may not be
comparable with other languages such as C/C++/Rust under certain
application scenarios.
I was wondering, how much of the Go language could be stretched (
Hi,
Platform: Windows 10
Go Version: 1.19.4
Compile and run of the most basic helloworld program is extremely slow on
my windows machine, taking roughly 30 seconds every time.
Whereas the exact same program, using the same go version, compiles and
runs in under 1 second on my Ubuntu machine.
Wh
Hi is there another way as we have to package it as a dll or a lib .
But whenever we try using syscall with dll it fails with "bad sweepgen in
refill"
Is there any other way where we font create a new executable
thanks
On Monday, December 12, 2022 at 1:34:23 PM UTC+5:30 Brian Candler wrote:
>
12 matches
Mail list logo