Working ClojureCLR examples

2015-10-11 Thread Paulo Pinto
Hello everyone, now that Clojure has support for reader conditionals, I have been thinking about exploring the idea of using it for portable business logic between Android and Windows Phone, instead of having to deal with JNI in the NDK. So my first test was to have a go at ClojureCLR to see ho

Re: ClojureC - A Clojure to C compiler - Work in Progress

2012-07-09 Thread Paulo Pinto
On Jul 9, 4:11 pm, Mark Probst wrote: > On Mon, Jul 9, 2012 at 4:05 PM, Paulo Pinto wrote: > > A question that I also mentioned on the HN thread, any idea to bypass > > C and > > compile directly to native, for example via LLVM? > > No particular plans.  Why would y

Re: ClojureC - A Clojure to C compiler - Work in Progress

2012-07-09 Thread Paulo Pinto
On Jul 9, 1:03 pm, Mark Probst wrote: > Dear Clojurians, > > I'm excited to announce ClojureC, an effort to produce a Clojure > implementation that targets C: > >  https://github.com/schani/clojurec > > My personal goals with this are to be able to write self-contained > (command-line) Clojure p

Re: clojure-scheme - Compiling Clojure to Scheme to C

2012-03-18 Thread Paulo Pinto
Great work! Just a question, why Clojure->Scheme->C, instead of Clojure->Clozure? That way there would no be any C compiler dependency. -- Paulo On Mar 14, 10:08 pm, Nathan Sorenson wrote: > I've modified the output of the ClojureScript compiler to emit Scheme code. > At this point the core li

Re: Documenting Clojure Design without UML

2012-01-20 Thread Paulo Pinto
Hi, I think your problem is more general than just Clojure. Actually there was a long discussion on the "Functional Programming" group over at LinkedIn about applying UML to functional languages. The general consensus is that you can somehow adapt UML concepts to describe data structures and exec

Re: JVM 7 support (invokedynamic)

2011-08-25 Thread Paulo Pinto
invokedynamic reduces drastically the lookup times you require in dynamic languages. The JVM and JIT understand what you are trying to do and can optimize the invocation. Currently all dynamic languages targeting the JVM generate code that cannot be easily optimized by the JVM before invokedynamic

Re: Clojure Speed performance test

2011-08-18 Thread Paulo Pinto
Maybe Clojure code needs some type annotations. On Aug 18, 9:40 am, Roberto Mannai wrote: > Hello, > I recently stumbled upon this > page:http://java.dzone.com/articles/contrasting-performance > They are comparing several languages (Java, Scala, Python, Erlang, > Clojure, Ruby, Groovy, Javascrip

Re: Stanford AI Class

2011-08-14 Thread Paulo Pinto
; On Sun, Aug 14, 2011 at 8:50 AM, Paulo Pinto wrote: > > I guess that nowadays many AI systems are mainly programmed in > > some kind of specialized DSL. > > > Sure Lisp based languages are a perfect candidate for it, but the > > plain > > mention of Lisp brings u

Re: Stanford AI Class

2011-08-14 Thread Paulo Pinto
I guess that nowadays many AI systems are mainly programmed in some kind of specialized DSL. Sure Lisp based languages are a perfect candidate for it, but the plain mention of Lisp brings up some issues that you cannot get rid of, like the parenthesis. To be honest, while I was at the university

Re: Silly Chat: Clojure, ClojureScript and WebSockets

2011-08-11 Thread Paulo Pinto
nice On Aug 11, 9:29 am, Hubert Iwaniuk wrote: > Good news everyone! > > Here is a sample Clojure ClojureScript application that uses WebSocket for > communication.http://lab01.kungfoo.pl:8108/ > > Source code:https://github.com/neotyk/ws-cljs/ > > Nothing really fancy, just a POC kind of thing.

Re: Google working on JIT compiler for Dalvik

2011-08-01 Thread Paulo Pinto
There is a JIT in Dalvik since Android 2.2! On Jul 31, 8:40 pm, Fred Concklin wrote: > DOH!http://developer.android.com/videos/index.html#v=Ls0tM-c4Vfo > > On Jul 31, 2:38 pm, Fred Concklin wrote: > > > > > > > > > Thought it might be of interest to some on the list. > > >http://developer.androi

Re: ANN: Cologne Clojure User Group (Cologne / Köln - Germany)

2011-02-28 Thread Paulo Pinto
Great! I just joined, unfortunely I won't be in Germany for the next event. -- Paulo On Feb 28, 10:20 am, Max Weber wrote: > Hello everyone, > > back in December 2010 we launch a Clojure User Group for the wider > area of Cologne in Germany. So if you are living in this region and > like to joi

Re: Clojure and functional languages advantages over .NET

2011-02-10 Thread Paulo Pinto
Hi, I got the impression that you don't know .Net. .Net is a VM similar to what the JVM offers, there are many functional languages that target .Net as well. Microsoft's own functional language F# Currently VB.Net and C# provide functional programming constructs LINQ is actually an implementatio