GAS Posted November 17, 2015 Share Posted November 17, 2015 Hello Every One; I have question about scripting in houdini ? I have some python experiences and programming skills My question What should I learn Python or Vex? Quote Link to comment Share on other sites More sharing options...
Atom Posted November 17, 2015 Share Posted November 17, 2015 (edited) The trend is to leverage VEX because VEX is multi-threaded and Python is only single-threaded, thus slower. But it depends upon the task. Some tasks are not multi-threaded sensitive so using Python is quite acceptable. Also there are tons of Python examples available. Using Python also offers a way for programmers who may not be 3D involved to provide code or data processing to a 3D solution. Like leveraging an outside library. So the short answer is to learn them both. Edited November 17, 2015 by Atom Quote Link to comment Share on other sites More sharing options...
symek Posted November 17, 2015 Share Posted November 17, 2015 Hello Every One; I have question about scripting in houdini ? I have some python experiences and programming skills My question What should I learn Python or Vex? Both. The trend is to leverage VEX because VEX is multi-threaded and Python is only single-threaded, thus slower. Not that I would like to split hears in the subject, but this sounds like little oversimplification which might misleads one occasionally. The speed difference between these two isn't necessarily related to multithreading issues, but a whole language models. There are cases (rare in fact) where Python runs comparable to VEX. It is more about interpreted/compiled languages and general purpose garbage collected objects versus linear memory access of C-like arrays. If the only difference between VEX and Python was multithreading of the former one, VEX wouldn't be that fast, as it's quite often single-threaded too. 1 Quote Link to comment Share on other sites More sharing options...
Maurits Posted November 17, 2015 Share Posted November 17, 2015 Both. I agree, I personally use both each for different task, for example when working with attributes i go for VEX, but when i want to manipulate parameters or even create nodes i go for Python. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.