I have been working on a library for ClojureCLR that actually uses a
Clojure DSL to generate, compile, and load C code live into a running REPL.
It's called c-in-clj (see https://github.com/aaronc/c-in-clj). It works
quite well for me so far, but is still in what I would call Alpha stage.
Ev
Mikera writes:
> On this general topic: the following project (VMKit) looks very interesting:
>
> - http://vmkit.llvm.org/index.html
>
> It basically implements a full JVM on top of LLVM, which should in theory be
> sufficient
> to run Clojure on the LLVM.
I tried this a while ago and
I personally have no limitations with Clojure and the JVM for general
development.
Like Mark mentioned, I have a need to embed runtimes within C systems, with
a small memory footprint (ideally less than 5 Mb) fast execution, and a
solid FFI.
Giving up some raw performance to get some benefits o
On Tuesday, 22 January 2013 00:29:54 UTC+8, octopusgrabbus wrote:
On this general topic: the following project (VMKit) looks very interesting:
- http://vmkit.llvm.org/index.html
It basically implements a full JVM on top of LLVM, which should in theory
be sufficient to run Clojure on the LLVM.
Timothy Baldridge writes:
> That's why I think it's a good idea to ask what the goals are for native
> Clojure. The
> ClojureScript and Clojure-Py options while nice both don't allow for a good
> concurrency
> story. On top of that, I'm not sure either of those would actually run on
> iOS
On Monday, 28 January 2013 07:56:58 UTC+8, tbc++ wrote:
> That's why I think it's a good idea to ask what the goals are for native
> Clojure. The ClojureScript and Clojure-Py options while nice both don't
> allow for a good concurrency story. On top of that, I'm not sure either of
> those would
although I'm sure everybody's seen this, I believe it is relevant here,
this clojureconj by Chris Granger
https://www.youtube.com/watch?v=V1Eu9vZaDYw
maybe only applies to clojurescript(that is, being slow in this case)
the important stuff is at from 13:59
On Mon, Jan 28, 2013 at 1:53 AM, Mark Ra
I haven't hit any hard limits at this point, but you hit on a use case
where Python and Lua currently hit a sweet spot that I think would be
nice to use Clojure:
C/C++ systems that want to expose scripting capabilities to users
(e.g. game engines, robotics systems).
For these types of use cases,
That's why I think it's a good idea to ask what the goals are for native
Clojure. The ClojureScript and Clojure-Py options while nice both don't
allow for a good concurrency story. On top of that, I'm not sure either of
those would actually run on iOS.
However, a pure, from-scratch option has a mu
Additionally, you might also consider ClojureScript itself. With a little
work you could embed V8 into your application
(https://developers.google.com/v8/embed).
Martin Trojer just wrote a really nice blog post on embedded runtimes -
http://martinsprogrammingblog.blogspot.co.uk/
All that said
On Sun, Jan 27, 2013 at 1:31 PM, Paul deGrandis
wrote:
> As far as embedding Clojure is concerned, another option is
> ClojureScript-Lua + LuaJit + C.
> I've recently started going through the CLJS-Lua source to see how viable
> this is.
Thanks, I had forgotten about ClojureScript-Lua. (And hope
gt;
> >>> Check the clojure-py2 project, they plan to use LLVM to generate
> native modules (as C compiled) for Python. When that objective is reached
> probably you will have almost all the machinery to compile python-less
> native binaries:
> >>>
> >>>
compile python-less native
>>> binaries:
>>>
>>> http://lanyrd.com/2013/clojurewest/sccgmm/
>>>
>>>
>>> Saludos,
>>> Nahuel Greco.
>>>
>>>
>>> On Fri, Jan 25, 2013 at 12:18 PM, Marko Kocić wrote:
>>
Timothy Baldridge writes:
> The important question to ask yourself (and I'll cover this in my talk), is
> why do
> you want native Clojure?
...
> Interop with systems - Java has one of the biggest ecosystems on the planet
The Java ecosystem is big but concentrated on some application domain
On Friday, January 25, 2013 11:28:32 AM UTC-5, tbc++ wrote:
>
> The important question to ask yourself (and I'll cover this in my talk),
> is why do you want native Clojure?
>
>
* easy direct access to C libs
* fast startup time
* minimal footprint
Well, that's what would attract *me* to a
n 25, 2013 at 12:18 PM, Marko Kocić wrote:
>>
>>>
>>>
>>> On Friday, January 25, 2013 6:12:07 AM UTC+1, Mikera wrote:
>>>>
>>>> A natively compiled Clojure would be very very interesting (perhaps
>>>> targeting LLVM?)
>>
>
> Saludos,
> Nahuel Greco.
>
>
> On Fri, Jan 25, 2013 at 12:18 PM, Marko Kocić wrote:
>
>>
>>
>> On Friday, January 25, 2013 6:12:07 AM UTC+1, Mikera wrote:
>>>
>>> A natively compiled Clojure would be very very interesting (perhaps
>>
.
On Fri, Jan 25, 2013 at 12:18 PM, Marko Kocić wrote:
>
>
> On Friday, January 25, 2013 6:12:07 AM UTC+1, Mikera wrote:
>>
>> A natively compiled Clojure would be very very interesting (perhaps
>> targeting LLVM?)
>>
>> However it would also be very hard to im
On Friday, January 25, 2013 6:12:07 AM UTC+1, Mikera wrote:
>
> A natively compiled Clojure would be very very interesting (perhaps
> targeting LLVM?)
>
> However it would also be very hard to implement. Clojure depends on a lot
> of features provided by the JVM (JIT compila
A natively compiled Clojure would be very very interesting (perhaps
targeting LLVM?)
However it would also be very hard to implement. Clojure depends on a lot
of features provided by the JVM (JIT compilation, interop with Java
libraries, garbage collection being the most significant ones). It
vely". What
>>> >> problems have you encountered that pique your intrest in this area?
>>> >>
>>> >> Timothy
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> On Mon, Jan 21, 2013 at 9:29 AM, octopusg
t;> your
>> >> needs, why are you interested in making the code run "natively". What
>> >> problems have you encountered that pique your intrest in this area?
>> >>
>> >> Timothy
>> >>
>> >>
>> >>
>> >&
n Mon, Jan 21, 2013 at 9:29 AM, octopusgrabbus
> >> wrote:
> >>>
> >>> I use Clojure primarily as a very reliable tool to aid in data
> >>> transformations, that is taking data in one application's database and
> >>> transforming it
gt;
>>> I use Clojure primarily as a very reliable tool to aid in data
>>> transformations, that is taking data in one application's database and
>>> transforming it into the format needed for another applications' database.
>>>
>>> So, my question is
Thanks. I took your link and posted it as a comment on stackoverflow.
On Monday, January 21, 2013 1:15:05 PM UTC-5, Shantanu Kumar wrote:
>
> > What triggered this was this morning I saw something on
> stackoverflow.comabout Clojure's possibly interacting with C code, and the
> natively compiled
> What triggered this was this morning I saw something on
> stackoverflow.comabout Clojure's possibly interacting with C code, and the
> natively compiled
> question just popped into my head.
Could Clojure-JNA help there, or is it some other use-case?
https://github.com/Chouser/clojure-jna
Shan
; On Mon, Jan 21, 2013 at 9:29 AM, octopusgrabbus
>
> > wrote:
>
>> I use Clojure primarily as a very reliable tool to aid in data
>> transformations, that is taking data in one application's database and
>> transforming it into the format needed for anothe
te:
> I use Clojure primarily as a very reliable tool to aid in data
> transformations, that is taking data in one application's database and
> transforming it into the format needed for another applications' database.
>
> So, my question is would a natively compiled C
I use Clojure primarily as a very reliable tool to aid in data
transformations, that is taking data in one application's database and
transforming it into the format needed for another applications' database.
So, my question is would a natively compiled Clojure make sense or turn the
29 matches
Mail list logo