Which Programming Languages Should I Learn to Start Building Small AI Projects?
Asked by
before the interval
I'm a C# programmer and want to start building something small and practical with AI. Should I learn another programming language, such as Python, or can I continue using C#? I'm mainly interested in either integrating an existing AI model into an app or experimenting with a simple model of my own.
Answers
If youโre calling an AI service through an API, you can absolutely stick with C#. The language usually doesnโt matter much, since most providers offer HTTP or official SDK support. C# is also a good choice for building the rest of your application.
Reply to this answer
If you want to build models rather than just connect to an existing one, plan to study some linear algebra, probability, and statistics too. Python is mostly the tool around the model; understanding the underlying math becomes important as projects get more advanced.
Reply to this answer
For training or experimenting with your own small models, Python is the usual starting point. It has the most mature ecosystem for machine learning and data work, including libraries that handle the heavy lifting while your code coordinates the data and model.
Reply to this answer
A practical approach is to keep using C# for your application and learn enough Python to follow tutorials and use machine-learning libraries. You donโt need to abandon C#โthe two languages can work together depending on how you deploy the model.
Reply to this answer
Add your answer
Answers are reviewed before publication.
before the interval: That makes sense. Iโm aiming for a small project first, but Iโll keep the math fundamentals in mind as I go.