Python NetWorkSpaces
Many developers work with newer dynamic languages like Python and R. To meet the needs of these users, we've developed a Python-based coordination system called "NetWorkSpaces" (NWS) that is easy to learn, accessible via almost all development environments (including R, Java, octave,...
Uloženo v:
| Vydáno v: | Dr. Dobb's Journal Ročník 32; číslo 8; s. 35 |
|---|---|
| Hlavní autoři: | , , |
| Médium: | Trade Publication Article |
| Jazyk: | angličtina |
| Vydáno: |
San Mateo
Informa
01.08.2007
|
| Témata: | |
| ISSN: | 1044-789X |
| On-line přístup: | Získat plný text |
| Tagy: |
Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
|
| Shrnutí: | Many developers work with newer dynamic languages like Python and R. To meet the needs of these users, we've developed a Python-based coordination system called "NetWorkSpaces" (NWS) that is easy to learn, accessible via almost all development environments (including R, Java, octave, Python, Perl, and Ruby), and déployable on ad hoc collections of spare CPUs. The advantages this neutrality offers include: * ISfWS coordination patterns and idioms can be recycled from one language environment to the next. * NWS can be used to coordinate heterogeneous ensembles of code written in different languages. [...] Python NWS can automatically handle composite data structures: * from nws.client import NetWorkSpace * ws=NetWorkSpace('test') * 1=['a','b','b'] * t=(l,2,3) *d={ ' list ' : 1, ' tuple ' :t} * ws. store ('diet example', d) * ws.fetchf'dict example' {'list': l'a', 'b', 'c', 'tuple': (1, 2, 3)} Finally, ASCII strings used as values are treated in a special way (they are not subject to the client language serialization protocol) that makes it possible for them to be exchanged across client languages. |
|---|---|
| ISSN: | 1044-789X |