Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)

Liste des GroupesRevenir à cl c  
Sujet : Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.c
Date : 28. Mar 2025, 02:05:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vs4sln$1haaa$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 27.03.2025 12:14, bart wrote:
On 27/03/2025 02:24, Janis Papanagnou wrote:
>
I'm speaking about all that inferior systems that had a comparably
high price without a matching quality. And about years and years
passing without vendors of such products changing that situation.
 
I guess ... you're talking about either the IBM PC hardware or MS
software, or both? (Although PCs weren't expensive.)

Here PCs were expensive; a friend of mine bought one for ~8000 DM,
IIRC, (compare that to 2000 DM for a Commodire PET; even the first
Apple was expensive but not that expensive as the IBM PC).

[ memory demands ]
 
Also, by a 'few KB' I meant single figures, like 2-8KB for the code,
plus RAM. That Atari seems to have a bit more available.

Yes, I was comparing it with the "standard" IBM PC (which had 640 kB)
and the Atari ST had first (I think) 500 kB (mine, a later version,
had 1 MB).

You are right to point out that some BASIC interpreters were provided
in a ROM. I don't recall the ROM sizes of all the PCs I used back then,
but I remember the Sharp PC 1401 pocket calculator that had 40 kB ROM
for the OS with BASIC.

 
I've never used Basic. But it is one language I admire, even if it is
crude:
 
  10 let a=0
  20 let a=a+1
  30 if a<1000000 then 20
  40 print a

Okay, you "admire" BASIC (and you found the 68000 CPU "wonderful");
that tells a lot about your background and expertise.

 
>
In the past I had implemented an emulator for the SC 61860; if that
helps you in any way with your argument please let me know.
 
The argument is that even such an apparently simple processor was not as
'primitive' as you seemed to think.

You certainly have no clue at all to guess what I _think_, given that
you don't even understand what I am _saying_.

I seem to recall that elsewhere in the thread you were mentioning the
number of transistors - I understood that as if you take that being
an indication for a complexity, non-triviality, not being "primitive".
If that is a correct interpretation of your argument I'd like to
suggest considering that the number of molecules (necessary to build
up these ~8000 transistors) is even larger.

Try for a moment to understand that the quality of a CPU architecture is
not (for assembler programmers) something measured in transistors.

There's huge differences in processor _architectures_, though...

 
>
But also at that time - early 80s when Spectrums etc were popular -
there were some wonderful new 16/32-bit processors such as 68000,
Z8000/0 and NS32032, of which only the first survived.

If you mention 68000 and NS32032 playing in the same architectural
league then it's hard for me to consider you a serious discussion
partner.

>
I've had contact with a couple CPUs back these days; 6502 (6510),
68000, 8080 (Z80), another Intel thing where I forgot the number,
SC 61860, TMS 320 C25. And I read about (but not programmed) a
couple more (the SPARC, one from National Semiconductors) where
I forgot the model numbers.
>
The 68000, specifically, is a great example for an inferior CPU
architecture. (Your mileage obviously varies if you think it was
even "wonderful".)
 
OK, so what's wrong with it then? (It seemed to be adequate for that
Atari!)

It was chosen for the Atari. So what? The IBM PCs worked with Intel's
x86 series. So what? - The quality of processor architectures seem
not directly correlated to what's been used; obviously other marketing
principles dominated. - I'm not up to date with recent CPU evolutions,
but I think the sophisticated NS 32016/32 died and the 68000 survived;
from a CPU architecture perspective I consider that a crazy fact. (But
also not surprising, because the market is often driven by price and
politics and not necessarily by superior technology.)

I won't discuss the details of CPU architectures with you here; but
if you're really interested I suggest to inspect those two processors
more thoroughly - there's papers and documents available online.

[...]
>
But that all was long ago and is meaningless today.
 
I find I can learn a lot from how simple things were that long ago. The
early 80s was the golden age for that, getting away from mainframes and
complex OSes, to much more informal systems. Now it's worse than ever.

I'm not able two bring your two sentences together. - What is worse?

Do you mean to qualify it as: mainframe era: bad, 1980's era: good,
nowadays: bad again. - Is that what you wanted to say?

The biggest problems with mainframes might be their "costs"; in every
sense (physical size, price, energy, capacity, speed), if compared to
contemporary systems. There's certainly progress, necessary progress.

(I worked in telecom contexts where mainframes had been used and we
supported the transition to Unix systems. The original system filled
a sports hall, literally, and the result of the reorganization was a
couple machines in a corner of that hall.)

But there were also advantages compared to some later systems; I tried
(for example) to get access to the main/core memory on a CDC 175 - to
no avail, of course. That attack was no problem on the PC systems that
I used in the 1980s.

