Liste des Groupes | Revenir à cl c |
On 28/03/2025 02:59, Janis Papanagnou wrote:
Yes, BASIC was crude and limited - /all/ programming languages of that
era were crude and limited by today's standards, because /all/ computers
were crude and limited.
BASIC was perhaps more crude and limited than
others of the time, because it was used primarily on computers that were
more crude and limited.
[...]>
>I think it was a professor at the university who meant that anyone>
who started with BASIC would be incapable of ever doing real CS.
It was Dijkstra who said that. As usual, his comments were
entertainingly exaggerated when made, and then taken out of context.
No, I meant another professor whose lectures I attended at our
University. - It could of course be that he was just citing Dijkstra,
but he didn't sound as if he did; it was certainly his strong opinion.
>
You can be very confident that he was citing, or paraphrasing, Dijkstra.
>
As said, I wasn't attributing that to Dijkstra but a local professor.
And the argument was not about interpreters but more about lacking
structuring features, hard coded line numbers, gotos, and a lot more
the like.
That is like criticising the Romans for using chariots instead of cars.
It is just prejudice and ignorance.
Later languages were able to have better structuring, and didn't need
line numbers, because the systems they were designed for were faster,
and had text editors.
And later BASICs had more structure, and dispensed with the need for
line numbers. With BBC BASIC, for example, you very rarely referred to
line numbers at all, and code was well structured (albeit limited to a
single file).
I had a look, to augment the little I knew of the NS30000 ISA. It is
very similar to the 68k in many ways. I think you'd have to dig into
fine detail to see real differences.
So, again, what do /you/ think is "inferior" about the 68k architecture?
Either I'm missing something, or you are missing something.
I used it for the implementation of a channel encoding system, a
typical "signal processing" application; it was great. Imagining
I would have to use any other processor I already knew these days
(65xx, 68k, x86)... - that would have been really annoying.
>
There's no doubt that the TMS320 devices can be used to do many types of
DSP-style operations very efficiently. That's not the point - that does
not stop it from being horrible to work with. (It is also fair to
characterise it as an "interesting" architecture - that is also not at
odds with being horrible to use.)
>[...]>
There are plenty of things I find disappointingly similar between most
cpu architectures. It's hard for novel ideas to break through.
But there were ideas! But not only the interesting ideas (like the
frame shift on the stack [SPARC]; one detail I memorized) should have
been considered,
Yes, I like the register window idea of the SPARC. But it is hard to
make it scalable - it would be significantly more flexible if the
register window was actually a memory window with a specialised cache
setup.
also (e.g.) support of addressing data structures as
known from (back then) contemporary languages; the NS 32xxx supported
that for example.
Can you give an example?
There was, back then, a tendency for CISC processors to have a lot of
complicated addressing modes to access certain data structures.
It was
later shown that these were inefficient and limited, and it was better
to have faster register calculations and do the addressing calculations
in software - for the 68030 and 68040, compilers ignored the complicated
addressing modes and did the scaling and indirections in software
because it was faster.
Later implementations of the 68k ISA, like the
Coldfire, dropped the messiest address modes entirely. Of course, the
NS32000 didn't have the address registers of the 68k, so the balance
might have been different there.
And these ideas were already old; see for example
Seegmüller: Einführung in die Systemprogrammierung (1974)
(And I would be surprised if he'd been the first who described that.)
>
But yes, the "break through" factors (e.g. the market factors) were
an issue.
>[...]
I can recommend reading about the XMOS. (It's for embedded use, not a
general-purpose processor.)
Les messages affichés proviennent d'usenet.