Searchilizer ... loading ...
Clojure

Clojure

Lisp on the JVM. Can use all the Java libraries. This is the beginning skeleton of a page of Clojure links.

Clojure News

31/10/2016 18:47 Boot: A system for using Clojure as a scripting laguage.

15/8/2016 10:24 ClojureScript now has an official website: “Most of the content from the ClojureScript wiki has been migrated into the new site and organized.”

23/5/2016 10:33 Introducing clojure.spec: “a new core library and support for data and function specifications in Clojure.” And: “Clojure is a dynamic language, and thus far we have relied on documentation or external libraries to explain the use and behavior of functions and libraries. But documentation is difficult to produce [...] Specs are expressive and precise. Including spec in Clojure creates a lingua franca with which we can state how our programs work and how to use them.”

16/5/2016 10:51 A few tips for writing macros in Clojure: “they can be tricky to get right, especially in a legible way. These guidelines will serve beginning and intermediate macro programmers well. Advanced programmers will know when to ignore the guides.”

29/4/2016 12:09 The Joys and Perils of Interactive Development: By Stuart Sierra. The moral: “The source code ≠ the program”.

19/4/2016 13:45 Clojure, The Good Parts: Some opinionated but thoughtful advice on “what a ‘good’ production Clojure app looks like in 2016.” See also the discussion on Hacker News.

27/12/2015 10:35 ClojureScript Year In Review: There are too many riches here to try to summarize.

29/9/2015 8:19 Functional-navigational programming in Clojure(Script) with Specter: This looks like a powerful and fun way to handle nested data structures.

13/9/2015 13:50 Sparklines: A clojure program for making the little graphs.

20/8/2015 20:52 Clojure Data Structures and Algorithms CookBook: A new book, announced on the Clojure in Tunisia website.

18/8/2015 8:29 Parens of the Dead: “A screencast series of zombie-themed games written with Clojure and ClojureScript.”

7/8/2015 16:11 Neanderthal: Fast Native Matrix and Linear Algebra in Clojure: “Neanderthal implements BLAS algorithms and abstracts most of that complexity for vector and matrix computations away, behind a frendly Clojure API.[...] Optimized GPU engine 500x faster for large matrices than the fastest Java libraries. Handcrafted JNI bindings for machine-optimized ATLAS BLAS, 10x faster than optimized Java libraries on the CPU.”

31/7/2015 14:11 ClojureScript Next: ClojureScript can now compile itself. This means that you can make a web page that allows the user to type in ClojureScript and evaluate it. That, of course, is just the tip of the iceberg of awesomeness.

21/2/2015 9:16 Visualizing Twitter Connections with D3 and ClojureScript: Case study for importing and using a javascript library. His example output is live: you can rearrange the graph with the mouse.

11/1/2015 13:32 Quil: Clojure drawing library: Interface to Processing. And a recent entry in the growing tradition of exuberantly literary github pages.

2/1/2015 14:45 Clojure 2014 Year in Review: 2014 saw significant inroads into the business world.

6/11/2014 13:35 Local State, Global Concerns: “CircleCI’s recently open-sourced frontend is built in ClojureScript using Om.”

5/11/2014 17:31 OJ: “A refreshing Clojure library for talking to your database, heavily influenced by Ring.”

27/10/2014 9:32 Using Clojure At MixRadio: “we’ve been using Clojure to power our backend at MixRadio. We’ve moved from a largely Java platform to one where almost all new development is done in Clojure.”

29/9/2014 12:48 Leiningen Templates with Arguments: Templates for templates. Seems useful.

Tutorials & Documentation

Clojure core.async Walkthrough: Succinct but revealing walkthrough of the new channel library, using real code.

Clojure Made Simple: This ebook costs $3.99. There is an [excerpt] of the first chapter.

Amazing LISP Books living again in Clojure: Where to find “translations” of some classic Lisp books into Clojure.

Clojure Tutorial For the Non-Lisp Programmer: Moxley Stratton’s reasonable starting point.

Processing documents with transducers: “In this article we will develop a set of transducers which can be composed to extract data from an XML document (although the principles here can be applied to any tree-structured format, including JSON).”

Modern ClojureScript: “Modern ClojureScript (modern-cljs) is a series of tutorials that guide you in creating and running ClojureScript (CLJS) projects.”

The Blackstag Blog Post: Guide to Programming in Clojure for Beginners