What I'd want to (positively) say is that the "good bits" of old era
should not get forgotten! - Often (it seems) they are, sadly.

 
It's interesting to still see advocates of inferior IT justifying
bad paragons, though.
 
So you have strong opinions about languages and machine architectures
and IT (whatever that is exactly).

Lets say I have some background to separate the wheat from the chaff.

("IT" means "information technology"; a common superordinate term to
not enumerate all the subareas separately. - I'm sure you know that.)

 
I also have strong opinions about inferior languages like C and a few
other things. They are not that welcome in a forum like this. But I am
at least in the same field: I code at the lower level and also develop a
parallel systems language.

So what? I see nothing wrong with your stance here.

But, unless I'm in excitement, I wouldn't call "C" "inferior" per se.
There's IMO good reasons to use it in many places and circumstances
(I also use it; and, just for the record, more often than Simula or
some other languages that I mentioned to have commendable properties).

 
The question is, what are /you/ doing here with all your lofty ideals
and sneering at everyone who isn't an academic or a 'professional'? I'm
surprised you would even deign to look at a language like C.

My "lofty ideals", as you call it, are the things I strive to. This is
maybe contrary to some other folks; I don't chime in to any advertised
hype.

WRT academic or professionalism; actually I generally don't know (or
need to know) whether someone has an academical background, or solid
practical experience, or has a well built up self-educated knowledge.
(But usually you can become quite sure about anyone's background if
you follow what discussion partners say.)

In my experience it's not the best for IT/CS professionals to reside
in an (academic) ivory tower, it's also not the best to not have some
academic background, and it's really bad if there's just IT-religious
fanatics around.

I try to share my knowledge and discuss topics to learn new things.
But at some point I can also get harsh if someone obviously lacking
even the basic CS knowledge and IT experience, and is yet constantly
insisting and re-iterating "stupid positions".

WRT me using "C"; I've answered that already above in this post. We
have the choice and (usually) the freedom to make use of it. - That
doesn't prevent me from pointing out the "good bits" of alternatives.
After all, _I_'d like things to get better. (Not an easy position.)

My impression is that the prevalent age here is maybe 55-75 (or so);
it would be bad if that concentrated experience gets lost.

Janis


