When we say Backend, there are:
| Language | Runtime | Common Framework | Memory | CPU Efficiency | Concurrency Model | Strength |
|---|---|---|---|---|---|---|
| Java | JVM | Spring Boot | Medium–High | Medium | Thread / Virtual Threads | Enterprise systems |
| JavaScript | V8 (Node.js) | Express | Low | Medium | Event loop (non-blocking I/O) | I/O-heavy apps |
| Python | Interpreter | Django / Flask | Medium | Lower | Limited (GIL) | Rapid development |
| Go | Go runtime | Gin / net/http | Low | High | Goroutines (M:N scheduling) | High concurrency systems |
How code is executed
| Type | Example | Resource Behavior |
|---|---|---|
| Compiled | Go, C++ | Fast startup, low memory, efficient |
| VM (JVM) | Java (Spring Boot) | Higher memory, but optimized over time |
| Interpreted | Python (Django), JS (Node.js) | Flexible, but slower CPU, less efficient |
Memory management
Example: