Op zaterdag 25 augustus 2018 18:54:32 UTC+2 schreef Ian Lance Taylor:
>
> On Sat, Aug 25, 2018 at 7:58 AM, Peter Kleiweg <pkle...@xs4all.nl 
> <javascript:>> wrote: 
> > Op zaterdag 25 augustus 2018 16:40:55 UTC+2 schreef Jakob Borg: 
> >> 
> >> On 25 Aug 2018, at 15:21, Peter Kleiweg <pkle...@xs4all.nl> wrote: 
> >> 
> >> 
> >> disabling the cache won't be an option in Go 1.12. What to do then? 
> >> 
> >> 
> >> You don’t say what your issues with the build cache are. If you did, 
> you 
> >> might get suggestions. 
> > 
> > 
> > Actually, setting GOCACHE=off doesn't solve all problems. So I am now 
> back 
> > to Go version 1.9.7 
> > 
> > Some problems: 
> > 
> >  - You can't use packages that require local adjustments to the 
> environment 
> > to install. 
>
> Can you expand on this.  I'm not sure what you mean. 
>
>
See this issue: https://github.com/golang/go/issues/27027

 

> >  - Code completion in Emacs doesn't work (using gocode) 
>
> That sounds like a bug to be fixed.  The golang.org/x/go/packages 
> package is intended to use the build cache for input where 
> appropriate.  The likely path forward will be to make gocode use 
> go/packages. 
>
>
> >  - Running Go in a Jupyter Notebook (using lgo) is slow with Go version 
> 1.10 
> > and higher. 
>
> I don't know what lgo is.  In general the cache does not slow down the 
> build.  Quite the opposite: in my experience, it speeds it up.  If you 
> see cases where the cache makes things slower, please report them so 
> that they can be fixed. 
>

It says here: https://github.com/yunabe/lgo#go110

" lgo works with go1.10. But the overhead of code execution is 4-5x larger 
in go1.10 than go1.9. It is due to a regression of the cache mechnism of go 
install in go1.10. I recommend you to use lgo with go1.9 until the bug is 
fixed in go1.10. "

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to