Shared dynamic libraries do reduce the “wear and tear” on an SSD. The binaries
are loaded a single time and shared across processes - slightly longer startup
times for the dynamic linkage.
It is highly beneficial with large runtimes vs small standard library usage in
tiny utilities.
> On J
It does not surprise me that your shared run-time build takes more time
than the usual static build. The latter case is highly optimized while your
use case has probably been given very little consideration. I am also
confused by your argument for supporting linking against a shared Go
runtime libr
Thanks for the reply. I had mixed results.
On Fedora 37, go version go1.19.4 linux/amd64, in /usr/local/go/src as root
I ran
go install -buildmode=shared std
That seemed to work.
In my normal working directory, as me, not root, I ran
go build -linkshared *.go
(I do a regular build in this di
On Sat, Jan 28, 2023 at 11:27 AM jlfo...@berkeley.edu
wrote:
>
> For people like me who have no intention of ever distributing a Go
> executable, I wonder
> if it would be useful, and possible, to link to a shared library version of
> the Go
> Runtime. This would make my binaries much smaller an
On Sat, Jan 28, 2023 at 8:05 AM yeshwanthchowdary jampala <
yeshwanthchowdaryjampala...@gmail.com> wrote:
> Hi everyone,
>
> I'm getting this error:
> 1)cannot use j (variable of type int) as type string in send
> 2)cannot use x (variable of type int) as type float32 in argument to
> comppricevalu
For people like me who have no intention of ever distributing a Go
executable, I wonder
if it would be useful, and possible, to link to a shared library version of
the Go
Runtime. This would make my binaries much smaller and would reduce ware and
tear on my SSD.
Of course, this presumes that suc
Hi everyone,
I'm getting this error:
1)cannot use j (variable of type int) as type string in send
2)cannot use x (variable of type int) as type float32 in argument to
comppricevalue
3)cannot use k (variable of type int) as type float32 in send
Code:
package main
import (
"fmt"
"time"
)