User: Password:
|
|
Subscribe / Log in / New account

Transactional Memory does not require functional languages

Transactional Memory does not require functional languages

Posted Jun 17, 2009 6:53 UTC (Wed) by j1m+5n0w (guest, #20285)
In reply to: Transactional Memory does not require functional languages by tvld
Parent article: A look at two new languages: Vala and Clojure

Very true, there's no technical reason why STM would require a functional language. The main advantage some functional languages have is purity, which means the type system can guarantee that a particular block of code does not cause side effects or otherwise interact with shared, mutable state in ways that aren't allowed by STM. In an impure language, the programmer would need to be extra vigilant.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds