Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between clojure and clojurescript?

Can anyone please list some differences between Clojure and ClojureScript? (Please and thank you) Syntax wise differences?

like image 307
Danny Watts Avatar asked Feb 14 '13 17:02

Danny Watts


2 Answers

The full differences between Clojure and ClojureScript are listed in detail here on the ClojureScript website.

According to that page, the primary differences lie in:

  • concurrent programming
  • hosting env (JVM vs a JS VM or Google's Clojure compiler)
  • numbers
  • characters
  • the read, and read-string methods are defined in a different place
  • load, and load-file not yet implemented
  • no eval in ClojureScript
  • a few of the special forms aren't implemented
like image 199
masukomi Avatar answered Nov 06 '22 23:11

masukomi


They are different languages with a common syntax that are hosted in different environments.

like image 24
Arthur Ulfeldt Avatar answered Nov 06 '22 23:11

Arthur Ulfeldt