Re:BCHS stack – BSD, C, httpd, SQLite
by nickpsecurity on Sunday June 18, 2017 @02:34PM
(#14582095)
For a specific example, iMatix had DSL's that outputted C which they used for high-performance server apps. If doing that for web apps, one would need a web framework for C that the code could call. I believe I've also seen both a C and C++ framework in the past. Both bragged about efficiency with the servers cheap.
The difference being that C++ offers the language features and standard libraries to write safer code, while C....
Re:BCHS stack – BSD, C, httpd, SQLite
by PrimHelios on Monday June 19, 2017 @12:56AM
(#14584706)
>C++
>Safer code
Not really. I mean, using vectors and strings is nice, but that's about it for safety. You'll still get a shit-ton of memory leaks which isn't great for long-running web apps.
I would like to see nginx support here instead of just OpenBSD's web server. Perhaps this is because nginx won't work with pledge?