Well written code is like a fast and eco-friendly race car

91social
1 min readMar 12, 2024

--

Here’s what we’ve observed with well written code:

1️⃣ Every hop counts! 🛣️
Fast code takes quicker paths, like using a special expressway (CDN) instead of a regular road (web server). Making quick in-process method calls instead of long-distance RPC calls across microservices.

2️⃣ Smart Thinking, Less Work: 🧠
Fast code is like a clever friend — it works hard but doesn’t waste energy. It uses fewer brains (cores) but makes them work a lot (higher CPU%). Also keeps different jobs separate, like talking (I/O) and thinking hard (CPU work)

3️⃣ The Right Language: 🖥️
C/C++ is no longer a practical choice, we did use it for one product though. Rust is nice. Java is nice and popular with its balance of speed and cost.

What we are saying is in short, we love slow code — it’s fun to make it fast! 🚀

--

--

91social

We provide technology services to businesses. Our mantra is to help businesses 'Go Digital'.