Clojure.core: Batteries (almost) included: “a guided tour through some of the many libraries available from the Clojure team that don’t come distributed with Clojure.”

ClojureDocs - clojure.core/identity: Uses of the identity function; useful one-liners.

Clojure Cookbookis Coming: “We want this O'Reilly cookbook to be a comprehensive resource containing the collective wisdom of Clojurists from every domain. [...] Share some code. Explain it. Be a part of Clojure history. [...] O’Reilly will sell Clojure Cookbook in physical form, and will also make it available as an ebook (in multiple formats), freely redistributable under a Creative Commons license.”

Clojure Namespaces: A good, succinct tutorial.

Getting Started with Clojure: How to use Leiningen and start creating your first project.

ClojureScript: Lisp’s Revenge: David Nolen’s talk with live browser-connected REPL action.

Rock Paper Scissors with core.async: A great, clear example for illustrating channels in Clojure.

Tetris in ClojureScript: Uses Reagent. A very nice example.

“Clojure Lisp Programming” Course: I haven’t looked at it, but it’s an introductory, free, online course

Clojure Grimoire: “Community documentation of Clojure” – A convenient table of Clojure things.

Andrey Antukh’s ClojureScript Tutorial: Although the English is a little rough, this is a useful resource for getting started. Includes an introduction to Om.

Clojure, The Good Parts: Some opinionated but thoughtful advice on “what a ‘good’ production Clojure app looks like in 2016.” See also the discussion on Hacker News.

A nice, gentle introduction.

Thorough and quite clear survey, from language basics up to GUI desktop and web applications.

Quick reference.

Very clear essay on how to write a macro.

Thorough introduction assuming relatively little on the part of the reader.

A busy person’s introduction to Clojure: “Have a few hours spare and fancy getting to know Clojure and ClojureScript?”

Clojure version. The famous adventure game tutorial, adapted for this particular lisp.

Web Application Frameworks

C2: Clojure(Script) data visualization: “C2 is a Clojure and ClojureScript data visualization library heavily inspired by Mike Bostock’s Data Driven Documents. C2 lets you declaratively create HTML and SVG markup based on data”.

Clojure Web Server Benchmarks: Requests/sec for various web serving strategies.

Hiccup: “Fast library for rendering HTML in Clojure”.

webfui: Client-side web framework for ClojureScript with an emphasis on simplifying DOM manipulations. See the movie.

Luminus: “a micro-framework based on a set of lightweight libraries. It aims to provide a robust, scalable, and easy to use platform. With Luminus you can focus on developing your app the way you want without any distractions.”

5 Lessons Learned Writing a Clojure Web App: Practical lessons resulting from recent experience.

Liberator: “Liberator is a Clojure library that helps you expose your data as resources while automatically complying with all the relevant requirements of the HTTP specification (RFC-2616). Your resources will automatically gain useful HTTP features, such as caching and content negotiation. Liberator was inspired by Erlang’s Webmachine. [...] liberator will enable you to create application according to a REST architecture.”

Taking Off the Blindfold: “Om now supports a very useful notion called instrumenting which allows us to peek under the blindfold without changing any of the original code.”

Hoplon: “Write every­thing in Clojure and Clojure­Script, clientside and server­side. Even the page markup is ClojureScript that is evaluated to produce the DOM.” And: “Use a spreadsheet-like dataflow programming environment to manage client state.”

Joodo: A Clojure web framework integrating Ring, Compojure, Hiccup, Speclj, and Leiningen.

ClojureHomePage: “ClojureHomePage is a Compojure based web framework that allows you to write the backend and frontend with Clojure.”

What Web Framework Should I Use in Clojure?: Eric Normand’s answer: roll your own.

Building static sites in Clojure with Stasis: Detailed tutorial of the “no batteries included” static site generator.

Closp Documentation: “Closp is a leiningen template that generates everything you need to get started with clojure web development.”

Pedestal: Build web apps in Clojure: This is the current incarnation of the ClojurescriptOne project. “Built with components that play nice together & can be re-assembled at will.”

How to Install and Use Immutant with Noir: A useful, stepwise, very detailed example.

Shoreleave: “Shoreleave is a collection of integrated libraries that focuses on:
  • Security
  • Idiomatic interfaces
  • Common client-side strategies
  • HTML5 capabilities
  • ClojureScript's advantages

It builds upon efforts found in other ClojureScript projects, such as Fetch and ClojureScript:One.”

In version 0.2.2, and I’ve heard good things about it.

