[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] GCC 8 pre-releases have escaped...
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] GCC 8 pre-releases have escaped... |
Date: |
Wed, 07 Feb 2018 20:40:06 +0000 |
Hi Bakul,
> trunccpy() is strndup().
Yes, allowing for passing sizeof-1 instead. And the extra malloc and
free, or piece of work for the GC.
> Go-1.0 used a conservative GC and it was fast enough.
Yes, but AIUI Go's GC was built into the language's runtime and could
use knowledge produced by the compiler to ease its work, e.g. here's a
mask for a struct's layout saying where there are addresses. It wasn't
a bolt-on GC that looked at a word's bits and cogitated if it was a
pointer that kept something alive.
> Also note Go strings are variable sized.
And immutable. :-)
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., (continued)
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Paul Vixie, 2018/02/10
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Ralph Corderoy, 2018/02/10
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Bakul Shah, 2018/02/07
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Ralph Corderoy, 2018/02/10
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Paul Vixie, 2018/02/10
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Bakul Shah, 2018/02/10
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Ralph Corderoy, 2018/02/11
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Bakul Shah, 2018/02/10
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Ralph Corderoy, 2018/02/11
- Re: [Nmh-workers] GCC 8 pre-releases have escaped..., Michael Richardson, 2018/02/06
- Re: [Nmh-workers] GCC 8 pre-releases have escaped...,
Ralph Corderoy <=