The lost malloc()

(napcakes.nekoweb.org)

36 points | by matt_d 2 hours ago ago

5 comments

  • jdw64 an hour ago

    When I was a college student (15 years ago), I first encountered C through A Book on C, and C seems like a language that is simple but can really do a lot. Looking at how old this language is, and how many concepts already used in modern languages were tried during its development history, is surprising. It's surprising that the concepts I thought were modern techniques today were already being tried decades ago—that is, before I was even born.

    It's amazing that a method like the Bump Allocator was already tried.

    How were the senior programmers able to do all of this? I'm just amazed.

    • trashb 23 minutes ago

        > How were the senior programmers able to do all of this? I'm just amazed.
      
      I think it has to do with a combination of factors that changed over the years. First of all computer science was viewed more theoretical and less applied at that time. A computer scientist would be interested in optimizing a certain algorithm instead of making an app.

      Secondly the systems in that time where less complex meaning it was easier to understand and experiment with fundamental parts of the computer.

      Lastly at that time "programming" was closer to the metal so a average computer scientist at that time would likely have more knowledge of the deep internals compared to an average programmer today.

        > C seems like a language that is simple but can really do a lot
      
      I like to borrow a phrase from the realm of gaming: "easy to learn hard to master".
      • ahoka 18 minutes ago

        I have always thought about C being a language with "simple" syntax (but things like type declarations are hell), but very complicated semantics.

  • paaloeye an hour ago

    Never seen a 4 points story on the front page.

    • meerita an hour ago

      These are the misteries of HN.