this post was submitted on 16 Apr 2025
19 points (88.0% liked)

Programming Circlejerk

157 readers
4 users here now

Community to talk about enlightened programming takes

Rules:

founded 2 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 6 days ago* (last edited 6 days ago) (1 children)

I like Go, but I also like only having to write Typescript for everything. Performance is not really a problem when 99% of web applications are just networking plumbing with simple business logic over a data store. If you really need performance, split it into a dedicated service written in C, C++, or Rust that does that one critical thing really fast.

[–] Feyd 2 points 5 days ago (1 children)

I haven't looked at any performance comparisons, but better performance also generally means lower resource usage aka lower costs aka less electricity use aka all the positive effects of using less electricity.

Just imagine if the entire industry cared about efficiency and used more efficient runtimes. How much less power would be used in aggregate? ... one can dream....

[–] [email protected] 1 points 5 days ago

Higher level language abstractions still run on top of efficient lower level engines. Python doesn't run on Python. Node.js runs script code in V8 which is a C++ engine. Typically, the plumbing heavy lifting is done by the lower level code via API calls, and the business logic layer on top is comparatively lightweight.

Of course, a developer could eschew those conventions. But I wouldn't feel comfortable shipping a video encoder written in something like Python, or even a mid-level abstraction language like Java or Go.