Comments by "Luredreier" (@Luredreier) on "The Daily Blob" channel.

  1. 2
  2. 2
  3. 2
  4. 1
  5. 1
  6. 1
  7. Simon WoodburyForget Well, C++ is ften slower then a well written C program (when both are coded well for speed and given the same task) Also: "Simon WoodburyForget26. jul. 2015  1 Svar   Java instead of Python? Someone must be on drugs, Python replaces Java, its not superior or inferior..... Java is a language with a large amount of overhead just like Python. If you put python in a cage and make run to Cython its going to run has fast has C does. Python isn't slow it's CPython that is the bottle neck and restrictive, which you can fix by running it differently. But that's when you get to 'why are you using Java or Python anyways' , it's certainly not because of performance. Are you seriously going to add complexity just for performance? It's most likely due to multiple factors." You're essentially saying that it's running as fast as C. (no mention of plusses as far as I can see) If we look at cython it compiles to C so an equal performance would be a best case scenario, however what's the chances of having best case scenario for the majority of your code? As the test illustrated pyrex (another one of the fast options) was slower then C++ (that itself is a tiny bit slower then C) I'll admit that I'm impressed by the optimization though given that last I heard you wouldn't get any faster then about half the speed of C++ code. It's still not the same speed though. Notice, you said "as fast as" not "at a similar speed" or "almost as fast as" But onto another topic do you still have the ease of readability in the cython code? What compromises are made, and how what differences would a newbie have to learn to use cython? I mean, I very much doubt that cython is able to turn all the abstractions of python into zero cost abstractions somehow... I imagine that either some layers of abstraction is removed or some more then zero cost abstractions are accepted...
    1
  8. 1
  9. 1
  10. 1
  11. 1
  12. 1
  13. 1
  14. 1
  15. 1
  16. 1
  17. 1
  18. 1
  19. 1