Twelve years later, the Java code still works in the very latest Clojure, 
and I have used the Clojerl compiler to run the original code on the BEAM 
virtual machine! The agents have been converted to processes, and Swing to 
WXWidgets, otherwise I left the code unchanged where possible.

Rich's original CLJ source :- 
https://gist.github.com/devstopfix/b60bdc67a6557286f14b035f2f993536


Converted CLJE source :- 
https://gist.github.com/devstopfix/4bbe8eb45a765198bba9cd11a95a26bf

Blog post :- http://www.devstopfix.com/posts/2020/clojerl-ant-simulation/

Running side-by-side :-

<http://www.devstopfix.com/posts/2020/clojerl-ant-simulation/ants-clj-vs-clje.png>




On Tuesday, 1 April 2008 04:19:03 UTC+1, Rich Hickey wrote:
>
> On March 20th, I gave a talk on Clojure and concurrency at a meeting 
> of the Western Mass Developer's Group. The slides, source code for the 
> demo, and audio from the talk are online. I hope to follow up with 
> video of the talk on Clojure TV soon. 
>
> http://www.clojure.org/news/concurrency_talk.html 
>
> Rich

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/5cf8304c-fe13-4f61-98e1-f00c62e9a8a6%40googlegroups.com.

Reply via email to