News for hackers. Stuff that matters.
Re:Clang-11.0.0 Miscompiled SQLite by GoblinSlayer on Thursday June 04, 2020 @12:24PM (#23418616)
That entirely pragmatic reason was to be assembler with curly braces. See memory capacity of PDP-7 and think what you can reasonably compile with those resources. Fun fact: if you don't specify variable's type, modern C compiler assumes int, this is how the first C compiler worked, you don't need types in assembler, the register type (machine word) is almost the only type you deal with. Implicit function declaration is an assembler feature too.
Re:Clang-11.0.0 Miscompiled SQLite by nineteen999 on Friday June 05, 2020 @07:55AM (#23427457)
First C compiler ran on the PDP-11, rather than the PDP-7 didn't it? Not that it makes a huge different to your point.
Re:Clang-11.0.0 Miscompiled SQLite by tannhaeuser on Friday June 05, 2020 @04:36AM (#23426313)
That's also how tcc (simplistic and functional modern one-pass C compiler) works I guess.