Live data from Hacker News

Amsterdam Compiler Kit

github.com

21–30 of 75 posts

Re: Amsterdam Compiler Kit

#22
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

this does not suprise me at all if other stories i heard are true.

Re: Amsterdam Compiler Kit

#23
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

this does not suprise me at all if other stories i heard are true.

Go on...

Re: Amsterdam Compiler Kit

#24

It's interesting that they have a Raspberry Pi GPU backend, but neither an ARM backend nor any modern ISA. (such as x86-64, Aarch64, etc.) Is there any example program that actually runs on the rpi gpu? I skimped the website, but it is only mentioned in the release notes.

looks like they never went 64 bit

Re: Amsterdam Compiler Kit

#25
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

The relevant bit:

" Shortly before beginning the GNU Project, I heard about the Free University Compiler Kit, also known as VUCK. (The Dutch word for “free” is written with a v.) This was a compiler designed to handle multiple languages, including C and Pascal, and to support multiple target machines. I wrote to its author asking if GNU could use it.

He responded derisively, stating that the university was free but the compiler was not. I therefore decided that my first program for the GNU Project would be a multilanguage, multiplatform compiler."

And not only was the university 'free' and the compiler not, neither was 'Minix', which was put out there through Prentice Hall in a series of books that you had to pay a fairly ridiculous amount of money for if you were a student there.

So the VU had the two main components of the free software world in their hand and botched them both because of simple greed.

I love it how RMS has both these quotes in the same text:

"Please don't fall into the practice of calling the whole system “Linux,” since that means attributing our work to someone else. Please give us equal mention."

"This makes it difficult to write free drivers so that Linux and XFree86 can support new hardware."

And there are only a few lines between those quotes.

Re: Amsterdam Compiler Kit

#26

Earlier quoted context omitted.

Are you working through the 1st or 2nd edition of the book ? I think these are the ones that used ACK.

I’m working through the third edition which I believe is also ACK based as far as I can tell. MINIX version 3.1.0?

The book version is a subset of Minix version 3.1.0 (see https://github.com/rochus-keller/Minix3/tree/3.1.0).

The sursprise comes when you try to compile the minimal book version and find out that it is not as lean as presented in the book but actually depends on hundereds of assembler files (see https://github.com/rochus-keller/Minix3/tree/Minix3_Book_TCC).

Re: Amsterdam Compiler Kit

#27
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

The relevant bit: " Shortly before beginning the GNU Project, I heard about the Free University Compiler Kit, also known as VUCK. (The Dutch word for “free” is written with a v.) This was a compiler designed to handle multiple languages, including C and Pascal, and to support multiple target machines. I wrote to its author asking if GNU could use it. He responded derisively, stating that the university was free but t…

Re your last paragraphs: I think RMS really meant just the Linux kernel when he wrote that(the topic is drivers, after all), not GNU/Linux, the OS or GNU/Linux, "the system". So it can be argued that he isn't really contradicting himself

Re: Amsterdam Compiler Kit

#28
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

The relevant bit: " Shortly before beginning the GNU Project, I heard about the Free University Compiler Kit, also known as VUCK. (The Dutch word for “free” is written with a v.) This was a compiler designed to handle multiple languages, including C and Pascal, and to support multiple target machines. I wrote to its author asking if GNU could use it. He responded derisively, stating that the university was free but t…

I was one of those students saving up the large sum for the book, when Linux was announced. There were other tensions at the time - the biggest was that Minix on 8086 was 16 bit real mode only. Someone had developed patches to run in 32 bit protected mode, but they were invasive and large, and the Minix maintainers would not integrate them as the increased complexity would not help the mission of Minix being easy to learn and tinker with. The filesystem code was also single threaded, essentially doing one request at a time. IIRC there were patches to address that too, also not integrated for the same reason. (Note that the books included print outs of the source so keeping it short did matter.)

This explains the final 2 sentences of the original Linux announcement:

> PS. Yes - it's free of any minix code, and it has a multi-threaded fs. It is NOT portable (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that's all I have :-(.

The book publisher is blamed for preventing Minix from being freely distributed: https://en.wikipedia.org/wiki/Minix#Licensing

Re: Amsterdam Compiler Kit

#29
post #26

Earlier quoted context omitted.

I’m working through the third edition which I believe is also ACK based as far as I can tell. MINIX version 3.1.0?

The book version is a subset of Minix version 3.1.0 (see https://github.com/rochus-keller/Minix3/tree/3.1.0 ). The sursprise comes when you try to compile the minimal book version and find out that it is not as lean as presented in the book but actually depends on hundereds of assembler files (see https://github.com/rochus-keller/Minix3/tree/Minix3_Book_TCC ).

I’m a tad confused so maybe I’m not understanding the horror show.

Tanenbaum explicitly mentions multiple times that the book is a subset of the code because it would be too long to print with the library. So he covers mostly the main areas.

But the source code, in its entirety, is mounted under /usr/src. And it has all the assembly files in ACK files, mostly in lib I believe. You can compile it with a make command and it works as expected.

The author makes it seem like there’s some terrible thing. Am I missing some gory directory? Yes the ACK syntax would need to be ported over to something more modern like NASM or FASM if someone wants to move the whole kitchen sink, new linker scripts made as a result of exported symbols etc. It is painful but alas, so is the archaic K&R C.

I don’t know if that’s necessary though? It sounds like a waste of time to begin with.

I mean this book is ancient, and nobody really uses 32-bit protected mode. I’m mostly doing it out of curiosity even though I already stood up a small 64-bit long mode thinger.

Let me know what I’m missing!

Re: Amsterdam Compiler Kit

#30
post #15

Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author "responded derisively, stating that the university was free but the compiler was not"? It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license. [1] https://www.gnu.org/gnu/thegnuproject.en.html

The relevant bit: " Shortly before beginning the GNU Project, I heard about the Free University Compiler Kit, also known as VUCK. (The Dutch word for “free” is written with a v.) This was a compiler designed to handle multiple languages, including C and Pascal, and to support multiple target machines. I wrote to its author asking if GNU could use it. He responded derisively, stating that the university was free but t…

the Free University Compiler Kit, also known as VUCK. (The Dutch word for “free” is written with a v.)

I'm not sure if I'm reading satire or they are having some fun trolling.

Post reply on HN