Nice tutorial on “Developing and Deploying a Simple Clojure Web Application” using Compojure and Hiccup.

Noire, a “micro-framework;” may be deprecated in favor of Compojure, etc.

The request and response guts that most of the frameworks seem to be based on is called Ring.

Much more than just a web application framework, Immutant is an “Application Platform.”

ClojureScript

Clojure implemented in javascript aimed at Google Closure. Has most of Clojure except for concurrency and the Java interface (for obvious reasons). Write Gmail in lisp.

BirdWatch with ClojureScript and Om explained: Matthias Nehlsen explains how he wrote a (very nice) front end to his interesting BirdWatch application, which presents term statistics for tweets that satisfy a search string.

Moving Things with Clojurescript and Your Phone Accelerometer: A detailed example shows you how to build a web app that moves an object around on the screen when you tilt your device.

Om Github Page: With useful lists of community resources.

Faster, Better DOM manipulation with Dommy and ClojureScript: “We built dommy because we felt that a ClojureScript DOM library could be a simpler, faster, and better version of jQuery that fits organically into expressive functional code.”

Modern ClojureScript: “Modern ClojureScript (modern-cljs) is a series of tutorials that guide you in creating and running ClojureScript (CLJS) projects.”

Himera: ClojureScript compiler as web service.

Eric Normand on Core.async: Really helps you understand what core.async does for you.

Functional programming on frontend with React & ClojureScript: “In this blog post I will show advantages of React way of building scalable and well performing web applications with taste of functional programming. In this tutorial we will introduce basics of ClojureScript as well and show how React plays nicely with ClojureScript through one of its wrappers called Reagent. Working app is included as well.”

ClojureScript Next: ClojureScript can now compile itself. This means that you can make a web page that allows the user to type in ClojureScript and evaluate it. That, of course, is just the tip of the iceberg of awesomeness.

Waitin' on Leiningen: David Nolen explains how to decrease clojurescript startup time.

ClojureScript: Lisp’s Revenge: David Nolen’s talk with live browser-connected REPL action.

ClojureScript with Shoreleave: Using [Shoreleave’s] pubsub library with clojurescript.

Servant: A Clojurescript Library for Using Web Workers that claims to allow you to write “clean, multithreaded, ClojureScript.”

The beginners guide to Pedestal: A work in progress.

Tetris in ClojureScript: Uses Reagent. A very nice example.

ClojureScript: Up and Running: “Learn how to build complete client-side applications with ClojureScript”.

Andrey Antukh’s ClojureScript Tutorial: Although the English is a little rough, this is a useful resource for getting started. Includes an introduction to Om.

Exploring the Clojurescript REPL: “A beginner-level exploration of a ClojureScript REPL session complete with mistakes of the type made by me so that you might avoid these common pitfalls when starting your own ClojureScript adventures.”

Tetris in Clojurescript: A set of animated slides building up the game while showing code you can interact with.

Bringing Functional to the Frontend: Clojure + Clojurescript for the Web: The Prismatic team’s transition to ClojureScript, with the creation of a new ClojureScript templating library as a side-effect.

Interactive Programming in ClojureScript: A Leiningen plugin (Figwheel) that gets the browser reloading on save, to allow simple interactive programming in ClojureScript. Includes a movie of the author live-coding a flappy bird game.

ClojureScript Tutorials: Mimmo Cosenza’s series of tutorials “will guide you in creating, setting up and running simple CLJS projects. The series follows a progressive enhancement of projects themselves.”

ClojureScript 101: Clear example from David Nolen showing how to use core.async to process events.

Visualizing Twitter Connections with D3 and ClojureScript: Case study for importing and using a javascript library. His example output is live: you can rearrange the graph with the mouse.

Reagent Rocks!: Excellent, concise introduction to using Reagent.

lein-figwheel: “Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding”.

Perfect ClojureScript Development Environment With Vim: Anton Astashov’s setup for immediate load from Vim to the browser.

The Future of JavaScript MVC Frameworks: David Nolen introduces OM, a library for using ClojureScript with React.js. A fascinating story showing how a cleaner high-level view can lead to significant gains in efficiency as well as more enjoyable coding.

An Om Tutorial: A tutorial on the ClojureScript Om framework, optimized for Light Table.

Rouge in Pedestal: Falling block game using only the data UI. Should be a good example of how to program with Pedestal.

Connecting to your creation: Changing the rules of a game as you play it by editing the ClojureScript source.

