1. 9
  1.  

  2. 4

    Looks a lot like Erlang ;)

    1. 1

      sweet. I will have to try this so that I can convince more people to write web servers in C++. People laugh at me, except that my shit is always faster, cleaner, and more memory efficient than theirs.

      1. 2

        I somehow doubt your shit is cleaner than the Express, Flask, or Sinatra equivalent for, say, a simple endpoint.

        Example?

        1. 1

          I’m not talking about my own HTTP web server. I’m talking about Python code on Flask vs say C++ on Seastar.

          1. 2

            I’m not sure Seastar is the same thing as Flask. Flask would be Wt or CppCMS (which by the way uses asio). But Seastar, from my undertanding, is more like asyncio or twisted/trollius, it’s to write network/tasks stuff, not web stuff.

            People have this tendency to think that server = web server. You would write a PostgreSQL, MongoDB or Nginx with Seastar, not a website.