Re[3]: Быстрое введение в Clojure
От: A13x США  
Дата: 02.08.13 13:10
Оценка: 6 (1)
Здравствуйте, kaa.python, Вы писали:

KP>Здравствуйте, A13x, Вы писали:


KP>>>Можно и книги, но хотелось бы краткой выжимки по конкретным вопросам. Список ключевых возможностей так же приветствуется.


A>>Одна из самых хороших книг которые я видел: Clojure Programming


KP>Да, мне эта тоже понравилась, ну и отзывов много положительных. Но, в первую очередь, хочется статьи, т.к. у меня есть вполне конкретные "хотелки" и был бы рад глянуть как они реализованы.


"Выжимку" можно найти на официальном сайте:

по многопоточности

Clojure simplifies multi-threaded programming in several ways. Because the core data structures are immutable, they can be shared readily between threads. However, it is often necessary to have state change in a program. Clojure, being a practical language, allows state to change but provides mechanism to ensure that, when it does so, it remains consistent, while alleviating developers from having to avoid conflicts manually using locks etc. The software transactional memory system (STM), exposed through dosync, ref, set, alter, et al, supports sharing changing state between threads in a synchronous and coordinated manner. The agent system supports sharing changing state between threads in an asynchronous and independent manner. The atoms system supports sharing changing state between threads in a synchronous and independent manner. The dynamic var system, exposed through def, binding, et al, supports isolating changing state within threads.


+ есть еще полезный clojure cheat sheet
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.