Re: Scala/Clojure/F# - Functional Programming Advocates - New York/Chicago/San Fran

2016-02-01 Thread Colin Fleming
usly it won't be taking over from Java (or even Scala) any time soon though. On 2 February 2016 at 16:32, gvim wrote: > Alex > > I was looking at Indeed.com for U.S. FP job stats and I found for "United > States" by title: > > Java: 12,125 > Scala: 336 > Cloj

Re: Scala/Clojure/F# - Functional Programming Advocates - New York/Chicago/San Fran

2016-02-01 Thread gvim
Alex I was looking at Indeed.com for U.S. FP job stats and I found for "United States" by title: Java: 12,125 Scala: 336 Clojure: 28 Considering Clojure 1.0 has been around for nearly 7 years and Scala 2.0 is almost a decade old is it fair to conclude that FP and Clojure in part

Scala/Clojure/F# - Functional Programming Advocates - New York/Chicago/San Fran

2016-02-01 Thread alex
Hey All, I am currently working with some of the worlds most talented FP teams in the US to help them build out there Clojure, F# and Scala teams. If you are looking for a new gig within the Functional Space and want to work alongside some of the best engineers then drop me a line! a

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Mark Engelberg
Most Scala `for` examples translate over to Clojure's `for`. The biggest difference is that Scala produces a collection matching the type of the first generator, whereas Clojure produces a lazy sequence, which you can "pour" into the collection of your choice with `into`. It

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Rastko Soskic
Hi, I am not sure if it will serve point the best but that is what I have received as a koan style problem with Scala solution, now I am trying to comprehend it fully and convert to Clojure. Like I said I am by no means Scala expert. Let's say we have some Val container which is capable to

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Chris Murphy
6, 2015 10:12 PM, "Rastko Soskic" wrote: > Hi, > I am aware of philosophical differences of Scala and Clojure > but functional programming should be a pretty common ground :) > Thus I need help, I am trying to mimic Scala's for comprehension in > Clojure. > >

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Gary Verhaegen
It's a bit hard (at least for me) to see what you're actually trying to do here that would precent a direct translation of your snippet to Clojure's for. Could you perhaps post a complete, self-contained code example in Scala? On Thursday, 26 November 2015, Torsten Uhlmann wrot

Re: Scala for-comprehension to Clojure

2015-11-26 Thread Torsten Uhlmann
most of the time when there are Options in the mix that may or may not hold a value. For binding to generators, Clojures for might be a better fit? https://clojuredocs.org/clojure.core/for Would that help you? Torsten. PS: I'm learning Clojure myself with Scala and Java background. O

Scala for-comprehension to Clojure

2015-11-26 Thread Rastko Soskic
Hi, I am aware of philosophical differences of Scala and Clojure but functional programming should be a pretty common ground :) Thus I need help, I am trying to mimic Scala's for comprehension in Clojure. Hopefully someone will be able to aid me with the following (perhaps more familiar

Re: Lazy fold-right, help with Scala translation

2015-10-08 Thread Elango Cheran
Hi Rastko, I was about to respond with the reverse + reduce answer, but it seems that it was already covered here: https://groups.google.com/forum/#!topic/clojure/MizwTxHwLE4 But there is a more detailed answer about short-circuiting reduce that you might also be interested in (using the function

Re: Lazy fold-right, help with Scala translation

2015-10-08 Thread Rastko Soskic
Posted before finishing :) Thanks in advance for any tip/suggestion. Cheers, R. -- 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

Lazy fold-right, help with Scala translation

2015-10-08 Thread Rastko Soskic
Hi, I have come up this implementation of fold-right in Scala: def foldRight[B](z: => B)(f: (A, => B) => B): B = // Here, arrow => in front of argument means it is arg by name (lazy) and won't be evaluated until required // z - init, f - combining f, and target sequence i

Re: Port of simple Scala match to Clojure core.match

2015-07-18 Thread Rastko Soskic
ice day, > Jon > > > On 16 July 2015 at 23:06, Rastko Soskic > > wrote: > >> Hi, I am getting familiar with Clojure's core.match and >> simply starting with something simple and familar (some Scala match >> expressions) >> and translating that to

Re: Port of simple Scala match to Clojure core.match

