1. 59

  2. 11

    And they’re working on it.

    Kudos to the author for a nice post and @jart for accepting the feedback.

    1. 4

      Impressive. Now I want to see Lua as an x86 boot loader. :-)

      1. 2

        FWIW, the FreeBSD/illumos boot loader uses Lua.

        1. 12

          I know, I worked on it :-)

      2. 4

        This got me tempted to build Janet this way. I’ve got 127 lines of errors to go through but I hope I can get it done (the resulting binary should be small too).

        It would be nice if the author could share his build commands and stubs. Might help some other efforts :)

        1. 3

          The author forked the lua repo to be cosmopolitan compatible. Commit is available at


          1. 3

            My advice - enable reduced OS mode, disable threads, disable ev in the config.h .