1. 46
  1.  

  2. 7

    I saw that it now supports SQLite — that’s impressive, and makes it something I could consider for my work projects.

    I’m not clear on how one handles platform differences at runtime which are normally resolved with ifdefs — like those annoying differences in behavior of socket calls between Linux/BSD — but I imagine there’s documentation on that.

    1. 1

      After looking at the code base, it turns out you have to use lots of tricks to make it work. Checkout the http://redbean.justine.lol/ It’s an interesting http server.

    2. 1

      There was a similar article a while ago, discussing how to build a binary that bootstraps itself in a way that does not require hard-coding the paths to other libraries during compilation, using various linker and execve tricks instead.

      I think this would be a great companion to this article, but I’m completely unable to find this article again, as every keyword I’m using either ends up with Cosmopolitan or StackOverflow 101 questions.

      1. 1
        1. 1

          APE is Cosmopolitan. It’s the same thing.

          1. 1

            Yeah, I see that now…