Re: [go-nuts] Estimating blockers for supporting gollvm on RISC-V (qemu). Fedora 33

2020-11-28 Thread Ivan Serdyuk
Jim, adding you to the discussion. I was not able to build gold, by configuring binutils, using > ./configure --enable-gold > did not allow GNU make tool to build gold: many sub-directories were processed, to compile the sources/generate files - but not the sub-dir. for gold. When I entered the "

[go-nuts] Re: Give the zero time value a location, and it won't survive a roundtrip to JSON?

2020-11-28 Thread b.ca...@pobox.com
I didn't think that AD was a thing, even though RFC 3339 says it is. Wikipedia says that dates in Common Era and Dionysius BC/AD are equivalent, and that 1BC led straight onto 1AD. -- You received this

[go-nuts] Re: Trying to understand HTTP connection pooling behaviour - new DNS lookup

2020-11-28 Thread b.ca...@pobox.com
Do you see a forward or reverse DNS lookup being made? Can you provide a standalone program which demonstrates this behaviour? I am wondering if either (a) something is logging when the connection is terminated, or (b) a new connection is automatically being made and put into a pool. On Saturd

Re: [go-nuts] Re: Give the zero time value a location, and it won't survive a roundtrip to JSON?

2020-11-28 Thread Matt Harden
On Fri, Nov 27, 2020 at 4:14 PM 'Robert Ma' via golang-nuts < golang-nuts@googlegroups.com> wrote: > Is this because the 2-second offset of LMT gets lost in RFC 3339 > representation? > Yes, that's exactly it. > On Fri, Nov 27, 2020 at 6:33 PM Robert Ma wrote: > >> Hi all, >> >> Time is compli

Re: [go-nuts] Re: Give the zero time value a location, and it won't survive a roundtrip to JSON?

2020-11-28 Thread 'Axel Wagner' via golang-nuts
It would also be possible to implement `json.Marshaler` to use a different time format. In particular, it might be reasonable to encode the zero value of time.Time as `null`, instead of a string (though mixed types in json messages areā€¦ icky). Personally, I'm always very cautious about encoding an

Re: [go-nuts] Trying to understand HTTP connection pooling behaviour - new DNS lookup

2020-11-28 Thread Amit Saha
> On 28 Nov 2020, at 8:14 pm, b.ca...@pobox.com wrote: > > Do you see a forward or reverse DNS lookup being made? > > Can you provide a standalone program which demonstrates this behaviour? > > I am wondering if either (a) something is logging when the connection is > terminated, or (b) a n

Re: [go-nuts] Trying to understand HTTP connection pooling behaviour - new DNS lookup

2020-11-28 Thread b.ca...@pobox.com
Unless you timestamp those log lines, I don't see any evidence that the DNS query is done when the godoc server shuts down. Could it not just be that after the 2 second sleep, when it's time to make a new connection, it finds that the pool is empty so has to do a lookup to establish a new conne

Re: [go-nuts] Trying to understand HTTP connection pooling behaviour - new DNS lookup

2020-11-28 Thread Amit Saha
> On 28 Nov 2020, at 10:36 pm, b.ca...@pobox.com wrote: > > Unless you timestamp those log lines, I don't see any evidence that the DNS > query is done when the godoc server shuts down. Could it not just be that > after the 2 second sleep, when it's time to make a new connection, it finds >

Re: [go-nuts] Trying to understand HTTP connection pooling behaviour - new DNS lookup

2020-11-28 Thread b.ca...@pobox.com
> My actual query was to learn how the removal of the broken connection is done. Ah OK. I'm not familiar with this code (net/http/transport.go), and you've already shown that the PutIdleConn trace action isn't called. Maybe this comment is helpful: if pconn.isBroken()

Re: [go-nuts] Trying to understand HTTP connection pooling behaviour - new DNS lookup

2020-11-28 Thread Amit Saha
> On 28 Nov 2020, at 11:22 pm, b.ca...@pobox.com wrote: > > > My actual query was to learn how the removal of the broken connection is > > done. > > Ah OK. I'm not familiar with this code (net/http/transport.go), and you've > already shown that the PutIdleConn trace action isn't called. Ma

Re: [go-nuts] Estimating blockers for supporting gollvm on RISC-V (qemu). Fedora 33

2020-11-28 Thread Ian Lance Taylor
On Sat, Nov 28, 2020 at 12:40 AM Ivan Serdyuk wrote: > > Jim, > adding you to the discussion. > > I was not able to build gold, by configuring binutils, using >> >> ./configure --enable-gold > > did not allow GNU make tool to build gold: many sub-directories were > processed, to compile the sourc

[go-nuts] Re: draft designs for file system interfaces & file embedding

2020-11-28 Thread Constantine Vassilev
I would like to test it. How to install the go 1.16 tip version? On Tuesday, July 21, 2020 at 8:22:30 AM UTC-7 Russ Cox wrote: > Hi all, > > I've posted two draft designs: one introducing general-purpose file system > interfaces, with Rob Pike; and one for embedding files into Go programs, > wi

Re: [go-nuts] Re: draft designs for file system interfaces & file embedding

2020-11-28 Thread Ian Lance Taylor
On Sat, Nov 28, 2020 at 10:27 AM Constantine Vassilev wrote: > > I would like to test it. How to install the go 1.16 tip version? See https://golang.org/doc/install/source . Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

Re: [go-nuts] Re: draft designs for file system interfaces & file embedding

2020-11-28 Thread Constantine Vassilev
I generated it from the source. I that the version I need? go version devel +4ce0a7cea6 Sat Nov 28 18:42:44 2020 + darwin/amd64 On Saturday, November 28, 2020 at 12:08:29 PM UTC-8 Ian Lance Taylor wrote: > On Sat, Nov 28, 2020 at 10:27 AM Constantine Vassilev > wrote: > > > > I would like t

[go-nuts] use Go in RTOS, for real-time, deterministic, (industry control) software?

2020-11-28 Thread Fino
Although Go is a GC language, is it any chance to use Go in Preempt_RT Linux (Xenomai, or other RTOS), for real-time, deterministic, (industry control) software? RTOS can offer a <50us schedule latency, it's the delay from hardware timer's interrupt triggered to real-time thread being re-sched