Battle of Programming Language: Statically Typed Vs Dynamically Typed ?

Date:

17 September 2024

Word Count:

744

Estimated Read Time:

4 minutes

🪵 The Tree Analogy: Defining “Tall” in Programming

Take a real-world object like a tree 🌴. When you describe it with an adjective, you define it based on that descriptor. The interesting thing about adjectives is that they’re not always tied to specific, measurable details. For instance, if you say the tree is tall, everyone understands the tree is tall, but how tall is subjective and varies from person to person, depending on their personal scale. For example, to me, a tree taller than 8 feet is considered tall, but for you, that might not be the case. You might think a tree over 10 feet is tall. Still, we both agree it’s tall.

This concept of subjectivity in adjectives can be closely linked to understanding statically typed programming languages and general-purpose programming languages (which are often dynamically typed).

⏩ Statically Typed Languages

Languages like C++, Rust demand you explicitly define types upfront. This precision leads to optimizations that make them a solid choice for high-performance machine learning systems.

⚡ Performance Benefits:

⚠️ Challenges:

🐍 Dynamically Typed Languages

🚧 Challenges:

🧠 Case Studies

1. Statically Typed Languages:

2. Dynamically Typed Languages

📃 Summary

💭 Open Thought

Can Rust Be the Next Machine learning language ? or We train the Machine Using Python and Julia, then use them using Rust ?

Tags 🔖 : #DynamicallyTyped #Rust #StaticallyTyped #MachineLearning #DataScience #Drone #AeroSpace #Banking