7
1
1
Jan 17 '24
No language is better than another, remember that (for the most part (ignoring VBA)) languages are an engineering science - developers spend months creating a language to provide a solution to a specific problem...
C# - Mid level language
Shares similarities with python but can do more
It's quicker in processing, which is why it's used in game engines and some robotics
Python - High level language
Very easy to read, hence why it's so popular with scientists
Slow (in comparison) to process and not recommended for robotics due to it needing an interpreter and is actually illegal in many countries to use high-mid level programming languages in automation due to the poor processing time.
C++ - Mid - Low level language
Less easy to understand but allows the ability to directly reference memory locations via pointers (you cannot do this in any of the above languages). So rather than going through a bunch of functions and translators to 'flip a bit', you can do it directly.
Much, much faster and more powerful as you have direct access to the OS and memory.
Common in many robotics
(this still isn't fast enough for, say, fully automated monorails but I don't know what language that is)
1
5
u/Goobyalus Jan 14 '24
How is what better