1. 46

A project I’ve been working on a lot in my spare time. I plan to get nginx running on it. Let me know what you think!

  1.  

    1. 10

      That’s seriously cool.

      Reminds me of something though… :P

      1. 9

        I’ve seen speed ups of 4x on some of my microbenchmarks so we definitely should :)

        1. 2

          Great comeback! ;)

      2. 2

        That’s really awesome. Excellent work.

        1. 2

          Now this is very cool! Well done.

          1. 2

            Can it just be a general loader? Or a binfmt_misc loader?

            1. 2

              I originally took that approach with a binfmt module, but it requires some invasive changes to the kernel and it would be the only reason for those changes, so I moved away from that. It can be a binfmt_misc handler though.

              1. 1

                Kernel maintainers might accept the changes, though. Worth a shot?

                1. 2

                  Needs to be filled out more but inclusion in mainline is the goal.

            2. 2

              WebAssembly modules in kernel-space (ring 0) and provides access to system calls as normal function calls

              Such as exec() and fork() ?

              1. 2

                Those are two special exceptions that must be invoked in user-space due to constraints around how they work in Linux and the current design of wasmjit.