Sujet : Re: Top 10 most common hard skills listed on resumes...
De : bc (at) *nospam* freeuk.com (Bart)
Groupes : comp.lang.cDate : 26. Aug 2024, 13:05:02
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vahngt$2dtm9$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 26/08/2024 06:41, Lawrence D'Oliveiro wrote:
On Sun, 25 Aug 2024 16:30:17 +0100, Bart wrote:
So what language goes between Assembly and C?
>
There aren't many!
Quite a few, actually. Elsewhere I mentioned B (the precursor of C), BCPL
and BLISS.
BLISS is a rather strange language. For something supposedly low level than C, it doesn't have 'goto'.
It is also typeless.
There is also a key feature that sets it apart from most HLLs: usually if you declare a variable A, then you can access A's value just by writing A; its address is automatically dereferenced.
That doesn't happen in BLISS. If you took this program in normal C:
int a, b, c;
b = 10;
c = 20;
a = b + c;
int* p;
p = &a;
then without that auto-deref feature, you'd have to write it like this:
int a, b, c;
*b = 10;
*c = 20;
*a = *b + *c;
int* p;
*p = a;
(The last two lines are interesting; both would be valid in standard C; but the first set initialises p; the second set, compiled as normal C, stores a's value into the uninitialised p's target.)