10 comments

  • ptx17 hours ago
    Is this the same compiler that famously spurred Richard Stallman to create GCC [1] when its author &quot;responded derisively, stating that the university was free but the compiler was not&quot;?<p>It seems to be free now anyway, since 2005 according to the git history, under a 3-clause BSD license.<p>[1] <a href="https:&#x2F;&#x2F;www.gnu.org&#x2F;gnu&#x2F;thegnuproject.en.html" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;gnu&#x2F;thegnuproject.en.html</a>
    • jacquesm12 hours ago
      The relevant bit:<p>&quot; 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.<p>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.&quot;<p>And not only was the university &#x27;free&#x27; and the compiler not, neither was &#x27;Minix&#x27;, 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.<p>So the VU had the two main components of the free software world in their hand and botched them both because of simple greed.<p>I love it how RMS has both these quotes in the same text:<p>&quot;Please don&#x27;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.&quot;<p>&quot;This makes it difficult to write free drivers so that Linux and XFree86 can support new hardware.&quot;<p>And there are only a few lines between those quotes.
      • rogerbinns10 hours ago
        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.)<p>This explains the final 2 sentences of the original Linux announcement:<p>&gt; PS. Yes - it&#x27;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&#x27;s all I have :-(.<p>The book publisher is blamed for preventing Minix from being freely distributed: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Minix#Licensing" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Minix#Licensing</a>
        • jacquesm2 hours ago
          Tanenbaum made that deal. He collected royalties from the book (as was his right) but it clearly was a way to make money for him. Just another part of the textbook grift because students were forced to work on Minix long after that that made any sense at all.<p>Ironically, that single threaded nature of the FS made it a perfect match for my own little OS and I happily hacked it to pieces to bootstrap it using message passing into a FS executable. That trick probably saved me a year in bringing up the kernel to the point that the OS could compile itself, which greatly sped up development.
        • cryptonector6 hours ago
          Terrible mistakes. People keep repeating these mistakes. Makes me think of Larry McVoy.
      • mqus11 hours ago
        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&#x2F;Linux, the OS or GNU&#x2F;Linux, &quot;the system&quot;. So it can be argued that he isn&#x27;t really contradicting himself
        • yjftsjthsd-h8 hours ago
          Agreed. As a practical example, Alpine Linux isn&#x27;t a <i>GNU</i>&#x2F;Linux OS, but it does use Linux+Xorg graphics drivers.
      • phicoh2 hours ago
        Selling ACK meant money for research into distributed systems (Amoeba) and parallel programming languages. I can see that money for research is more attractive than open source.<p>For MINIX the situation was different and I think more unfortunate. AST wanted to make sure that everybody could obtain MINIX and made his publisher agree to distributing the MINIX sources and binaries on floppies. Not something the publisher really wanted, they want to sell AST&#x27;s book. In return the publisher got (as is usual for books) the exclusive right to distribute MINIX.<p>Right at the start that was fine, but when Usenet and the Internet took off, that became quite painful. People trying to maintain and distribute patch sets.
        • jacquesm1 hour ago
          I disagreed strongly with that at the time and still do. The money we&#x27;re talking about here was a pittance compared to the money already contributed by Dutch society to the university where these people were working. Besides that some of these royalty streams went into private pockets.<p>A friend of mine was studying under Andy and I had a chat with him about this at his Amstelveen residence prior to the release. He was dead set on doing it that way. As a non-student and relatively poor programmer I pointed out to him that his chosen strategy would make Minix effectively unaffordable to me in spite of his stated goal of &#x27;unlocking unix&#x27;. So I ended up in Torvald&#x27;s camp when he released Linux as FOSS (I never contributed to either, but I figured as a user I should pick the one that would win the race, even if from a tech perspective I agreed more with Tanenbaum than with Torvalds).<p>Minix was (is?) flogged to students of VU for much longer than was beneficial to those students, all that time and effort (many 100&#x27;s of man years by now) could have gone into structurally improving Linux. But that would have required admitting a mistake.
      • spit2wind3 hours ago
        &gt; I love it how RMS has both these quotes in the same text: &gt; &gt; &quot;Please don&#x27;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.&quot; &gt; &gt; &quot;This makes it difficult to write free drivers so that Linux and XFree86 can support new hardware.&quot; &gt; &gt; And there are only a few lines between those quotes.<p>I&#x27;ll be honest, I don&#x27;t understand your point here?
      • actionfromafar1 hour ago
        But it’s correct. :)<p>Linux the kernel has the drivers.
      • userbinator9 hours ago
        <i>the Free University Compiler Kit, also known as VUCK. (The Dutch word for “free” is written with a v.)</i><p>I&#x27;m not sure if I&#x27;m reading satire or they are having some fun trolling.
        • throwaway815236 hours ago
          Of course RMS understood the overtone perfectly, but Vrije Universiteit (vu.nl) is the real name of the university. Its name can be translated to &quot;liberated university&quot;. As I understand it, it&#x27;s a free university in the sense that historically, students of all religions were eligible to attend, as opposed to e.g. Katholieke Universiteit which was Catholic.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Vrije_Universiteit_Amsterdam" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Vrije_Universiteit_Amsterdam</a>
          • phicoh2 hours ago
            The librarated part means free from government control. Until the VU all Dutch universities belonged (indirectly) to the Dutch government.
          • jacquesm1 hour ago
            I think the part that he - and you - missed is that tuition at the time was entirely free, so it wasn&#x27;t just &#x27;free&#x27; in one sense of the word.
          • yellowapple2 hours ago
            Sounds like Katholieke Universiteit ought to release their own Compiler Kit ;)
          • DonHopkins46 minutes ago
            Vrije as in &quot;Not Catholic&quot;, not as in beer.
        • vrijen7 hours ago
          The adjective meaning &quot;free&quot; is &quot;vrij&quot; or &quot;vrije&quot; in Dutch.<p>Amusingly, the Dutch verb &quot;vrijen&quot; does, in fact, mean to have sex.
          • hbogert5 hours ago
            You really just made an account now to make that point?
            • gjvc3 hours ago
              his comment was more useful than yours
    • DonHopkins1 hour ago
      UniPress, RMS&#x27;s arch enemy Evil Software Hoarder, sold a commercial version of the Amsterdam Compiler Kit as well as Gosling&#x27;s Emacs.<p><a href="https:&#x2F;&#x2F;compilers.iecc.com&#x2F;comparch&#x2F;article&#x2F;92-04-041" rel="nofollow">https:&#x2F;&#x2F;compilers.iecc.com&#x2F;comparch&#x2F;article&#x2F;92-04-041</a><p>UniPress made a PostScript back-end for ACK that they marketed with the NeWS version Emacs, whose slogan was &quot;C for yourself: PostScript for NeWS!&quot;<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42838736">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42838736</a><p>&gt;UniPress ported and sold a commercial version of the &quot;Extended Amsterdam Compiler Kit&quot; for Andrew Tanenbaum for many CPUs and versions of Unix (like they also ported and sold his Unix version of Emacs for James Gosling), so Emacs might have been compiled with ACK on the Cray, but I don&#x27;t recall.<p>&gt;During the late 80&#x27;s and early 90&#x27;s, UniPress&#x27;s Enhanced ACK cost $9,995 for a full source license, $995 for an educational source license, with front ends for C, Pascal, BASIC, Modula-2, Occam, and Fortran, and backends for VAX, 68020, NS32000, Sparc, 80368, and others, on many contemporary versions of Unix.<p>&gt;Rehmi Post at UniPress also made a back-end for ACK that compiled C to PostScript for the NeWS window system and PostScript printers, called &quot;c2ps&quot;, which cost $2,995 for binaries or $14,995 for sources.<p>&gt;Independently Arthur van Hoff wrote a different C to PostScript compiler called &quot;PdB&quot; at the Turing Institute, not related to c2ps. It was a much simpler, more powerful, more direct compiler written from scratch, and it supported object oriented PostScript programming in NeWS, subclassing PostScript from C or C from PostScript. I can&#x27;t remember how much Turing sold it for, but I think it was less than c2ps.<p><a href="https:&#x2F;&#x2F;compilers.iecc.com&#x2F;comparch&#x2F;article&#x2F;92-04-041" rel="nofollow">https:&#x2F;&#x2F;compilers.iecc.com&#x2F;comparch&#x2F;article&#x2F;92-04-041</a><p><a href="https:&#x2F;&#x2F;donhopkins.com&#x2F;home&#x2F;archive&#x2F;NeWS&#x2F;NeScheme.txt" rel="nofollow">https:&#x2F;&#x2F;donhopkins.com&#x2F;home&#x2F;archive&#x2F;NeWS&#x2F;NeScheme.txt</a>
    • samemrecebi13 hours ago
      this does not suprise me at all if other stories i heard are true.
  • pjmlp17 hours ago
    One of the first widely used compiler toolkits with multiple frontends, intermediate language for the phases and a common backend.<p>Contrary to common understanding LLVM wasn&#x27;t the very first one, ACK also not, there are others predating it when diving into compiler literature.
  • unusual-name18 hours ago
    It&#x27;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.
    • lproven53 minutes ago
      &gt; Is there any example program that actually runs on the rpi gpu?<p>ThreadX.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ThreadX#Products_using_ThreadX" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ThreadX#Products_using_ThreadX</a><p>This RTOS, later rebranded Microsoft Azure RTOS, later still made FOSS:<p><a href="https:&#x2F;&#x2F;www.theregister.com&#x2F;2023&#x2F;11&#x2F;28&#x2F;microsoft_opens_sources_threadx&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.theregister.com&#x2F;2023&#x2F;11&#x2F;28&#x2F;microsoft_opens_sourc...</a><p>ThreadX is the RasPi firmware. The GPU is the primary processor of the Pi: the ARM cores are essentially just co-processors.
    • hmry2 hours ago
      Presumably someone wanted to write an RPi bootloader, which run on the GPU. Several universities have OS programming courses that use old 32-bit RPis. Not sure if anything was actually written though.
      • lproven55 minutes ago
        &gt; Not sure if anything was actually written though.<p>The librerpi project<p>« librerpi is a FOSS boot firmware based on littlekernel for Raspberry Pi boards, it replaces the proprietary boot firmware normally used to boot. »<p><a href="https:&#x2F;&#x2F;librerpi.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;librerpi.github.io&#x2F;</a>
    • rsaxvc12 hours ago
      looks like they never went 64 bit
  • userbinator9 hours ago
    The requirements for &quot;flex and yacc&quot; seem to indicate that this is from a time and culture before recursive descent&#x2F;precedence climbing became the norm.
  • barfiure17 hours ago
    I’m still making my way through the MINIX book. Love it.
    • AlexeyBrin15 hours ago
      Are you working through the 1st or 2nd edition of the book ? I think these are the ones that used ACK.
      • barfiure14 hours ago
        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?
        • Rochus11 hours ago
          The book version is a subset of Minix version 3.1.0 (see <a href="https:&#x2F;&#x2F;github.com&#x2F;rochus-keller&#x2F;Minix3&#x2F;tree&#x2F;3.1.0" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rochus-keller&#x2F;Minix3&#x2F;tree&#x2F;3.1.0</a>).<p>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 <a href="https:&#x2F;&#x2F;github.com&#x2F;rochus-keller&#x2F;Minix3&#x2F;tree&#x2F;Minix3_Book_TCC" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rochus-keller&#x2F;Minix3&#x2F;tree&#x2F;Minix3_Book_TCC</a>).
          • barfiure9 hours ago
            I’m a tad confused so maybe I’m not understanding the horror show.<p>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.<p>But the source code, in its entirety, is mounted under &#x2F;usr&#x2F;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.<p>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&amp;R C.<p>I don’t know if that’s necessary though? It sounds like a waste of time to begin with.<p>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.<p>Let me know what I’m missing!
            • Rochus8 hours ago
              The author writes in the book explicitly &quot;This is a modified version of config.h for compiling a small Minix system with only the options described in the text&quot;. This leaves no doubt that the book indeed describes a working microkernel of less than 15kSLOC which can be built and run (even if the &quot;small Minix&quot; lacks a few features). I blieved the author (like generations of other scholars) until I tried to actually build and run it myself.
      • rwmj14 hours ago
        I remember after I read the 1st edition, bought MINIX ($150 !!), and then was very annoyed to find that the compiler source was not included. Luckily it was &#x27;89 or &#x27;90 and GCC sources were available.
  • samemrecebi13 hours ago
    hah, kinda funny to see this here. Graduated from the VU so we where tought about the ack and minix in our first CS classes. What a throwback.
  • ramon15618 hours ago
    Looks cool, last post in 2022 though? Is it feature complete?
    • HelloUsername18 hours ago
      This has been posted before<p>2025: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42833638">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42833638</a><p>2020: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22310987">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22310987</a> and <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22612420">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22612420</a>
      • gjvc18 hours ago
        [flagged]
  • bartkappenburg18 hours ago
    Why the name amsterdam?
    • akritid18 hours ago
      Renamed from Free University Compiler Kit
    • mbreese18 hours ago
      <i>&gt; © 1987-2005 Vrije Universiteit, Amsterdam</i>
  • einpoklum18 hours ago
    tl;dr: A kit for targeting several old or old-ish platforms, with code in some languages popular in the 1980s: C89 (ANSI C), Pascal, Modula 2, Basic. A &#x27;kit&#x27; here means: frontend, codegen, support libraries and some tools. This is apparently known as being the default toolchain for Minix 1 and 2.<p>But - the repository is not &quot;everything you need&quot;; it actually relies on a lot from an existing platform - GCC, Lua, Make, Python etc. So, you would typically use this to cross-compile it seems.
    • tgv17 hours ago
      It doesn&#x27;t rely on gcc. Any C compiler will do. The rest is there to build it on &quot; Linux, OSX, and Windows using MSYS2 and mingw32&quot;. Indeed for cross-compilation, as it won&#x27;t run on CP&#x2F;M.
    • consp18 hours ago
      &gt; apparently known as being the default toolchain for Minix 1 and 2.<p>That is not very surprising since Tannenbaum is a professor there and cowrote wrote the ACK and wrote Minix.
    • phicoh17 hours ago
      ACK used to be self-hosting. Of course, standard Unix utilities like sh and make are required. I still use one of those versions.
  • janlucien2 hours ago
    [dead]