| ▲ | m_ke 3 hours ago |
| 1. it's built for async
2. runs everywhere
3. interpreted, making it fast to iterate on
4. decent performance
5. most popular language, llms are decent at writing it |
|
| ▲ | kzsh 3 hours ago | parent | next [-] |
| An additional benefit of interpreted, I think, is to make plugins easier to distribute and incorporate. With a compiled language you’d need message passing or something. |
| |
|
| ▲ | gf000 2 hours ago | parent | prev | next [-] |
| JVM has real and virtual threads and arguably just as good if not better on all these points. (I actually have/am writing a harness in Java fwiw, but mostly as a hobby/experimentation) |
| |
| ▲ | cmrdporcupine 2 hours ago | parent | next [-] | | JVM apparently has the disadvantage that nobody under the age of 40 wants to touch it anymore. I admit I haven't worked in it in 20 years, but I do think it's a marvel of engineering and unfairly maligned. It used to be my career but I wanted to be closer to the metal. Having Oracle's tramp-stamp on it may have been the final kiss of death in terms of totally-superficial "coolness" factor. | | |
| ▲ | rescbr 2 hours ago | parent | next [-] | | The JVM has a fixed size heap which for me it is wasteful. IMHO, Microsoft made the correct approach on .NET. For LLMs, I prefer C# and C++ instead of TypeScript, JavaScript or Python as the static + compiled language factor keeps the coding agents on track. Plus, they have a true threading/async implementation. | | |
| ▲ | cmrdporcupine an hour ago | parent [-] | | It's only appearing wasteful if you're not understanding how memory management works on modern operating systems. It's not wasting any RAM at all if you pay attention to RSS vs VSS. The actual physical RAM is still entirely available to other applications. It's just made the OS know it might want that many pages. Until there's data in the pages, they will not count towards total RSS. It's the kind of things some sysadmins used to gripe to me about and I would question whether they should be in charge of a machine at all. To repeat: just because an application mmaps a large region doesn't mean the OS has actually given it all that physical RAM. It's merely made sure the pagetable knows about it. |
| |
| ▲ | jackbravo an hour ago | parent | prev [-] | | and you could say the same if not better from C#. But those are now becoming niche languages and ecosystems. One for people around microsoft, azure, etc. The other around oracle solutions. There are still pretty interesting projects around it any of them, but they seem to be losing mindshare against other languages. | | |
| ▲ | cmrdporcupine 30 minutes ago | parent [-] | | nah, C# is huge in game development and things adjacent to it. Lots of young people know it and love it for that reason. |
|
| |
| ▲ | knowaveragejoe 2 hours ago | parent | prev [-] | | But have you considered that java is gross and nodejs is sexy? |
|
|
| ▲ | skeledrew 2 hours ago | parent | prev | next [-] |
| That actually don't like you're describing Python. I've been working on a couple JS/TS projects and it's like the models I use (Claude Sonnet and DeepSeek v4 Flash) continually struggle to do coherent work; I have to always keep close watch to reduce sloppiness. I go to Python and it's smooth sailing with minimal prompting (and reduced token burn) for acceptable outcomes. |
|
| ▲ | altmanaltman 3 hours ago | parent | prev | next [-] |
| aren't 3 and 4 a tradeoff though? Yes you have 3 but "decent performance" cannot be an extaled value as compared to "runs everywhere". If its used as a counter balance to 3 then it shouldn't be its own unique point basically saying 4 is true despite 3 in this case. |
| |
| ▲ | m_ke 2 hours ago | parent [-] | | when you're waiting for network or LLM inference the raw performance doesn't matter at all | | |
| ▲ | eglintondust 2 hours ago | parent | next [-] | | This line of thinking I feel like assumes it's the only program running on your computer. Using less of my CPU and memory means my computer can do more things in parallel, or even run more instances of the harness. My laptop is sweating when I got 5+ claude code sessions running. | | |
| ▲ | jaapz 2 hours ago | parent [-] | | Is it actually claude using those CPU cycles though, or the agent running test suites and what not? Honestly I would not be surprised when it actually IS claude using those resources... It is very clearly vibed | | |
| ▲ | eglintondust 38 minutes ago | parent [-] | | I haven't monitored CPU usage so closely, but seems to get heavy with basic tool calls and editing. Memory usage definitely is out of hand, have an idle session right now eating 500MB |
|
| |
| ▲ | kingstnap 2 hours ago | parent | prev | next [-] | | You would think raw performance wouldn't be a problem given most of whats happening is waiting for network calls and streaming tokens. But modern bloat manages perfectly well to make apps that wait for network calls run poorly enough to give you a bad experience. | |
| ▲ | Jtarii 2 hours ago | parent | prev | next [-] | | This is so very, very incorrect. | |
| ▲ | altmanaltman 2 hours ago | parent | prev [-] | | yeah fair enough, my entire point is not about the application itself but the contradiction on using superlative terms for all points but a compromising/normal term for one. Like if performance is not revelant why include it in the list of benefits. |
|
|
|
| ▲ | 0xbadcafebee an hour ago | parent | prev [-] |
| decent performance, lol! compared to what? a shell script? "i'll only take up 200MB of disk and 4GB of RAM to output flickering text on a terminal. boy this is high performance" fast iteration is for POCs. once you have the app built and working, you need performance and stability much more than fast iteration |