1 / 10

Exploring Clojure: Functional Programming Language Insights and SWOT Analysis

This presentation provides an overview of Clojure, a functional programming language derived from Lisp. We delve into its defining features, such as state management and concurrency support, and compare Clojure's paradigms with those of imperative languages. Additionally, a SWOT analysis highlights Clojure's strengths, weaknesses, opportunities, and threats, examining aspects like its dynamic nature, Java interoperability, and emerging ecosystem challenges. Ideal for those seeking to understand Clojure's role in modern programming, this talk offers valuable insights for developers and enthusiasts alike.

chen
Télécharger la présentation

Exploring Clojure: Functional Programming Language Insights and SWOT Analysis

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lighting Talk - Clojure Presented by Julian Togashi & Ryan Lewis CPSC 476, CSUF

  2. Objectives • We will briefly cover two areas: • Define Clojure as a language • (imperative languages v. functional languages) • Perform a SWOT Analysis • Strengths, Weaknesses, Opportunities and Threats

  3. What is Clojure? • Functional Programming Language • (a flavor of LISP) • State separated from Objects • (persistent data structures) • Robustly supports concurrency • (functions natively execute in transactions) • Built upon prevalent platform • (runs on JVM)

  4. Imperative v. Declarative http://msdn.microsoft.com/en-us/library/bb669144.aspx

  5. SWOT Analysis

  6. SWOT Analysis - Strengths • Targets JVM, CLR (Common Language Runtime, and Javascript • Compiles directly to JVMbytecode • Dynamic language - Polymorphism • Dialect of LISP • Immutable persistent data structures • Strong multithreaded design • Heterogeneous collections, return types • Identities (values emphasis) • Ideal for transactions • Uses REPL (Read, Execute, Print, Loop) • Can be embedded in a Java program • Can be used as a scripting language • Infix notation does not require precedence rules • Less configuration required than Java Apps • Lazy Sequences • Easily model infinite sequences • Java Interoperability

  7. SWOT Analysis - Opportunities • Exciting ecosystem • Easily supports concurrent operations • General purpose programming • Native GAE support • AI development like NPCs and Expert Systems • Web applications • Mathematical systems • Responsive testing – updates easily deployed

  8. SWOT Analysis - Weaknesses • Not currently interoperable with .Net • Syntactically different that traditional C++/Java programs • Slow Start Up from JVM (in particular command line) • No-tail recursion optimization

  9. SWOT Analysis - Threats • Introduced in 2007 so relatively new • Infant community support • No classes / Functional Syntax • No object orientated support • IDE support is still relatively immature • Not currently common in client projects

  10. References • http://clojure.org • http://www.infoq.com/articles/deadline-clojure-appengine • http://bloodredsun.com/wp-content/uploads/2011/10/5_major_jvm_langs_abs.png • http://www.catalysoft.com/articles/goodAboutClojure.html • http://www.infoq.com/news/2009/01/clojure-interview-halloway

More Related