ClojureScript Syntax in 15 Minutes: Very concise, with a list of resources.

A conceptual look at Om: How the concepts used in the clojurescript library differ from MVC, and more.

re-com Demo: “Re-com is a library of ClojureScript UI components, built on top of Reagent.”

Parens of the Dead: “A screencast series of zombie-themed games written with Clojure and ClojureScript.”

Ohm’s Law Calculator in Om: Learn the OM framework along with Rick.

Local State, Global Concerns: “CircleCI’s recently open-sourced frontend is built in ClojureScript using Om.”

Om Experience Report: Adam Solove tries building something with [OM] and has a good time.

cljs-template: One way to learn and get started with clojurescript.

Devcards: When using clojurescript with React or Om, Devcards allows you to see different states of your UI in the browser at the same time.

ClojureScript: Lisp’s Revenge: David Nolen, a javascript programmer for the New York Times, gives a clear and inspiring talk, rich with demos, illustrating the joy of using ClojureScript. The movie is presented superbly as well: you can actually read the code.

ClojureScript now has an official website: “Most of the content from the ClojureScript wiki has been migrated into the new site and organized.”

Re-frame: A framework for writing single page applications with clojurescript and Reagent.

ClojureScript Quick Start: David Nolen explains how to set up your workflow. This page has been around for a long time and the author keeps it up to date.

omchaya: A ClojureScript + Om client for Kandan, which is some kind of chat program. “An example app that’s actually useful.”

Video of presentation by Clojure’s author is quite persuasive.

“A short demonstration of using the ClojureScript browser-connected REPL to work with the twitterbuzz sample application.” This little movie by Brenton Ashworth is quite cool. He locally connects the ClojureScript REPL to a browser and can type ClojureScript whose side effects appear as browser behaviors.

ClojureScript One is a complete example of an implementation of ClojureScript to create a “single page” application using the same language on the client and the server. This has been superceded by Pedestal.

Tools, Libraries

Editing

fireplace.vim: VimClojure is being replaced by this. I’ve been pretty happy with ScreenSend (used with paredit.vim), but this looks like another good way to go. (Previously named “foreplay.vim”.)

Cider: Interactive editing system for Emacs.

Slimv is “a SWANK client for Vim, similarly to SLIME for Emacs [...] Slimv opens the lisp REPL [...] inside a Vim buffer [...] Slimv supports SLIME’s debugger, inspector, profiler, cross reference, arglist, indentation, symbol name completion functions.” Of course this is for any lisp, but I have the impression that’s it’s popular with Clojure.

VimClojure This has been superseded by fireplace.vim. “[O]ne of the most sophisticated editing environments for Clojure. It provides syntax highlighting, indenting and command completion. [...] If requested VimClojure also provides a SLIME like interface to dynamically work with Clojure code. For this to work the included Nailgun server must be running.” I guess this can include the functionality of Slimv.

Plotting, Graphics

Rhizome: Graphiv diagrams from Clojure; extracted from the [Channels] library.

clojure-gnuplot: “clojure-gnuplot is a simple clojure interface to gnuplot. It allows interaction using lispy syntax.” Briefly described in the [gnuplot Cookbook].

C2: Clojure(Script) data visualization: “C2 is a Clojure and ClojureScript data visualization library heavily inspired by Mike Bostock’s Data Driven Documents. C2 lets you declaratively create HTML and SVG markup based on data”.

Incanter is something like R for plotting, statistics, and stuff.

Science

Nurokit: Toolkit for machine learning;an example.

Criterium: Benchmarking library for Clojure.

hiphip: A set of macros for “simple, performant array manipulation in Clojure.”

Databases

OJ: “A refreshing Clojure library for talking to your database, heavily influenced by Ring.”

Korma: “Korma is a domain specific language for Clojure that takes the pain out of working with your favorite RDBMS.” It stays close to SQL, but is a nice abstraction.

GUI

Make using Swing easier with Seesaw.

Other Libaries

unicode-math 0.2.0 released - adereth: Very cool: let’s you use Unicode math symbols directly in code.

Clatrix: A matrix library. “Being implemented as a data type around the native BLAS hooks of jblas gives it speed. Being implemented as a Clojure sequence makes it clever.”

Clojure core.async Channels: A major new library for [Clojure], described by Rich Hickey with his usual conceptual clarity: “Events complect communication and flow of control.” .

