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
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Data Analyst (Digital Business Analyst)
@ Activate Interactive Pte Ltd | Singapore, Central Singapore, Singapore