| ▲ | rfgplk 3 hours ago | |
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. | ||
| ▲ | mpweiher 2 hours ago | parent | next [-] | |
Objective-C is still a sweet spot for this, if you wield it right. It can get you most of the Smalltalk (Python/Ruby) conveniences with most of C's speed. In fact, if you do it really well you can leverage them together to get better than both. Simultaenously. Doesn't mean that people don't manage to wield it in such a way as to get all the convenience of C combined with the performance of Python/Ruby. Which always baffles me. You .... did .... WAT? To me the Right Thing™ here always seemed the obvious and simple thing to do, as in: just don't spend extra effort to mess it up and you'll be fine. YMMV. Plug: my book gives fairly detailed instructions on how to achieve the positive combination. [1] Other plug: Making it easier to get this right is the 2nd of the four stages of Objective-Smalltalk. [2][3] [1] https://www.amazon.com/Cocoa-Objective-C-Performance-Tuning-... [2] https://blog.metaobject.com/2019/12/the-4-stages-of-objectiv... | ||
| ▲ | thevillagechief 2 hours ago | parent | prev | next [-] | |
People do actually realize. It's just that people have decided it's not the most important thing when it comes to delivering software. There's a reason Node and Python are the most popular ecosystems. | ||
| ▲ | lukaslalinsky 2 hours ago | parent | prev | next [-] | |
You would be surprised how fast Node/Bun can be if you scale them properly. If you use Bun, you are using uWebSockets already. If what you are doing in your application is database queries and some template rendering, you might not actually gain that much from these compiled languages. | ||
| ▲ | nightfly 2 hours ago | parent | prev | next [-] | |
Most people don't need to care about that. If you're writing something that's gonna be used by a fixed number of real humans a few times (or a even a few 1000) times a day the overhead isn't gonna matter | ||
| ▲ | pjmlp 3 hours ago | parent | prev [-] | |
Or Go, OCaml, Haskell, Java, C#, D, Ada,.... | ||