Re: Death by pointers. (Was: order of argument

gbaker@rp.CSIRO.AU (Greg Baker)
Sun, 10 Sep 1995 05:45:52 GMT

          From comp.compilers

Related articles
Death by pointers. (Was: order of argument evaluation in C++, etc.) (1995-08-30)
Re: Death by pointers. (Was: order of argument gbaker@rp.CSIRO.AU (1995-09-10)
| List of all articles for this month |

Newsgroups: comp.compilers
From: gbaker@rp.CSIRO.AU (Greg Baker)
Keywords: C, design
Organization: Australia Telescope National Facility, CSIRO
References: 95-09-030
Date: Sun, 10 Sep 1995 05:45:52 GMT

> Actually, of course, they were wrong, but nevertheless I
>think we can safely say that nobody knows what the programming
>langauge of 2010 will look like, but it will be called something
>beginning with C.
> Adrian
>[Cobol. -John]

Actually, I suspect that "the language of 2010" is going to be very
different. [Oh, no, he's about to start talking about his thesis
topic...] We will probably have the technology to be building quantum
computers by then (computers which can be in superpositions of
squillions of different states at once.)

Optimisation will be a very weird business indeed. You can't observe
the contents of a variable until the computation is finished, because
that observation will affect the computation. On the other hand, you
can always "undo" the last operation that you did, right back to the
beginning of the program.

A really clever compiler will need to work out what things can be
placed in "classical" memory, and what things really need to be
quantum parallelised. And then the loops in quantum code need to take
exactly the same number of steps regardless of input, otherwise they
will break syncronisation. So an optimising compiler might realise
that the best way to render one particular section of code is to
quantum parallelise it, which might then involve pessimising certain
sections so that they take longer!

            Gregory D. Baker ( CSIRO Radiophysics

        PROBABLE (
                - Predictions of the future ... read some ; add some!
          Q-gol (
                - High-level access language for quantum computers

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.