2015-07-16 Thread Jonathan Winandy
ply starting with something simple and familar (some Scala match > expressions) > and translating that to core.match variant: > Check out this function which checks whether sequence starts with another: > > def startsWith[A](l: List[A], prefix: List[A]): Boolean = (l,prefix) matc

Port of simple Scala match to Clojure core.match

2015-07-16 Thread Rastko Soskic
Hi, I am getting familiar with Clojure's core.match and simply starting with something simple and familar (some Scala match expressions) and translating that to core.match variant: Check out this function which checks whether sequence starts with another: def startsWith[A](l: List[A], p

Re: Calling an overloaded Scala function

2015-06-26 Thread Stephen Wakely
I want to fully understand what is going on before doing anything. Interestingly if I convert the Java code below to Scala it fails to compile with the same error : def Onk(str: util.ArrayList[String]): String = { println("String") "erk" } def Onk(it: util.ArrayLis

Re: Calling an overloaded Scala function

2015-06-26 Thread Ambrose Bonnaire-Sergeant
Have you considered writing a wrapper method in Scala and calling that? Thanks, Ambrose On Fri, Jun 26, 2015 at 7:24 PM, Stephen Wakely wrote: > Sorry about the double threads - I messed up and thought the original post > didn't go through. > > Looking further into this

Re: Calling an overloaded Scala function

2015-06-26 Thread Stephen Wakely
{ System.out.println("int"); return 0; } This fails to compile : Error:(11, 24) java: name clash: Onk(java.util.ArrayList) and Onk(java.util.ArrayList) have the same erasure This sort of thing doesn't seem to be a problem for Scala, so it must be doing something

Re: Calling an overloaded Scala function

2015-06-25 Thread Ambrose Bonnaire-Sergeant
aring-class com.cra.figaro.language.Dist$, >>> :parameter-types >>> [scala.collection.Seq >>> com.cra.figaro.language.Name >>> com.cra.figaro.language.ElementCollection], >>> :exception-types [], >>> :flags #{:public}} >>> >

Re: Calling an overloaded Scala function

2015-06-25 Thread Ambrose Bonnaire-Sergeant
gt;> :parameter-types >> [scala.collection.Seq >> com.cra.figaro.language.Name >> com.cra.figaro.language.ElementCollection], >> :exception-types [], >> :flags #{:public}} >> >> >> On Thu, Jun 25, 2015 at 9:05 PM Stuart Sierra &l

Re: Calling an overloaded Scala function

2015-06-25 Thread Stephen Wakely
com.cra.figaro.language.ElementCollection], > :exception-types [], > :flags #{:public}} > > > On Thu, Jun 25, 2015 at 9:05 PM Stuart Sierra > wrote: > >> Scala has to compile down to JVM bytecode just like Clojure, but it may >> change method signat

Re: Calling an overloaded Scala function

2015-06-25 Thread Stephen Wakely
com.cra.figaro.language.Name com.cra.figaro.language.ElementCollection], :exception-types [], :flags #{:public}} On Thu, Jun 25, 2015 at 9:05 PM Stuart Sierra wrote: > Scala has to compile down to JVM bytecode just like Clojure, but it may > change method signatures along the way. > > Y

Re: Calling an overloaded Scala function

2015-06-25 Thread Stephen Wakely
I am sadly quite clueless when it comes to Java. De-compiling the Scala class file to Java gives me the following: public AtomicDist apply(Seq>> clauses, Name name, ElementCollection collection) { return new AtomicDist(name, clauses.toList(), collection); }

Re: Calling an overloaded Scala function

2015-06-25 Thread Stuart Sierra
Scala has to compile down to JVM bytecode just like Clojure, but it may change method signatures along the way. You could try running `javap` to disassemble the compiled Scala bytecode and figure out what the method signatures actually are. Or use Java reflection to examine the objects you

Re: Calling an overloaded Scala function

2015-06-25 Thread Ambrose Bonnaire-Sergeant
Fingerhut > wrote: > >> Sorry, I do not know whether Clojure can or cannot determine the correct >> overload in this situation. >> >> All I have is a weak suggestion that work well enough: have you >> considered creating wrapper functions, e.g. in Scala or Java, that

Re: Calling an overloaded Scala function

2015-06-25 Thread Stephen Wakely
d > creating wrapper functions, e.g. in Scala or Java, that have different > enough function signatures that Clojure can easily determine the correct > one? > > Andy > > On Thu, Jun 25, 2015 at 1:54 AM, Stephen Wakely > wrote: > >> I am trying to call into

