One of the nice bits that we have access to in Rhino python is the Task Parallel Library that is built into .NET 4
This set of classes and functions makes it relatively easy to write things like parallel for loops in which every iteration of the loop may be processed on different threads. This nice thing about parallel for loops
I've been trying to learn more about things like web services and APIs provided by internet companies (gotta figure out what all of these buzzwords are.) One thing I've noticed is that many companies now provide a REST API which return JSON objects. There are enough resources on the web that describe REST and JSON that I don't need to repeat it here; I'm just going to get to my python experiments on this technology.
Attached are a python script and a grasshopper definition containing
Giulio Piacentino and I have been working on an update to the grasshopper/python component and finally have something to show off!!!
http://www.food4rhino.com/project/ghpython - NOTE: Will only work in Rhino 5
This component is a scripting component similar to the VB.NET and C# components that ship with Grasshopper. You get a component where you can define as many input and output variables as you want and then reference these variables in the python script.