Re: Computer programmers' habits in electronics
- From: "PeteS" <ps@xxxxxxxxxxxxxxxxxxx>
- Date: 20 Dec 2005 14:54:16 -0800
Geoff wrote:
> On 20 Dec 2005 11:24:45 -0800, "PeteS" <ps@xxxxxxxxxxxxxxxxxxx> wrote:
>
> >I love the C construct 'where(x)' :)
>
--
> There's a 'where(x)' construct in C? How is it implemented?
> Where is this documented?
This was a custom compiler for parallel C. With parallel processors
(SIMD architecture) one could do this
where(x == active)
{
do_something;
}
which would run on the procs that x == active was true and run noops on
others.
Cheers
PeteS
>
> Surely you mean "while(x)", yes?
>
> Methinks you have been programming Fortran or LISP too much.
.
- Follow-Ups:
- Re: Computer programmers' habits in electronics
- From: Spehro Pefhany
- Re: Computer programmers' habits in electronics
- References:
- Re: Computer programmers' habits in electronics
- From: Jim Thompson
- Re: Computer programmers' habits in electronics
- From: Dirk Bruere at Neopax
- Re: Computer programmers' habits in electronics
- From: PeteS
- Re: Computer programmers' habits in electronics
- Prev by Date: Re: Rotary encoder
- Next by Date: Re: Rotary encoder
- Previous by thread: Re: Computer programmers' habits in electronics
- Next by thread: Re: Computer programmers' habits in electronics
- Index(es):