Re: Clojure vs Scala - anecdote

2011-09-15 Thread Tal Liron
On Tuesday, September 13, 2011 1:44:09 PM UTC-5, Sean Corfield wrote: > > It was intended to be purely anecdotal but that doesn't seem to satisfy > anyone! :) > Homer: "You know, when I was a boy, I really wanted a catcher's mitt, but my dad wouldn't get it for me. So I held my breath until I pas

Re: Clojure vs Scala - anecdote

2011-09-15 Thread Raoul Duke
On Thu, Sep 15, 2011 at 9:24 AM, Edward Garson wrote: > Native Erlang does have a macro facility, but it is not as powerful as > Lisp/Clojure's. lfe, baby, though of course that is not "native" erlang. -- You received this message because you are subscribed to the Google Groups "Clojure" group.

Re: Clojure vs Scala - anecdote

2011-09-15 Thread Edward Garson
Native Erlang does have a macro facility, but it is not as powerful as Lisp/Clojure's. On Sep 15, 2:15 am, cig wrote: [snip] > In a wide spread environment I think Erlang would be the true winner, > though it does not natively have macros :-( [snip] -- You received this message because you are

Re: Clojure vs Scala - anecdote

2011-09-15 Thread Sean Corfield
On Wed, Sep 14, 2011 at 11:15 PM, cig wrote: > Impressive, wonder if they were running this on a single node or more > widespread? We run an instance of the process on multiple nodes, configured slightly differently. We needed "some" parallelization to improve throughput but didn't need a massive

Re: Clojure vs Scala - anecdote

2011-09-15 Thread cig
Impressive, wonder if they were running this on a single node or more widespread? In a wide spread environment I think Erlang would be the true winner, though it does not natively have macros :-( There is an implementation of Lisp for Erlang called LFE (lisp flavored Erlang) which I looked at, whic

Re: Clojure vs Scala - anecdote

2011-09-13 Thread Laurent PETIT
Oh, it was just one, after all ? Please, don't tell this to my boss :-D 2011/9/13 Meikel Brandmeyer > “Plan to throw one away.” > > -- > 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 >

Re: Clojure vs Scala - anecdote

2011-09-13 Thread Sean Corfield
On Tue, Sep 13, 2011 at 9:48 AM, Nathan Sorenson wrote: > I adore Clojure as well, but could this success not be partially due > to the "reimplementing for the second time" phenomenon? i.e. if you re- > wrote the entire thing in Scala again, perhaps you would see similar > gains in brevity etc? W

Re: Clojure vs Scala - anecdote

2011-09-13 Thread Meikel Brandmeyer
“Plan to throw one away.” -- 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

Re: Clojure vs Scala - anecdote

2011-09-13 Thread Laurent PETIT
Isn't it Brooks who said "you will throw it away at least 3 times", or something like this ? :) 2011/9/13 Nathan Sorenson > I adore Clojure as well, but could this success not be partially due > to the "reimplementing for the second time" phenomenon? i.e. if you re- > wrote the entire thing in S

Re: Clojure vs Scala - anecdote

2011-09-13 Thread Nathan Sorenson
I adore Clojure as well, but could this success not be partially due to the "reimplementing for the second time" phenomenon? i.e. if you re- wrote the entire thing in Scala again, perhaps you would see similar gains in brevity etc? On Sep 6, 10:32 pm, Sean Corfield wrote: > I just wanted to share

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-08 Thread Alex Ott
I've used Apache Commons Daemon in my projects On windows I had following registration .bat to run it as service: @echo off cd /D "$INSTALL_PATH\sbin" SET UHOME=$INSTALL_PATH SET UMAINCLASS=myprog.main SET ULOGDIR=%UHOME%\var\log MKDIR %UHOME%\var\tmp\myprog\ MKDIR %ULOGDIR% %UHOME%\sbin\%PROC

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Tal Liron
On Wednesday, September 7, 2011 1:53:43 PM UTC-5, Marko Kocić wrote: > > Thanks for the tip about jsvc. I'll give it a try. Do you have some script > examples to share, since having Linux service is exactly what I need? I strongly recommend Tanuki's wrapper over jsvc: http://wrapper.tanukisoftw

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Aaron Bedra
On 09/07/2011 02:53 PM, Marko Kocić wrote: Thanks for the tip about jsvc. I'll give it a try. Do you have some script examples to share, since having Linux service is exactly what I need? Thanks, Marko I'll try and put together a few things including the code that implements the interface to

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Marko Kocić
Thanks for the tip about jsvc. I'll give it a try. Do you have some script examples to share, since having Linux service is exactly what I need? Thanks, Marko -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Aaron Bedra
I have used jsvc in the past and found it to be a great tool. It allows you to configure which user the application runs as, and does proper detaching. It allows you to configure output streams and pid files to your liking. I have written some simple init scripts as well to make it very unix ser

Re: Clojure vs Scala - anecdote

2011-09-07 Thread Sean Corfield
On Wed, Sep 7, 2011 at 10:17 AM, Dennis Haupt wrote: > so the scala actors add much more overhead than the clojure equivalent? The main problem is that the current implementation of actors in Scala suffers from known memory leaks and performance problems - problems that are completely addressed b

Re: Clojure vs Scala - anecdote

2011-09-07 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 so the scala actors add much more overhead than the clojure equivalent? Am 07.09.2011 07:32, schrieb Sean Corfield: > I just wanted to share this experience from World Singles... > > Back in November 2009, we started developing with Scala. We needed

Re: Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Bronsa
the lein-daemon plugin seems to do that Il giorno 07/set/2011 16.27, "Marko Kocić" ha scritto: > While we are at this topic, how do you run Clojure deamons. Do you have some > scripts to set it up how? > Is there a simple way to daemonize lein project? > > Regards, > Marko > > -- > You received th

Deamons in Clojure (was Re: Clojure vs Scala - anecdote)

2011-09-07 Thread Marko Kocić
While we are at this topic, how do you run Clojure deamons. Do you have some scripts to set it up how? Is there a simple way to daemonize lein project? Regards, Marko -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: Clojure vs Scala - anecdote

2011-09-07 Thread Luc Prefontaine
Hi, We have been running Clojure daemons 24/7 in prod. since Jan. 2009. We also considered Scala back in 2008. We could not agree more with your conclusions :) Luc P. On Tue, 6 Sep 2011 22:32:47 -0700 Sean Corfield wrote: > I just wanted to share this experience from World Singles... > > Bac