Channels: “A channel represents a stream of messages. It consists of two parts, a node, which propagates messages downstream, and a queue, which stores messages when there are no downstream nodes.”

Chord: “A library designed to bridge the gap between the triad of CLJ/CLJS, web-sockets and core.async [...] Chord only has one function, chord.client/ws-ch, which takes a web-socket URL and returns a channel. When the connection opens successfully, this channel then returns a two-way channel that you can use to communicate with the web-socket server”.

Functional-navigational programming in Clojure(Script) with Specter: This looks like a powerful and fun way to handle nested data structures.

Imagez: Here is an image processing library for Clojure that seems quite simple to use.

Grenchman: A persistent JVM/nREPL that maintains state and allows you to run clojure code without waiting for JVM startup.

Towards core.matrix for Clojure: A justification of the project that contains a useful rundown of existing matrix libraries.

Neanderthal: Fast Native Matrix and Linear Algebra in Clojure: “Neanderthal implements BLAS algorithms and abstracts most of that complexity for vector and matrix computations away, behind a frendly Clojure API.[...] Optimized GPU engine 500x faster for large matrices than the fastest Java libraries. Handcrafted JNI bindings for machine-optimized ATLAS BLAS, 10x faster than optimized Java libraries on the CPU.”

Onyx: This is “a masterless, cloud scale, fault tolerant, distributed computation system.”

More Clojure

The Clojure Toolbox: “A categorised directory of libraries and tools for Clojure.”

Transducers are fundamental: Ignacio Thayer: “Transducers are being introduced in the next version of clojure. There are a few posts about them already, but I found the notion of transducers more elegant and natural than I have seen described. They simplify a lot of disparate clojure concepts and make it easier to write more performant code without any loss in generality. They are quite beautiful, actually, and I believe the concept is elemental, like function composition.”

Clojure in the Open: “a weekly newsletter bringing interesting and simple tasks from small to medium open source projects that anyone can contribute to.” Seems like a great idea. A bit hard to read with the current low-contrast style, but they’re working on it.

Sparklines: A clojure program for making the little graphs.

Building Clojure services at scale: Joseph Wilk’s experiences from Soundcloud.

The Newbie’s Guide to Learning Clojure: Tips and links for learning the Clojure language.

Half OffClojure Programming: This is a great deal on the ebook, good for a week. You will see the full price listed on the page, but add it to your cart and the discount will be applied.

On the Perils of Dynamic Scope: “dynamic scope is easily abused and has a lot of unintended consequences.”

Clojure at a Newspaper: “fundamentally we hadn’t written much code. I raised this sheepishly with the CTO and his response was: ‘that’s how I know it’s the right solution.’ Clojure is the winner here.”

The many flavors of concurrency in Clojure: Adam Bard solves an inherently parallel problem using four approaches to concurrency, all on one very instructive page.

The Clojure Philosophy: Clearly discusses some of the ideas at the core of Clojure, concentrating on the differences from object-oriented languages.

ClojureScript Macro-Functions: In ClojureScript, unlike Clojure, a macro and a function can share a name. This article explores the implications.

Tim Bray: Eleven Theses on Clojure: Some interesting early (2009) thoughts.

Clojure 1.4 Announced: A new version of this extremely practical Lisp has been released. An interesting new feature is Reader Literals, which function as a kind of namespaced reader macro.

Rapid Scaling with Clojure and AWS: Instructive story about some unconventional technology decisions.

Practical Clojure: Book from 2010.

Fibonacci Numbers in the Real World: The best way to calculate Fibonacci numbers on a real computer depends on what you want to know about them.

Rifle-Oriented Programming with Clojure: How Clojure does object oriented programming better.

Simple Made Easy: Rich Hickey, the author of [Clojure], explains the difference between simple and easy in this often humorous talk. This is from October 2011, but I just found out about it, and it’s well worth sitting through.

Example using transducers: ... with core.async.

An assortment of interesting topics, from beginning to advanced, at Learning Clojure.

▶  Comment   ∷     ◀Share with FacebookShare with TwitterShare with RedditShare with StumbleUponShare with DiggShare with SlashdotShare with DeliciousShare with Google+

Comments

Comments are handled through email. Please send mail to __comment@lee-phillips.org if you would like me to include it here. I will never expose your email address. Let me know if you want me to hide your name, as well.

lee-phillips.org is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.
Quotilizer ... loading ...
Subscribe:   RSS icon twitter icon
Tenuously related: