now now...

On Nov 11, 2009, at 11:25 PM, Russ Cox wrote:

> On Wed, Nov 11, 2009 at 9:08 PM, andrey mirtchovski
> <mirtchov...@gmail.com> wrote:
> 
>> $ export GOMAXPROCS=4000000000
>> $ 6g sieve.go ; 6l -o sieve sieve.6
>> $ ./sieve
>> throw: all goroutines are asleep - deadlock!
> 
> That's not fair!  The minimal version of this is:
> 
> GOMAXPROCS=2147483648 sieve
> 
> You can guess what's going on.

In this day and age of so much 64bit goodness and so many multi-cored systems 
available, shouldn't it be something more like:

GOMAXPROCS=`hoc -e '2^32'` sieve

let alone `hoc -e '2^64'

Then again, if my hoc were arbitrarily clean enough, it should return a valid 
result for:

% hoc -e '2^2^2^2^2'
hoc: exponentiation result out of range in -e near line 2

(the Plan 9 error code is 'hoc: exponentiation result out of range near line 2')

I want my BigEnough numbers for those times when enough just isn't enough.  
Hrm... maybe it's time for a hoc.go or an apc.go implementation.

-jas


Reply via email to