Re: Clojure vs Scala - anecdote

2011-09-06 Thread Ambrose Bonnaire-Sergeant
Thanks for sharing Sean, very interesting! Ambrose -- 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.

Clojure vs Scala - anecdote

2011-09-06 Thread Sean Corfield
I just wanted to share this experience from World Singles... Back in November 2009, we started developing with Scala. We needed a long-running process that published large volumes of changes from our member database as XML packets published to a custom search engine. The mapping from half a dozen

Re: clojure vs scala

2009-08-28 Thread Emeka
e, I just picked a new word 'Rogramming'? Regards, Emeka On Fri, Aug 28, 2009 at 1:30 AM, e wrote: > > > On Thu, Aug 27, 2009 at 9:57 AM, Emeka wrote: > >> e, >> >> What is inspiring in it? >> > > H from time to time, people use percent literacy as a measure of > public intellectual

Re: clojure vs scala

2009-08-27 Thread Timothy Pratley
http://www.pragprog.com/magazines/download/1.pdf Page 16 RH talks about Erlang and Scala vs Clojure in an interview I found it to be a very useful comparison --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" g

Re: clojure vs scala

2009-08-27 Thread e
On Thu, Aug 27, 2009 at 9:57 AM, Emeka wrote: > e, > > What is inspiring in it? > H from time to time, people use percent literacy as a measure of public intellectual health, right? In that case, it's sort of obvious that literacy is a goal. Well, I'm wondering if we need to add a 4t

Re: clojure vs scala

2009-08-27 Thread Fogus
RE (1) --- Agreed on all points. Clojure seems to have captured a large share of excitement and the effort put into the community documentation [1] is staggering and only set to get better. I liken the excitement behind Clojure to that behind Ruby (minus the drama). More and more people are

Re: clojure vs scala

2009-08-27 Thread Emeka
e, What is inspiring in it? Regards, Emeka On Thu, Aug 27, 2009 at 1:44 PM, e wrote: > On Thu, Aug 27, 2009 at 8:43 AM, Stuart Halloway < > stuart.hallo...@gmail.com> wrote: > >> >> As the author of the book, you can bet I have an opinion on the >> quality of the docs. :-) >> >> (1) I think t

Re: clojure vs scala

