all AI news
Python vs JS vs java vs ...
April 19, 2024, 1:36 p.m. | Maciej Wakuła
DEV Community dev.to
There are plenty of languages. Do you know where they shine and where they fail?
Test application: A simple application waiting for an event: either ctrl+c or any incoming connection on port 3000.
Language
runtime CPU
RAM
Image size (MiB)
Image
Startup time
Comments
Python
☑️0.01%
☑️<12
️✅57
python:3-alpine
JavaScript
✅0.00%
✅<8
☑️135
node:20-alpine
Java
❌0.12%
☑️~18.5
❌ 567
openjdk:23-oracle
Slow startup with peak memory usage; garbage collector consumes CPU all the time
Java
❌0.09%
✅~9
☑️123
azul/zulu-openjdk-alpine:8-jre-latest
garbage collector …
alpine application cpu event image java javascript language languages python shine simple startup test waiting
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US
Research Engineer
@ Allora Labs | Remote
Ecosystem Manager
@ Allora Labs | Remote
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US