Re: Immutable or Effectively Immutable?

2014-05-08 Thread Alexandru Nedelcu
er, the sanest thing to do is to consider deallocation or other life cycle issues as the responsibility of the producer, unless it's very explicit in the exposed API that the consumer should handle it. -- Alexandru Nedelcu www.bionicspirit.com PGP Public Key: https://bionicspirit.com/key.

Re: Immutable or Effectively Immutable?

2014-05-08 Thread Alexandru Nedelcu
won’t necessarily be up-to-date when the final will be observed by other threads - again, ordering guarantees are relative. In other words, for finals to work properly, this mustn’t escape during construction and care must be taken when storing references to mutable things received from the outsi

Re: ClojureScript integration with Emacs/Cider ?

2014-01-07 Thread Alexandru Nedelcu
m what I understand, there are differences between Clojure and ClojureScript (e.g. protocols are at the bottom in ClojureScript) and it would be valuable if I could click on a function and see its ClojureScript specific code and documentation. Also handling the Javascript interop would be aw

ClojureScript integration with Emacs/Cider ?

2014-01-05 Thread Alexandru Nedelcu
er does jumping to the definition of a function. Is there any way to get these features while working with ClojureScript in Emacs? Or maybe in another IDE? Thanks, -- Alexandru Nedelcu www.bionicspirit.com PGP Public Key: https://bionicspirit.com/key.aexpk -- -- You received this message beca

Re: Question on Sequences

2013-11-18 Thread Alexandru Nedelcu
tom data structures, I don't have suggestions, but > you can refer to what the experts do: > > https://github.com/clojure/data.priority-map > https://github.com/ztellman?tab=repositories (potemkin, clj-tuple, > immutable-bitset, et al) > > Hope that helps, > Leif > > > O

Re: Reactive Programming in Clojure

2013-11-18 Thread Alexandru Nedelcu
+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. > For more options, visit https://groups.google.com/groups/opt_out. -- Alexandru Nedelcu www.bionicspirit.com PGP Public Key: https://bionicspirit.com/key.aexpk signature.asc Description: OpenPGP digital signature

Question on Sequences

2013-11-16 Thread Alexandru Nedelcu
nj (filter even? [1 2 3 4 5]) 6) So lets say that I want to write a generic function that preserves the type of that collection. Is something like this idiomatic? (defn only-evens [coll] (into (empty coll) (filter even? coll))) Thanks, -- Alexandru Nedelcu www.bionicspirit.com

Re: Annoying Emacs Problem

2013-11-14 Thread Alexandru Nedelcu
I wasn't noticing it because of the font used. Thanks, -- Alexandru Nedelcu www.bionicspirit.com PGP Public Key: https://bionicspirit.com/key.aexpk signature.asc Description: OpenPGP digital signature

Annoying Emacs Problem

2013-11-14 Thread Alexandru Nedelcu
environment I followed the Getting Started tutorial at http://clojure-doc.org/articles/tutorials/emacs.html and thus installed starter-kit, starter-kit-lisp, starter-kit-bindings, starter-kit-eshell, clojure-mode, clojure-test-mode and cider. Any ideas? -- Alexandru Nedelcu www.bion

How to interrupt execution and open a debugger/REPL?

2013-11-11 Thread Alexandru Nedelcu
r / REPL in the console with the current stack-trace and local vars visible? Thanks, -- Alexandru Nedelcu www.bionicspirit.com PGP Public Key: http://goo.gl/ZyQpGv -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gro

Re: In what OS do you code?

2013-06-17 Thread Alexandru Nedelcu
https://launchpad.net/~webupd8team/+archive/java -- Alexandru Nedelcu https://bionicspirit.com -- -- 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 memb

Re: Why the CLR languages fail?

2013-06-06 Thread Alexandru Nedelcu
d that must have near-realtime > low latencies. This means a lot of effort has been made to build garbage > collectors that cope with such workloads. As a result, you have the > concurrent mark-sweep GC (CMS), the new G1 from JDK 7 or Azul's Pauseless > GC (expensive, but amazing, o

Re: Why the CLR languages fail?

2013-06-06 Thread Alexandru Nedelcu
ensive, but amazing, or so I hear). Alternative languages (such a Scala, JRuby or Clojure) tend to generate a lot of short-lived junk. And JVM's garbage collectors can cope with it efficiently. I can probably think of other stuff, but this email is already too long :-) [1] http://blog.richdoughe

Re: Why the CLR languages fail?

2013-06-06 Thread Alexandru Nedelcu
hrived because it was designed to fit well within the existing Ruby ecosystem. IronRuby, a project started by Microsoft for demoing the DLR library, never stood a chance to catch up with it. -- Alexandru Nedelcu https://bionicspirit.com -- -- You received this message because you are subscribed

ClojureScript quick-start?

2012-11-07 Thread Alexandru Nedelcu
Hi, I'm a total newb and I'd like to play around with ClojureScript to learn it and maybe build something with it. However starting/configuring a project is difficult and I want 3 things - (1) a mixed clojure/clojurescript project + (2) a way to automatically compile the files on changes + (3)