Learn about Clojure’s concurrency strategies and refactor the original code from Rich’s talk about concurrency in Clojure.
This project uses the clojure CLI and make
tools to build and execute the
application. It has been tested with OpenJDK 11. Simply call make
to run it
and make test
to run all the unit tests.
You can also run it using Docker (tested with v20.10.x), but I’ve only tested it in a GNU/Linux distribution, hence macOS and Windows are not supported.
make docker/build make docker/run/release
You can remove the container and image with:
make docker/clean
Ants is based on the Clojure Ants Simulation by Rich Hickey.
Copyright (c) Rich Hickey. All rights reserved. The use and distribution terms for this software are covered by the Common Public License 1.0 (cpl) which can be found in the file cpl.txt at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.