2009-08-27 Thread e
On Thu, Aug 27, 2009 at 8:43 AM, Stuart Halloway wrote: > > As the author of the book, you can bet I have an opinion on the > quality of the docs. :-) > > (1) I think the documentation for Clojure (website, Mark Volkmann's > long article [1], blog posts, the book [2]) is *insanely* good, given > h

Re: clojure vs scala

2009-08-27 Thread Stuart Halloway
As the author of the book, you can bet I have an opinion on the quality of the docs. :-) (1) I think the documentation for Clojure (website, Mark Volkmann's long article [1], blog posts, the book [2]) is *insanely* good, given how young the language is. But... (2) If you are coming from a

Re: clojure vs scala

2009-08-26 Thread Konrad Hinsen
On 26 Aug 2009, at 22:09, Jon Harrop wrote: >> That is true in principle, but integrating Lisp-style macros and >> compulsory static typing (as opposed to optional type hints) into the >> same language does require some careful thought. I haven't seen >> such a >> combination yet... > > I'm not

Re: clojure vs scala

2009-08-26 Thread Luc Prefontaine
We looked at Scala in summer 2008... we were very tired of data typing in general and OOP (specifically Java). We did not find any comfort in Scala regarding these aspects. Concurrencent processing in Scala did not enthusiast us either. We wanted a significant code compression factor compared to e

Re: clojure vs scala

2009-08-26 Thread e
> For instance, after having read odersky's Scala book. . . if you like > static typing and are looking for a new language, I don't see why you > would choose Scala over Haskell unless you have a strong investment in > java or really like the Lift web framework. Unrestricted use of vars, > for ins

Re: clojure vs scala

2009-08-26 Thread e
> > Listed as a downer for Scala: "Functional programming can be difficult > to understand for a Java developer" - same can be said for Clojure, so > I think it is a similarity but he presents it as a difference. > Wow. All the more reason for a Java developer to mess with it then! After all, Ja

Re: clojure vs scala

2009-08-26 Thread e
On Wed, Aug 26, 2009 at 1:18 AM, ngocdaothanh wrote: > > I think there are a lot of people who need to choose between Clojure > and Scala to study as a "new" language. I must say that both are bad: > * Clojure doc is hard to understand. > * Scala grammar is complicated. > > I prefer Clojure. I thi

Re: clojure vs scala

2009-08-26 Thread Mark Volkmann
On Wed, Aug 26, 2009 at 3:37 PM, Jon Harrop wrote: > > What does "Very clever immutable datastructures" mean? How are Clojure's any > more "clever" than the next implementation? My guess is that he was referring to how the data structures in Clojure are immutable and persistent (meaning that one

Re: clojure vs scala

2009-08-26 Thread Jon Harrop
On Tuesday 25 August 2009 21:43:56 npowell wrote: > On Aug 25, 4:36 pm, Christian Vest Hansen > > wrote: > > I think he misrepresents both Scala and Clojure. > > ... > > Not a super helpful assessment. > > I'd like to hear more. What do you disagree with and why? I think most of the article was

Re: clojure vs scala

2009-08-26 Thread Jon Harrop
On Wednesday 26 August 2009 04:37:58 Alan Busby wrote: > On Wed, Aug 26, 2009 at 5:43 AM, npowell wrote: > > I mean, I didn't think the article was terribly in depth, but a real, > > evenhanded comparison would be enlightening. > > Reducing it further, I'd be interested just to hear more about th

Re: clojure vs scala

2009-08-26 Thread Jon Harrop
On Wednesday 26 August 2009 08:35:49 Konrad Hinsen wrote: > On 26 Aug 2009, at 07:06, Vagif Verdi wrote: > > I fail to see how macros can be contrasted to static typeng. They are > > orthogonal. > > That is true in principle, but integrating Lisp-style macros and > compulsory static typing (as opp

Re: clojure vs scala

2009-08-26 Thread CuppoJava
I didn't find that article particularly helpful, especially since I was facing the exact same decision just a year ago. For me, the difficulty of the language was the ultimate criteria I made me go with Clojure. Relative to Scala, Clojure is quite a bit easier to pickup. It has less syntax rules

Re: clojure vs scala

2009-08-26 Thread cody koeninger
On Aug 26, 5:29 am, Christian Vest Hansen wrote: > Another Scala downer: "Scala is very powerful, some developers might > shoot themselves into the foot" - I don't see how this applies more to > Scala than Clojure. If we want to talk about foot-shooting, we could > talk about macros. There are

Re: clojure vs scala

2009-08-26 Thread ngocdaothanh
> In the meantime this may be helpful: > http://en.wikibooks.org/wiki/Clojure_Programming/Examples/API_Example... Thank you, this is very helpful. > > * Clojure doc is hard to understand. > > Have you seen http://ociweb.com/mark/clojure/article.html? Yes I have, this may be the best Clojure doc

Re: clojure vs scala

2009-08-26 Thread Mark Volkmann
On Wed, Aug 26, 2009 at 12:18 AM, ngocdaothanh wrote: > > I think there are a lot of people who need to choose between Clojure > and Scala to study as a "new" language. I must say that both are bad: > * Clojure doc is hard to understand. Have you seen http://ociweb.com/mark/clojure/article.html?

Re: clojure vs scala

2009-08-26 Thread Sean Devlin
Quick aside: There is now a doc directory in contrib, specifically for usage docs. There should be more examples coming in the future. On Aug 26, 1:18 am, ngocdaothanh wrote: > I think there are a lot of people who need to choose between Clojure > and Scala to study as a "new" language. I mus

Re: clojure vs scala

2009-08-26 Thread Christian Vest Hansen
On Tue, Aug 25, 2009 at 10:43 PM, npowell wrote: > > On Aug 25, 4:36 pm, Christian Vest Hansen > wrote: >> I think he misrepresents both Scala and Clojure. > > ... > > Not a super helpful assessment. > > I'd like to hear more.  What do you disagree with and why? Listed as a downer for Scala: "Fu

Re: clojure vs scala

2009-08-26 Thread Michael Wood
2009/8/26 Konrad Hinsen : > > On 26 Aug 2009, at 07:06, Vagif Verdi wrote: [...] >> Here's and example of statically typed language (liskell) >> with lisp syntax and full blown lisp macros: >> http://blog.clemens.endorphin.org/2009/01/liskell-standalone.html > > ...this site is down at the moment.

Re: clojure vs scala

2009-08-26 Thread Konrad Hinsen
On 26 Aug 2009, at 07:06, Vagif Verdi wrote: > I fail to see how macros can be contrasted to static typeng. They are > orthogonal. That is true in principle, but integrating Lisp-style macros and compulsory static typing (as opposed to optional type hints) into the same language does require

Re: clojure vs scala

2009-08-25 Thread Timothy Pratley
> My wish: There are easy-to-understand examples in API doc. >From another thread I see that the api doc is being automated, so maybe this presents an opportunity to include a new meta tag such as :eg or :example (to allow them to be viewed separately from :doc - or if this is not a good idea may

Re: clojure vs scala

2009-08-25 Thread ngocdaothanh
I think there are a lot of people who need to choose between Clojure and Scala to study as a "new" language. I must say that both are bad: * Clojure doc is hard to understand. * Scala grammar is complicated. I prefer Clojure. I think Clojure feature at this time is OK, thus the decisive point to

Re: clojure vs scala

2009-08-25 Thread Vagif Verdi
On Aug 25, 7:37 pm, Alan Busby wrote: > Reducing it further, I'd be interested just to hear more about the contrast > of static typing versus macros. Which is more beneficial for different > situations and why? I fail to see how macros can be contrasted to static typeng. They are orthogonal. Her

Re: clojure vs scala

2009-08-25 Thread Alan Busby
On Wed, Aug 26, 2009 at 5:43 AM, npowell wrote: > > I mean, I didn't think the article was terribly in depth, but a real, > evenhanded comparison would be enlightening. Reducing it further, I'd be interested just to hear more about the contrast of static typing versus macros. Which is more benef

Re: clojure vs scala

2009-08-25 Thread npowell
On Aug 25, 4:36 pm, Christian Vest Hansen wrote: > I think he misrepresents both Scala and Clojure. ... Not a super helpful assessment. I'd like to hear more. What do you disagree with and why? I think the comparisons are inevitable, and knowing more about both helps developers make good cho

Re: clojure vs scala

2009-08-25 Thread Tom Faulhaber
Plus, his spelling and grammar is atrocious. If you're going to write a blog, proofread what you're writing! (I know this is harder for non-English speakers, but it does make a huge difference to the perceived quality of what you're saying.) On Aug 25, 1:36 pm, Christian Vest Hansen wrote: > I

Re: clojure vs scala

2009-08-25 Thread Christian Vest Hansen
I think he misrepresents both Scala and Clojure. On Tue, Aug 25, 2009 at 7:11 PM, Emeka wrote: > Hello All, > > This sounds great! > > http://codemonkeyism.com/clojure-scala-part-2/ > > > Regards, > Emeka > > > -- Venlig hilsen / Kind regards, Christian Vest Hansen. --~--~-~--~~-

clojure vs scala

2009-08-25 Thread Emeka
Hello All, This sounds great! http://codemonkeyism.com/clojure-scala-part-2/ Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups