| ▲ | hatefulheart 4 hours ago | ||||||||||||||||||||||||||||||||||
Everyone in this thread is going to call out issues with writing a Web application using C. Refer to the newest Talk Python podcast where a core CPython developer was told that Python is memory safe and his response was “is it?”. At some point we need to be more sophisticated about this, our hardware is fundamentally unsafe, anything we build on it is fundamentally unsafe and there are degrees to which things are better or worse and that’s it. All that matters is the love, rigour and care you put into your work. Proceed as you wish, a backend in C is valid a backend in LISP is valid. | |||||||||||||||||||||||||||||||||||
| ▲ | networked an hour ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
> anything we build on it is fundamentally unsafe and there are degrees to which things are better or worse and that’s it. This doesn't mean C is an equally valid choice for a web backend as Common Lisp when you care about development speed and don't want to get pwned. It's justified(ish) if you are Fossil SCM but much less so if you are a random website. When you need high performance, it's more justified, especially if it's 2006. When you can afford to use bindings for your C libraries, it's less. Etc. To shift your perspective, replace C with x86-64 assembly. AsmBB (https://board.asm32.info/) is undeniably a cool thing. Is it valid to develop an e-commerce site the same way? There is a general pattern of "there are degrees, so basically anything goes". It's important to recognize it and resist its siren song. > The Sophisticate: “The world isn’t black and white. No one does pure good or pure bad. It’s all gray. Therefore, no one is better than anyone else.” > The Zetet: “Knowing only gray, you conclude that all grays are the same shade. You mock the simplicity of the two-color view, yet you replace it with a one-color view . . .” > —Marc Stiegler, David’s Sling | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | rfgplk 3 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
People don't realize how much performance they're leaving on the table by not using C/C++/Rust. Get uWebSockets and set up a demo server, it's going to be 10-50x faster than a Node.js server. Quite literally the performance delta is that drastic. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||