liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Consider Clojure: A modern Lisp that runs on Java and Javascript hosts
Linköping University, Department of Computer and Information Science, Human-Centered systems. Linköping University, Faculty of Arts and Sciences. Department of Clinical Neuroscience, Karolinska Institutet, Stockholm, Sweden.ORCID iD: 0000-0001-5547-3866
Linköping University, Department of Computer and Information Science, Human-Centered systems. Linköping University, Faculty of Arts and Sciences.ORCID iD: 0000-0003-4899-588X
2016 (English)In: Proceedings of the 12'th SweCog Conference / [ed] [ed] Alexander Almér, Robert Lowe, Erik Billing, Skövde: University of Skövde , 2016Conference paper, Abstract (Other academic)
Abstract [en]

Developing software is a key methodology in cognitive science. Lisp is a family of programming languages that historically has been very influential in cognitive science in general and in the field of artificial intelligence in particular. Scientists and practitioners alike were drawn to Lisp due to its intelligent design and elegance. However, for various reasons it has become more and more uncommon to use Lisp in cognitive science and AI research.

Clojure is a modern Lisp language that compiles both to the Java virtual machine and to Javascript. This enables us to write fast, stand-alone applications in Lisp that runs on computers, smartphones and in web browsers - everything written in the same language. Clojure encourages functional programming – an approach to software development in where we model our application in terms of data flowing through the system. The design and implementation of an application then become a process where the developer writes modular parts that transforms data. Such workflow open up for very elegant solutions to some of today's problems in software development in general and in the field of web applications in particular.

Clojure can be used for everything from resource-intensive server-side applications to lightweight applications that runs in the browser or as a smartphone application. In addition, Clojure has a rich eco-system of freely available libraries to make development become like building things with LEGO.

In this talk, we will give a technical demonstration of the language in where we demonstrate various aspects of the language that is relevant for cognitive science researchers and practitioners. We will also demonstrate an e- Health application that has been written in Clojure. It enables clinical practitioners to use the Internet to provide psychological treatment to individuals with for example depression and anxiety. Our experiences with Clojure in developing this application will be described. We have also made efforts to teach software development with Clojure to clinical psychologists to enable them to write e-Health web applications without any background in software development. This project will also be described in the talk.

We believe that Clojure combines the best of both worlds – elegance and performance. With this talk, we hope to demonstrate why we believe Clojure is a perfect fit for both research and practice in the field of cognitive science.

References

Johansson, R. (in preparation). Functional programming with Clojure.

Johansson, R. (in preparation). Writing the code for ICBT web applications.

Place, publisher, year, edition, pages
Skövde: University of Skövde , 2016.
Series
Skövde University Studies in Informatics, ISSN 1653-2325 ; 2016:2
National Category
Human Aspects of ICT Software Engineering
Identifiers
URN: urn:nbn:se:liu:diva-132952ISBN: 9789198366709 (print)OAI: oai:DiVA.org:liu-132952DiVA: diva2:1052138
Conference
SweCog 2016 Conference, Gothenburg, Sweden, October 6-7, 2016
Available from: 2016-12-05 Created: 2016-12-05 Last updated: 2016-12-12Bibliographically approved

Open Access in DiVA

No full text

Search in DiVA

By author/editor
Johansson, RobertJönsson, Arne
By organisation
Human-Centered systemsFaculty of Arts and Sciences
Human Aspects of ICTSoftware Engineering

Search outside of DiVA

GoogleGoogle Scholar

Total: 102 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf