3 ms·
This seems a lot more like how IIS works, unless I'm missing something? As an aside: it's always curious to see how the programming world has splintered into c
by jiggawatts 3y ago
This seems a lot more like how IIS works, unless I'm missing something?
As an aside: it's always curious to see how the programming world has splintered into cliques that no longer hang out together.
NGINX Unit is a "Universal" web server without support for C++, Rust, or ASP.NET!
But PERL is supported, like the 1990s Linux cgi-bin world never went away.
- crvdgc 3y agoDon't know about ASP.NET, but one of the supported languages is assembly, so I'd presume C++ and Rust can easily add a wrapper around that. > Binary-compiled languages in general: using the embedded libunit library. From https://unit.nginx.org/keyfeatures/#supported-app-languages https://unit.nginx.org/keyfeatures/#supported-app-languages
- tyingq 3y agoReads like it's not real straightforward or well documented for rust: https://github.com/nginx/unit/issues/738 https://github.com/nginx/unit/issues/738
- throwaway2037 3y agoThank you to link to that page. It is very funny. I highly recommend that others read it. Choice quote: The benefits of using the assembly language for your web apps are immense: You get all the bragging rights: coding in assembly while everyone is working safe and secure within the confines of their precious sandboxed languages is like doing a perfect triple somersault without safety mats. Next: I recommend multi-threaded assembly code with self-modifying code and lock free data structures!
- coldtea 3y agoIn Linux where this is primarily expected to be used ASP.NET is extremely rare, as is C++ for web stuff, and Rust has a vanishingly small web presence still. Lots of people use Perl still though, if not for anything else, for legacy stuff. So might as well ask why it doesn't support Delphi.
- mst 3y agoAnd PSGI is actually really rather good (for sync stuff, I dislike the way it handles async/websockets and would tend to use Mojolicious for that) and generally used to deploy OO MVC style apps. The Perl ecosystem has come a long way from CGI scripts just like everybody else has.
- jddj 3y agoDo you have data for your asp.net Linux claim? Feels anachronistic.
- pseudosavant 3y agoThis is anecdata, but my experience with modern ASP.NET teams these days is that while production may still be running Windows, the dev teams are a mix of Mac, Windows, and Linux/WSL. The allure of the M2 MBP is too great when the Windows option is an expensive but otherwise forgettable Dell corporate laptop.
- ComputerGuru 3y agoI can’t say I know the percentage of Linux servers running ASP.NET Core but the percentage of ASP.NET Core apps running on Linux is no longer negligible. Bing runs it on Linux, iirc. This isn’t the dark days of .NET Framework anymore.
- dcgudeman 3y agoHow do you know that?
- Valord 3y agoMy previous company ran quite a bit through asp.net running in Linux docker containers in k8s etc. I hardly consider it extremely rare.
- mbreese 3y agoAnd Go apps require recompiling them to use their version of the http. ListenAndServe function. I’m not sure if this counts either… https://unit.nginx.org/configuration/#updating-go-apps https://unit.nginx.org/configuration/#updating-go-apps
- sethammons 3y agoAnd requires you to enable CGO, which I avoid at all costs if I can