Now I mainly write in python, however I am looking for a thread-friendly language (rather than JAVA, C #, C or C ++).
Python threads are good when they are related to IO, but it ends when I do something intensive CPU.
Any ideas?
Thanks James
Python , , Python . "" , , . , , - .
Erlang, , , "Pythonic" .: -)
Clojure , . lisp, JVM. -, , Java, , *. Java- , , clojure , Java .
" ", (- > Python dicts) (- > Python), .
, , concurrency. , . , : .
*: , " hinting", , Java, . Clojure.
- , ? GIL ? ( , , .)
, , , .
, GIL , , :
multiprocessing
threading
boo - Python-inspired. , : , , , , ( LISP "" ), " " C).
, , IronPyton , .NET.
Stackless Python, EVE online .
Stackless Python - Python . . microthreads, Stackless Python - , , , .
GIL, python jython cpython
. , CPU, . .
, , .
, .
script : a.py | b.py | c.py | d.py...
a.py | b.py | c.py | d.py
Python, sys.stdin sys.stdout. , raw_input() print() .
sys.stdin
sys.stdout
raw_input()
print()
.
- - . . . .
python, API , . . Stackless Python ( ) Pyrex.
Source: https://habr.com/ru/post/1769079/More articles:Why is memcpy not working correctly? - c ++How does Python Lambda recursion expression work? - pythonSpring security setting using beans annotation - javaДинамические подключения к базе данных с Zend - phpDoes mootools provide the ability to fade () all but one element? - javascriptHow to completely put a qt3 library in qt4? - c ++Http-обработчик против Http-модуля для перенаправления URL-адресов в SharePoint - redirecthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1769082/yii-ways-to-do-include-another-view-in-this-view&usg=ALkJrhjVkqUiC8euyBUUObFHLM0J9RldJQexecutable partition flag - portable-executableSkip lines in the file; common extension methods - c #All Articles