Re:Exploitable vulnerabilities found in Kaspersky Anti-Virus
by pmelendez on Tuesday September 22, 2015 @06:08PM
(#10262044)
> Obvious, since those systems pre-dated PDP-11 hardware.
Well, I was actually referring to the equivalent running on PDP-11 (like Algol68)
> Have you ever coded C before ANSI C was approved?
>It was only portable to UNIX itself, just like those other OSes and their systems programming languages.
I meant machine portability. Before C, to have a lower level like performance you needed to use machine-specific assembly.
Re:Exploitable vulnerabilities found in Kaspersky Anti-Virus
by pjmlp on Wednesday September 23, 2015 @01:17AM
(#10263431)
C compilers generated so bad code that games only started using it in home computers instead of Assembly during the mid-90's.
On workstations and mainframes there was hardly any difference to other heigher level system programming languages. In fact C prevented many compiler optimizations due to its aliasing and decay of arrays into pointers.
Obvious, since those systems pre-dated PDP-11 hardware.
> Also I think the portability in those languages was also limited.
Have you ever coded C before ANSI C was approved?
It was only portable to UNIX itself, just like those other OSes and their systems programming languages.
Each C compiler outside UNIX implemented its own subset and semantics, hence why ANSI C had to adopt so much UB to avoid breaking too much code.