1
Scripting Languages / Re: Python Port of Word List Generator
« on: October 10, 2013, 05:13:45 PM »
HI Deque , good speech
you’re right, I meant compilation directly in machine language like in C/C++..ecc..not in IL..
I repeat: obviously Python is slower then *pure compiled* languages , and ok its VM hasn’t JIT like in Java or in .net runtime(ps. however look at PyPy just in time compiler for Python...good but not comparable to JIT)..…but it take advantage of powerful libraries like itertools, numpy package and many others as you know…there would also *stuff* like Cython and Numba (for scientific computations) to speed up your code… all this is Python;
but in conclusion what matters is muster an efficient practice coding as you said
Semantic of code that I posted is very simple, and self –explanation,.. obviously he must know WELL built in func and methods like map, expression gen, list comp., ecc… If not à ther’s documentations and good books for that.You can’t write good code without know basis…in a boring week end ...
it’s also important to think over simple or complex code with own head, and after he could ask for clarifications
Why Python isn’t java or php..?;
Because if You think in Java when write Python's code probably you’ll produce inefficient code…
If you think in php when write python or php's code : surley you’ll produce very inefficient code
you’re right, I meant compilation directly in machine language like in C/C++..ecc..not in IL..
I repeat: obviously Python is slower then *pure compiled* languages , and ok its VM hasn’t JIT like in Java or in .net runtime(ps. however look at PyPy just in time compiler for Python...good but not comparable to JIT)..…but it take advantage of powerful libraries like itertools, numpy package and many others as you know…there would also *stuff* like Cython and Numba (for scientific computations) to speed up your code… all this is Python;
but in conclusion what matters is muster an efficient practice coding as you said
Semantic of code that I posted is very simple, and self –explanation,.. obviously he must know WELL built in func and methods like map, expression gen, list comp., ecc… If not à ther’s documentations and good books for that.You can’t write good code without know basis…in a boring week end ...
it’s also important to think over simple or complex code with own head, and after he could ask for clarifications
Why Python isn’t java or php..?;
Because if You think in Java when write Python's code probably you’ll produce inefficient code…
If you think in php when write python or php's code : surley you’ll produce very inefficient code