Re: Persistent Data Structures for Objective-C/LLVM

2013-03-28 Thread Karl Krukow
On 28/03/2013, at 18.07, Omer Iqbal wrote: > Most foundation objective c data structures are immutable (NSArray, > NSDictionary, NSSet etc), and are most probably more performant than clojure > counterparts, though terribly less elegant. > However there's the clojure-scheme project > (https://g

Re: [cljs] Implement transport for a REPL

2012-11-27 Thread Karl Krukow
Yes! Thank you for that link :) On 27/11/2012, at 22.44, Frank Siebenlist wrote: > Pls take a look at Bodil's recent project: > > https://github.com/bodil/cljs-noderepl > > -FS. > > > On Nov 27, 2012, at 1:32 PM, David Nolen wrote: > >> It's definitely possible. I've been to meaning to merg

Re: [cljs] Implement transport for a REPL

2012-11-27 Thread Karl Krukow
Great! Thanks for your quick reply (again). I'd certainly love to look at it if you can provide a link. What do you think about the possibility of creating some protocol for the transport needed for a connected repl? - Karl On 27/11/2012, at 22.32, David Nolen wrote: > It's definitely possibl

Re: cljs: dynamic/reflective calls

2012-11-26 Thread Karl Krukow
Ah :) Cheers, - Karl On 26/11/2012, at 23.03, David Nolen wrote: > You can use `aget` for that. > > (aget object "someProperty") > > David > > > On Mon, Nov 26, 2012 at 5:00 PM, Krukow wrote: > Continuing my exploration of ClojureScript.. I'm writing a small query > language. The syntax con

Re: Clojure introduction to the Zürich IT geeks

2012-09-13 Thread Karl Krukow
On 13/09/2012, at 20.54, Muharem Hrnjadovic wrote: > Hello Karl, > > just drop me an email (ideally > 2 weeks in advance so we can announce > and promote the event). Since this would be the first meetup about > Clojure I thought we would target beginners to intermediate users. Sure, will do. I d

Re: Can we use Clojure like a general library in Java?

2012-06-03 Thread Karl Krukow
Regarding those... Some time ago I created a project containing only the persistent data structures for use with Java et al. https://github.com/krukow/clj-ds It is the data structures only so no bootstrap penalty. There are also Java'ish "improvements" like basic Generics and improved perfor

Re: Do you leave a Swank / nREPL in your production servers?

2012-05-25 Thread Karl Krukow
Thanks Sean for the detailed information. This will be really useful to me. /Karl On 25/05/2012, at 23.30, Sean Corfield wrote: > On Fri, May 25, 2012 at 1:46 PM, Phil Hagelberg wrote: >> On Fri, May 25, 2012 at 1:41 PM, Karl Krukow wrote: >>> If I'm embedding swan

Re: Do you leave a Swank / nREPL in your production servers?

2012-05-25 Thread Karl Krukow
Sorry, and thanks for the info. /Karl On 25/05/2012, at 22.46, Phil Hagelberg wrote: > On Fri, May 25, 2012 at 1:41 PM, Karl Krukow wrote: >> If I'm embedding swank clojure server in non-development, the code would >> need to start up swank - how would I do that? > &g

Re: Do you leave a Swank / nREPL in your production servers?

2012-05-25 Thread Karl Krukow
Sorry to ask what may be an obvious question to you. But what is a good way of embedding a swank server inside a production app? I'm kind of an emacs beginning and in development I just do lein swank and slime-connect from Emacs- that works fine. If I'm embedding swank clojure server in non-dev

Re: Latest Bagwell paper for a new implementation of Clojure vectors ?

2011-11-15 Thread Karl Krukow
On 15/11/2011, at 19.13, Justin Balthrop wrote: > It wouldn't change the performance profile of existing programs because > currently there isn't a way to concat two vectors and get a new vector. I > don't envision changing the behavior of clojure.core/concat, that should > still return a seq.

Re: Latest Bagwell paper for a new implementation of Clojure vectors ?

2011-11-15 Thread Karl Krukow
On Tuesday, November 15, 2011, Justin Balthrop wrote: > My understanding from the talk was that RRB-Trees have performance > identical to PersistentVector as long as you don't concat or split > them. So why not just replace the PersistentVector implementation with > an RRB-Tree? I guess that cou

Re: Latest Bagwell paper for a new implementation of Clojure vectors ?

2011-11-13 Thread Karl Krukow
ion in Clojure but for the various primitive types. > > David > > On Sun, Nov 13, 2011 at 12:38 PM, Karl Krukow wrote: > > On 13/11/2011, at 18.14, David Nolen wrote: > >> This would be awesome. From his talk it sounds like it shouldn't replace >> PersistentV

Re: Latest Bagwell paper for a new implementation of Clojure vectors ?

2011-11-13 Thread Karl Krukow
ably ask here for advice). /Karl > On Sun, Nov 13, 2011 at 10:02 AM, Krukow wrote: > By the way, I don''t see it as a replacement for PersistentVector, but > rather as an additional data structure, that could perhaps be put > somewhere in contrib if it turns out well. >

Re: Latest Bagwell paper for a new implementation of Clojure vectors ?

2011-11-13 Thread Karl Krukow
Hi, Yes, Phil Bagwell presented that at the Conj. I'm really interested in this stuff, so as an exercise in Clojure, I've started thinking about how to implement it. At first I'll try and do it without looking at Scala - if I get stuck I might peek a bit :) If you're interested, I'll put it on