Re: Calling an overloaded Scala function

2015-06-25 Thread Andy Fingerhut
Sorry, I do not know whether Clojure can or cannot determine the correct overload in this situation. All I have is a weak suggestion that work well enough: have you considered creating wrapper functions, e.g. in Scala or Java, that have different enough function signatures that Clojure can easily

Calling an overloaded Scala function

2015-06-25 Thread Stephen Wakely
I am trying to call into some Scala that has the following overloaded methods : def apply[T](clauses: (Double, Element[T])*)(implicit name: Name[T], collection: ElementCollection) = new AtomicDist(name, clauses.toList, collection) def apply[T](clauses: (Element[Double], Element[T

Calling an overloaded Scala function

2015-06-23 Thread Stephen Wakely
I am trying to call into some Scala that has the following overloaded methods : def apply[T](clauses: (Double, Element[T])*)(implicit name: Name[T], collection: ElementCollection) = new AtomicDist(name, clauses.toList, collection) def apply[T](clauses: (Element[Double], Element[T

[ANN] from-scala 0.2.0: An experimental Scala interop library for Clojure

2015-03-09 Thread Tobias Kortkamp
Hi, I would like to announce from-scala, an experimental Scala interop library for Clojure. Its main feature is the $-macro, a version of Clojure's .-form. The $-macro uses Java reflection and a series of heuristics, so that you will be able to write code

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Mark Engelberg
On Mon, Dec 16, 2013 at 12:30 PM, Guru Devanla wrote: > Hi Mark, > > A few questions: > > 1. The point you raise regarding declaring case classes is inherent to the > typed nature of Scala, correct? Can that be pointed to as valid strength of > Clojure. Since, we are compar

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Guru Devanla
Hi Mark, A few questions: 1. The point you raise regarding declaring case classes is inherent to the typed nature of Scala, correct? Can that be pointed to as valid strength of Clojure. Since, we are comparing static vs dynamic typing here. 2. I am not super familiar with Scale, but I am

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Mark Engelberg
I think you're right that all or nearly all of the functional aspects of Clojure have counterparts in Scala. On top of that, Scala provides mutable flavors of everything, so you can pick and choose your approach. So that makes Scala better, right? But the difference between Clojure and Sca

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Softaddicts
The url should have been this one: http://rotpier27.files.wordpress.com/2012/01/chimc3a8re.jpg }^}%}%}{[+{^ iPhone screen... too small for my big fingers... > In 2008 I was reviewing options, > we had to move away from Java. > > I choose Clojure rather than Scala, > I fo

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Luc Prefontaine
In 2008 I was reviewing options, we had to move away from Java. I choose Clojure rather than Scala, I found Scala quite confusing. Attempts to pour in FP notions in an OO language looked too me as an attempt to transplant a fifth limb to a four limb made body. Since then I had a few discussions

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Phillip Lord
The problem with this question is that Functional Programming means many different things to different people. If we define FP negatively (i.e. the language does not allow anything other than pure functions), then neither Scala or Clojure are FP. I would side here with Doug Hoyte's Let

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Cedric Greevey
So, in other words, like most "which is the best programming language?" questions, the answer to this one is "It depends". :) On Mon, Dec 16, 2013 at 5:31 AM, Эльдар Габдуллин wrote: > Clojure targets multiple platforms, Scala - one. > > Clojure is Lisp. That

Re: Is Clojure more functional then Scala?

2013-12-16 Thread Эльдар Габдуллин
Clojure targets multiple platforms, Scala - one. Clojure is Lisp. That means almost any programming paradigm/DSL is just a library. But if you are interested in FP per se, I think Scala illustrates it better. With strong type system, pattern matching it's much closer to Haskell, which i

Re: Is Clojure more functional then Scala?

2013-12-15 Thread Robin Heggelund Hansen
The reason Clojure "supports you better" is that Clojure doesn't really give you an alternative. Scala is BOTH OO and FP, Clojure is only FP. The "problem" with Scala is that if you come from an OO language, Scala doesn't force you to use FP concepts, sure it'

Is Clojure more functional then Scala?

2013-12-15 Thread John Kida
I jumped on the FP bandwagon over a year ago and have been using Scala both at work and for personal interest. Recently however I decided to take a closer look at Clojure and see if it is something i actually like. I have to admit at first the syntax form was awkward, but im starting to really

Re: Scala interop (or, aliasing imported Java classes)

2013-11-03 Thread Sean Corfield
That would need quoting wouldn't it? (import '(the.java.package {Clazz1 Alias1 Clazz2 Alias2} Clazz3)) or: (import '(the.java.package Clazz1 Clazz2 Clazz3 :rename {Clazz1 Alias1 Clazz2 Alias2})) On Sun, Nov 3, 2013 at 11:22 AM, Sean Corfield wrote: > Perhaps a small extension to (impor

Re: Scala interop (or, aliasing imported Java classes)

2013-11-03 Thread Sean Corfield
Perhaps a small extension to (import ..) is warranted then, since the underlying machinery seems to support aliases? (import [the.java.package {Clazz1 Alias1 Clazz2 Alias2} Clazz3]) or, maybe more in keeping with require: (import [the.java.package Clazz1 Clazz2 Clazz3 :rename {Clazz1 Ali

Re: Scala interop (or, aliasing imported Java classes)

2013-11-03 Thread Marshall Bockrath-Vandegrift
Mark writes: > I think my preferred solution would be to allow imported Java classes > to be aliased, so I could do this: > >> (import '(org.fooinstitute.team.library.foo package :as foop)) > => org.fooinstitute.team.library.foo.package >> (foop/isFoo "foop") > => false > > But to the best of my

Re: Scala interop (or, aliasing imported Java classes)

2013-11-01 Thread Michael Blume
ember 1, 2013 1:40:41 PM UTC-7, Mark wrote: > > At work, we're primarily a Scala shop, but I've been writing some small > Clojure utilities to handle quick tasks here and there (stuff I'd written > in Python previously). I was hoping to make use of some of the Scala

Re: Scala interop (or, aliasing imported Java classes)

2013-11-01 Thread Plínio Balduino
:as juc) LinkedBlockingQueue > ReadWriteLock)) > > (def my-queue (juc/LinkedBlockingQueue.)) > > Most useful with conflicting class names, e.g. java.util.Date and > javax.sql.Date: > > UDate vs. SDate > > u/Date vs. s/Date > > etc. > > > > On Fri, Nov

Re: Scala interop (or, aliasing imported Java classes)

2013-11-01 Thread Cedric Greevey
ost useful with conflicting class names, e.g. java.util.Date and javax.sql.Date: UDate vs. SDate u/Date vs. s/Date etc. On Fri, Nov 1, 2013 at 4:40 PM, Mark wrote: > At work, we're primarily a Scala shop, but I've been writing some small > Clojure utilities to handle quick t

Scala interop (or, aliasing imported Java classes)

2013-11-01 Thread Mark
At work, we're primarily a Scala shop, but I've been writing some small Clojure utilities to handle quick tasks here and there (stuff I'd written in Python previously). I was hoping to make use of some of the Scala libraries we'd already written, but I ran into an Java/Sc

fast numerics in Scala...

2013-05-01 Thread Jim
I enjoyed watching this so I thought I'd share... http://www.infoq.com/presentations/Scala-Spire Jim -- -- 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 f

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
, which does have macros and a real engine underneath. But clojure is an awesome combination On Sep 7, 7:32 am, Sean Corfield wrote: > I just wanted to share this experience from World Singles... > > Back in November 2009, we started developing with Scala. We needed a > long-running

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 >

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
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 this experience from World Singles... > > > > Back in November 2009, we started developing with Sca

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 j

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 addres

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.

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 Sing

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

Intresting project....Ozma: extending Scala with Oz concurrency

2011-07-01 Thread Base
Found at: http://lambda-the-ultimate.org/node/4300 Scala ported to run on the Mozart VM. -- 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

Re: HPC in scala ..

2011-01-18 Thread Myriam Abramson
appen. >> >> The brains, yes, but not the academic infrastructure. Scala is based at >> EPFL, and the work on parallel programming is done in collaboration with >> Stanford. That makes all of a difference when applying for funding in the >> academic world, such as the ER

Re: HPC in scala ..

2011-01-18 Thread Tim Daly
On 18 Jan, 2011, at 17:37 , cej38 wrote: I think the clojure community should be seeking the type of funding to make it the goto language for HPC. As a community we definitely have the brains to make it happen. The brains, yes, but not the academic infrastructure. Scala is based at EPFL

Re: HPC in scala ..

2011-01-18 Thread cej38
 As a community we definitely have > > the brains to make it happen. > > The brains, yes, but not the academic infrastructure. Scala is based at EPFL, > and the work on parallel programming is done in collaboration with Stanford. > That makes all of a difference when applying for fu

Re: HPC in scala ..

2011-01-18 Thread Tim Daly
On 18 Jan, 2011, at 17:37 , cej38 wrote: I think the clojure community should be seeking the type of funding to make it the goto language for HPC. As a community we definitely have the brains to make it happen. The brains, yes, but not the academic infrastructure. Scala is based at EPFL

Re: HPC in scala ..

2011-01-18 Thread Konrad Hinsen
the article is that the DSLs are compiled to something that may or may not be JVM bytecode (one example compiles to C++) and that the DSL code doesn't "know" that its compiler is written in Scala. A programmer who does know may resort to tricks such as you describe, but it is a

Re: HPC in scala ..

2011-01-18 Thread Konrad Hinsen
On 18 Jan, 2011, at 17:37 , cej38 wrote: > I think the clojure community should be seeking the type of funding to > make it the goto language for HPC. As a community we definitely have > the brains to make it happen. The brains, yes, but not the academic infrastructure. Scala is base

Re: HPC in scala ..

2011-01-18 Thread cej38
I think the clojure community should be seeking the type of funding to make it the goto language for HPC. As a community we definitely have the brains to make it happen. While I am not enough of a computer scientist to be able to contribute to the development, I am willing to help write proposals

Re: HPC in scala ..

2011-01-18 Thread Tim Daly
even that would probably be less work to implement than what it takes to make Scala "virtualizable". However, I do believe that Scala has a better chance of being accepted as a DSL hosting language for "mass-market" parallel computing, because it has familiar syntax. Sig

Re: HPC in scala ..

2011-01-18 Thread Konrad Hinsen
oach. More protection would require a DSL-specific reader that checks for namespace-qualified symbols and disallows arbitrary imports. But even that would probably be less work to implement than what it takes to make Scala "virtualizable". However, I do believe that Scala has a be

Re: HPC in scala ..

2011-01-17 Thread Tim Daly
Hello Everybody, not directly related to clojure .. but it is interesting to know that scala people got a huge funding to further the state of the art in HPC... http://www.scala-lang.org/node/8579 Sunil. -- You received this message because you are subscribed to the Google Groups "Cl

Re: HPC in scala ..

2011-01-17 Thread Tim Daly
Hello Everybody, not directly related to clojure .. but it is interesting to know that scala people got a huge funding to further the state of the art in HPC... http://www.scala-lang.org/node/8579 Sunil. -- You received this message because you are subscribed to the Google Groups "Cl

HPC in scala ..

2011-01-17 Thread Sunil S Nandihalli
Hello Everybody, not directly related to clojure .. but it is interesting to know that scala people got a huge funding to further the state of the art in HPC... http://www.scala-lang.org/node/8579 Sunil. -- You received this message because you are subscribed to the Google Groups "Cl

Re: Reusing Clojure libraries in Java/Jythom/Scala

2010-11-29 Thread Dilvan
Hi, From today, I will not receive updates from this group, so if anyone cares to answer this question, please send me an email: dil...@gmail.com. I do think that this is an important question to many people that liked a lot the Clojure concurrency model but cannot use Clojure in their day t

Reusing Clojure libraries in Java/Jythom/Scala

2010-11-22 Thread Dilvan
Hi, During the discussions of the topic "Jython Interoperability problem", Mikhail Kryshen suggested implementations of Clojure data structures outside Clojure: >Clojure's data structures modified for use outside of Clojure: >http://github.com/krukow/clj-ds >Persistent analogue of the Java

Re: scala

2010-06-24 Thread Saul Hazledine
On Jun 18, 11:56 pm, cageface wrote: > > Unfortunately there seems to be a lot more commercial momentum for > Scala though. It's still a blip compared to the mainstream languages > but I'm seeing more and more job posts mentioning it, and hardly any > for Clojure. I d

Re: scala

2010-06-19 Thread nickikt
For such a young language it has a big momentum. Did Scala have that after 2 years? On 18 Jun., 23:56, cageface wrote: > Quick disclaimer - there are a lot of things I like in Scala and I > think Odersky & crew have done some very impressive work bringing > functional language conce

Re: scala

2010-06-18 Thread RandyHudson
Bear in mind that Scala is about 5 years older than Clojure, so it's had more time to build up momentum. On Jun 18, 5:56 pm, cageface wrote: > Unfortunately there seems to be a lot more commercial momentum for > Scala though. It's still a blip compared to the mainstream lan

Re: scala

2010-06-18 Thread Mark Engelberg
I've spent a number of years looking for a functional programming language suitable for the kind of work I do. evaluating Clojure, Haskell, Erlang, Scala, F#, Mozart, ML, Clean, Racket, and probably some others I'm not thinking about right now. For me, once Clojure hit 1.0 status, it w

scala

2010-06-18 Thread cageface
Quick disclaimer - there are a lot of things I like in Scala and I think Odersky & crew have done some very impressive work bringing functional language concepts to the VM and giving Java developers a path forward. I also don't think Clojure vs x language battles are very productive and d

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-17 Thread Keith Irwin
avel? There's plenty of good food right here, and interesting cultural sites to see, and stuff to buy. But you don't ask that question: you just go, and FIND OUT why it was worth doing after the fact. (Or maybe not.) Still. My take: 1. Clojure is dynamic like Groovy, and functional lik

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-17 Thread Mike Meyer
On Fri, Jan 15, 2010 at 8:22 PM, Julian wrote: > Matt Raible - Spring Expert and Java consultant posted the following > entry to Twitter: > "Why is Clojure better than Scala or Groovy?" How about two reasons to learn Clojure instead? 1) Clojure is (a) LISP. According to Eri

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-16 Thread Jon Harrop
On Saturday 16 January 2010 18:10:15 Shantanu Kumar wrote: > The best benefit of Clojure is, I think, the power-to-weight ratio. That's a really good description for a low barrier to entry. :-) -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e -- You received this m

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-16 Thread Laurent PETIT
Raible - Spring Expert and Java consultant posted the following >> entry to Twitter: >> "Why is Clojure better than Scala or >> Groovy?"http://twitter.com/mraible/status/7793457551 >> >> He went on to say: >> "Let's try that again:

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-16 Thread Shantanu Kumar
On Jan 16, 6:22 am, Julian wrote: > Matt Raible - Spring Expert and Java consultant posted the following > entry to Twitter: > "Why is Clojure better than Scala or > Groovy?"http://twitter.com/mraible/status/7793457551 > > He went on to say: > "Let's tr

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-16 Thread Chouser
On Fri, Jan 15, 2010 at 8:22 PM, Julian wrote: > Matt Raible - Spring Expert and Java consultant posted the following > entry to Twitter: > "Why is Clojure better than Scala or Groovy?" If I had to pick just one specific feature (which may be a bad way to going about answeri

Re: Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-16 Thread Rich Hickey
On Fri, Jan 15, 2010 at 8:22 PM, Julian wrote: > Matt Raible - Spring Expert and Java consultant posted the following > entry to Twitter: > "Why is Clojure better than Scala or Groovy?" > http://twitter.com/mraible/status/7793457551 > > He went on to say: > "Le

Matt Raible: "Why is Clojure better than Scala or Groovy?"

2010-01-16 Thread Julian
Matt Raible - Spring Expert and Java consultant posted the following entry to Twitter: "Why is Clojure better than Scala or Groovy?" http://twitter.com/mraible/status/7793457551 He went on to say: "Let's try that again: I like Scala and Groovy and see no compelling reason to

Re: java/scala oneliner

2009-09-18 Thread Timothy Pratley
> >> :( > > >> map is lazy, so you'll need to wrap it in doall > > >> (dotimes [i 4] (println "Happy Birthday" ({2 "Dear XXX"} i "To You"))) > > >> On Thu, Sep 17, 2009 at 9:17 PM, David Nolen > >&g

Re: java/scala oneliner

2009-09-17 Thread Adrian Cuthbertson
] (println "Happy Birthday" ({2 "Dear XXX"} i "To You"))) >> >> On Thu, Sep 17, 2009 at 9:17 PM, David Nolen >> wrote: >> > Actually to be fair, here's a Clojure version that uses as little >> > whitespace >> > as the Sc

  1   2   >