Date Sujet#  Auteur
19 Mar 25 * Suggested method for returning a string from a C program?391DFS
19 Mar 25 +* Re: Suggested method for returning a string from a C program?4Keith Thompson
19 Mar 25 i+- Re: Suggested method for returning a string from a C program?1Keith Thompson
19 Mar 25 i`* Re: Suggested method for returning a string from a C program?2DFS
19 Mar 25 i `- Re: Suggested method for returning a string from a C program?1Keith Thompson
19 Mar 25 +* Re: Suggested method for returning a string from a C program?323Tim Rentsch
19 Mar 25 i+* Re: Suggested method for returning a string from a C program?2DFS
19 Mar 25 ii`- Re: Suggested method for returning a string from a C program?1Richard Heathfield
19 Mar 25 i`* Re: Suggested method for returning a string from a C program?320DFS
19 Mar 25 i +* Re: Suggested method for returning a string from a C program?6Tim Rentsch
19 Mar 25 i i`* Re: Suggested method for returning a string from a C program?5DFS
19 Mar 25 i i +* Re: Suggested method for returning a string from a C program?3James Kuyper
19 Mar 25 i i i+- Re: Suggested method for returning a string from a C program?1Keith Thompson
19 Mar 25 i i i`- Re: Suggested method for returning a string from a C program?1DFS
19 Mar 25 i i `- Re: Suggested method for returning a string from a C program?1Tim Rentsch
19 Mar 25 i `* Re: Suggested method for returning a string from a C program?313Michael S
19 Mar 25 i  +* Re: Suggested method for returning a string from a C program?309DFS
19 Mar 25 i  i`* Re: Suggested method for returning a string from a C program?308Richard Heathfield
19 Mar 25 i  i `* Re: Suggested method for returning a string from a C program?307Michael S
19 Mar 25 i  i  +- Re: Suggested method for returning a string from a C program?1Richard Heathfield
20 Mar 25 i  i  `* Re: Suggested method for returning a string from a C program?305Tim Rentsch
20 Mar 25 i  i   `* Re: Suggested method for returning a string from a C program?304bart
20 Mar 25 i  i    +* Re: Suggested method for returning a string from a C program?298bart
20 Mar 25 i  i    i+* Re: Suggested method for returning a string from a C program?92Muttley
20 Mar 25 i  i    ii+* Re: Suggested method for returning a string from a C program?8Michael S
20 Mar 25 i  i    iii`* Re: Suggested method for returning a string from a C program?7Muttley
20 Mar 25 i  i    iii `* Re: Suggested method for returning a string from a C program?6Michael S
20 Mar 25 i  i    iii  +* Re: Suggested method for returning a string from a C program?3Muttley
23 Mar 25 i  i    iii  i`* Re: Suggested method for returning a string from a C program?2Michael S
23 Mar 25 i  i    iii  i `- Re: Suggested method for returning a string from a C program?1Tim Rentsch
20 Mar 25 i  i    iii  +- Re: Suggested method for returning a string from a C program?1Tim Rentsch
20 Mar 25 i  i    iii  `- Re: Suggested method for returning a string from a C program?1Keith Thompson
20 Mar 25 i  i    ii`* Re: Suggested method for returning a string from a C program?83bart
20 Mar 25 i  i    ii +- Re: Suggested method for returning a string from a C program?1Muttley
20 Mar 25 i  i    ii +* Re: Suggested method for returning a string from a C program?80Michael S
20 Mar 25 i  i    ii i`* Re: Suggested method for returning a string from a C program?79bart
20 Mar 25 i  i    ii i +* Re: Suggested method for returning a string from a C program?3Kaz Kylheku
20 Mar 25 i  i    ii i i`* Re: Suggested method for returning a string from a C program?2Michael S
20 Mar 25 i  i    ii i i `- Re: Suggested method for returning a string from a C program?1Kaz Kylheku
21 Mar 25 i  i    ii i `* Re: Suggested method for returning a string from a C program?75Keith Thompson
24 Mar 25 i  i    ii i  `* The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)74Janis Papanagnou
24 Mar 25 i  i    ii i   `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)73Keith Thompson
25 Mar 25 i  i    ii i    `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)72David Brown
25 Mar 25 i  i    ii i     +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)5Kaz Kylheku
25 Mar 25 i  i    ii i     i`* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)4David Brown
25 Mar 25 i  i    ii i     i `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)3Keith Thompson
26 Mar 25 i  i    ii i     i  +- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Chris M. Thomasson
26 Mar 25 i  i    ii i     i  `- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1David Brown
25 Mar 25 i  i    ii i     +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)64Janis Papanagnou
25 Mar 25 i  i    ii i     i+* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)54bart
25 Mar 25 i  i    ii i     ii`* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)53Janis Papanagnou
26 Mar 25 i  i    ii i     ii +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)2bart
26 Mar 25 i  i    ii i     ii i`- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Janis Papanagnou
26 Mar 25 i  i    ii i     ii `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)50David Brown
26 Mar 25 i  i    ii i     ii  `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)49Janis Papanagnou
26 Mar 25 i  i    ii i     ii   `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)48David Brown
26 Mar 25 i  i    ii i     ii    `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)47Janis Papanagnou
26 Mar 25 i  i    ii i     ii     +- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1David Brown
27 Mar 25 i  i    ii i     ii     `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)45bart
27 Mar 25 i  i    ii i     ii      +- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1bart
27 Mar 25 i  i    ii i     ii      +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)4Waldek Hebisch
27 Mar 25 i  i    ii i     ii      i`* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)3bart
27 Mar 25 i  i    ii i     ii      i +- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1David Brown
28 Mar 25 i  i    ii i     ii      i `- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Waldek Hebisch
27 Mar 25 i  i    ii i     ii      `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)39Janis Papanagnou
27 Mar 25 i  i    ii i     ii       +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)13bart
28 Mar 25 i  i    ii i     ii       i`* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)12Janis Papanagnou
28 Mar 25 i  i    ii i     ii       i +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)9David Brown
28 Mar 25 i  i    ii i     ii       i i+* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)7Janis Papanagnou
28 Mar 25 i  i    ii i     ii       i ii+* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)2Michael S
28 Mar 25 i  i    ii i     ii       i iii`- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Janis Papanagnou
28 Mar 25 i  i    ii i     ii       i ii+* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)2bart
28 Mar 25 i  i    ii i     ii       i iii`- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Janis Papanagnou
28 Mar 25 i  i    ii i     ii       i ii`* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)2David Brown
28 Mar 25 i  i    ii i     ii       i ii `- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Janis Papanagnou
28 Mar 25 i  i    ii i     ii       i i`- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Chris M. Thomasson
28 Mar 25 i  i    ii i     ii       i +- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1bart
31 Mar 25 i  i    ii i     ii       i `- [OT] PC hardware prices [correction] (was Re: The integral type 'byte')1Janis Papanagnou
27 Mar 25 i  i    ii i     ii       `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)25David Brown
28 Mar 25 i  i    ii i     ii        `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)24Janis Papanagnou
28 Mar 25 i  i    ii i     ii         +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)18Chris M. Thomasson
28 Mar 25 i  i    ii i     ii         i`* [OT] SPARC (was Re: The integral type 'byte')17Janis Papanagnou
28 Mar 25 i  i    ii i     ii         i +- Re: [OT] SPARC (was Re: The integral type 'byte')1Keith Thompson
28 Mar 25 i  i    ii i     ii         i +* Re: [OT] SPARC (was Re: The integral type 'byte')14Michael S
28 Mar 25 i  i    ii i     ii         i i+* Re: [OT] SPARC (was Re: The integral type 'byte')8David Brown
28 Mar 25 i  i    ii i     ii         i ii+* Re: [OT] SPARC (was Re: The integral type 'byte')6Michael S
28 Mar 25 i  i    ii i     ii         i iii`* Re: [OT] SPARC (was Re: The integral type 'byte')5David Brown
28 Mar 25 i  i    ii i     ii         i iii +* Re: [OT] SPARC (was Re: The integral type 'byte')3Chris M. Thomasson
28 Mar 25 i  i    ii i     ii         i iii i+- Re: [OT] SPARC (was Re: The integral type 'byte')1Chris M. Thomasson
28 Mar 25 i  i    ii i     ii         i iii i`- Re: [OT] SPARC (was Re: The integral type 'byte')1Kaz Kylheku
28 Mar 25 i  i    ii i     ii         i iii `- Re: [OT] SPARC (was Re: The integral type 'byte')1Kaz Kylheku
28 Mar 25 i  i    ii i     ii         i ii`- Re: [OT] SPARC (was Re: The integral type 'byte')1Kaz Kylheku
28 Mar 25 i  i    ii i     ii         i i`* Re: [OT] SPARC (was Re: The integral type 'byte')5Janis Papanagnou
28 Mar 25 i  i    ii i     ii         i i `* Re: [OT] SPARC (was Re: The integral type 'byte')4Michael S
28 Mar 25 i  i    ii i     ii         i i  +* Re: [OT] SPARC (was Re: The integral type 'byte')2Janis Papanagnou
28 Mar 25 i  i    ii i     ii         i i  i`- Re: [OT] SPARC (was Re: The integral type 'byte')1David Brown
28 Mar 25 i  i    ii i     ii         i i  `- Re: [OT] SPARC (was Re: The integral type 'byte')1Kaz Kylheku
28 Mar 25 i  i    ii i     ii         i `- Re: [OT] SPARC (was Re: The integral type 'byte')1Chris M. Thomasson
28 Mar 25 i  i    ii i     ii         `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)5David Brown
28 Mar 25 i  i    ii i     ii          +- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Michael S
28 Mar 25 i  i    ii i     ii          +* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)2bart
28 Mar 25 i  i    ii i     ii          `- Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)1Janis Papanagnou
26 Mar 25 i  i    ii i     i`* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)9David Brown
25 Mar 25 i  i    ii i     `* Re: The integral type 'byte' (was Re: Suggested method for returning a string from a C program?)2Keith Thompson
20 Mar 25 i  i    ii `- Re: Suggested method for returning a string from a C program?1Keith Thompson
20 Mar 25 i  i    i+* Re: Suggested method for returning a string from a C program?93bart
20 Mar 25 i  i    i+* Re: Suggested method for returning a string from a C program?90Keith Thompson
21 Mar 25 i  i    i`* Re: Suggested method for returning a string from a C program?22Waldek Hebisch
20 Mar 25 i  i    +- Re: Suggested method for returning a string from a C program?1Michael S
20 Mar 25 i  i    +- Re: Suggested method for returning a string from a C program?1Muttley
20 Mar 25 i  i    +- Re: Suggested method for returning a string from a C program?1Kaz Kylheku
20 Mar 25 i  i    +- Re: Suggested method for returning a string from a C program?1Tim Rentsch
20 Mar 25 i  i    `- Re: Suggested method for returning a string from a C program?1Keith Thompson
19 Mar 25 i  `* Re: Suggested method for returning a string from a C program?3Tim Rentsch
19 Mar 25 +* Re: Suggested method for returning a string from a C program?27Keith Thompson
19 Mar 25 +* Re: Suggested method for returning a string from a C program?9Ike Naar
19 Mar 25 +* Re: Suggested method for returning a string from a C program?19bart
19 Mar 25 +* Re: Suggested method for returning a string from a C program?6Michael S
22 Mar 25 `* Re: Suggested method for returning a string from a C program?2Lynn McGuire

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal