From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Tue, 3 Dec 2013 13:24:45 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Go and 21-bit runes (and a bit of Go status) Topicbox-Message-UUID: 91322aea-ead8-11e9-9d60-3106f5b1d025 > On 3 December 2013 10:08, wrote: > >> I seem to remember >> Charles suggesting that it is difficult to do. And as it caught a >> rather embarrassing case of sloppy programming >> > > It's not sloppy programming, but an underlying assumption about RISC > machines in the (then) future > having a respectable number of (truly) general-purpose registers, and the > x86 > does not. Oy! That's not what I was suggesting. The sloppy programming was in $GOROOT/src/cmd/8g/ggen.c where it triggered a compiler failure: multiplication was used in an expression as argument to a function invoked inside a loop. In the compiler, the abort() invocation could be called sloppy, but not in the same sense :-) ++L