Interesting post from over a year ago comparing #Python #Csharp (C#) #Cpp (C++) and #Cppx64 (C++x64 bit). Python is exponentially slower than C++.


There is no question that for larger long term development shifting or converting to C is immensely beneficial - particularly for longer term runs of applications or addins. Would externalizing addins on separate threads also speed things up or does Revit even allow apartment threading for addins?


To put it in perspective Python is slower than C++ by a factor of more than 100 in these examples. Longer term runs show exponential performance increases with lower level languages (i.e. C++ and C#.) because of pythons interpretive nature (It doesn't' compile it runs from native code)


Dave's Garage: Python -VS- C# -VS- C++(32) -VS- C++(64)  


https://youtu.be/D3h62rgewZM?t=1352



Dave's Garage: Python -VS- C# -VS- C++(32) -VS- C++(64)

https://lnkd.in/gmwZiDTb


Comments

Popular posts from this blog

Powerpoint countdown and current time in slides VBA

Revit area plans adding new types and references (Gross and rentable)