Re: [Rd] Julia

2012-03-08 Thread oliver
h 08, 2012 2:23 PM > > To: William Dunlap > > Cc: R-devel > > Subject: Re: [Rd] Julia > > > > I don't think that using in-place modification as a general property would > > make > > sense. > > > > In-place modification brings in side-effe

Re: [Rd] Julia

2012-03-08 Thread William Dunlap
of easily reusable functions that S allows. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: oliver [mailto:oli...@first.in-berlin.de] > Sent: Thursday, March 08, 2012 2:23 PM > To: William Dunlap > Cc: R-devel > Subject: Re: [Rd] Julia

Re: [Rd] Julia

2012-03-08 Thread oliver
. My point was that a function, say > > > > cos(), can act like it does call-by-value but conserve memory when > > > > it can if it can distinguish between the case > > > > cx <- cos(x=runif(n)) # no allocation needed, use the input > > > > space for th

Re: [Rd] Julia

2012-03-08 Thread William Dunlap
functions (hence packages) difficult. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: oliver [mailto:oli...@first.in-berlin.de] > Sent: Thursday, March 08, 2012 7:40 AM > To: William Dunlap > Cc: R-devel > Subject: Re: [Rd] Julia >

Re: [Rd] Julia

2012-03-08 Thread oliver
needs to know if a memory block is referred to by a name in > > any environment > > in order to do that. > > > > Bill Dunlap > > Spotfire, TIBCO Software > > wdunlap tibco.com > > > > > -Original Message- > > > From: oliver [

Re: [Rd] Julia

2012-03-08 Thread oliver
lin.de] > > Sent: Wednesday, March 07, 2012 10:22 AM > > To: Dominick Samperi > > Cc: William Dunlap; R-devel > > Subject: Re: [Rd] Julia > > > > On Tue, Mar 06, 2012 at 12:49:32PM -0500, Dominick Samperi wrote: > > > On Tue, Mar 6, 2012 at 11:44 AM,

Re: [Rd] Julia

2012-03-07 Thread William Dunlap
do that. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: oliver [mailto:oli...@first.in-berlin.de] > Sent: Wednesday, March 07, 2012 10:22 AM > To: Dominick Samperi > Cc: William Dunlap; R-devel > Subject: Re: [Rd] Julia > > On

Re: [Rd] Julia

2012-03-07 Thread oliver
On Tue, Mar 06, 2012 at 12:49:32PM -0500, Dominick Samperi wrote: > On Tue, Mar 6, 2012 at 11:44 AM, William Dunlap wrote: > > S (and its derivatives and successors) promises that functions > > will not change their arguments, so in an expression like > >   val <- func(arg) > > you know that arg w

Re: [Rd] Julia

2012-03-07 Thread oliver
On Wed, Mar 07, 2012 at 10:31:14AM -0500, Dominick Samperi wrote: > On Tue, Mar 6, 2012 at 3:56 AM, oliver wrote: > > On Mon, Mar 05, 2012 at 04:54:05PM -0800, Nicholas Crookston wrote: > >> There are many experts on this topic.  I'll keep this short. > >> > >> Newer Fortran Languages allow for ca

Re: [Rd] Julia

2012-03-07 Thread Dominick Samperi
On Tue, Mar 6, 2012 at 3:56 AM, oliver wrote: > On Mon, Mar 05, 2012 at 04:54:05PM -0800, Nicholas Crookston wrote: >> There are many experts on this topic.  I'll keep this short. >> >> Newer Fortran Languages allow for call by value, but call by reference >> is the typical and historically, the o

Re: [Rd] Julia

2012-03-07 Thread Nicholas Crookston
There are many experts on this topic. I'll keep this short. Newer Fortran Languages allow for call by value, but call by reference is the typical and historically, the only approach (there was a time when you could change the value of 1 to 2!). C "only" calls by value except that the value can b

Re: [Rd] Julia

2012-03-06 Thread Dominick Samperi
unlap > Spotfire, TIBCO Software > wdunlap tibco.com > >> -Original Message- >> From: oliver [mailto:oli...@first.in-berlin.de] >> Sent: Tuesday, March 06, 2012 1:12 AM >> To: William Dunlap >> Cc: Hervé Pagès; R-devel >> Subject: Re: [Rd] Ju

Re: [Rd] Julia

2012-03-06 Thread William Dunlap
; -Original Message- > From: oliver [mailto:oli...@first.in-berlin.de] > Sent: Tuesday, March 06, 2012 1:12 AM > To: William Dunlap > Cc: Hervé Pagès; R-devel > Subject: Re: [Rd] Julia > > On Tue, Mar 06, 2012 at 12:35:32AM +, William Dunlap wrote: > [...] >

Re: [Rd] Julia

2012-03-06 Thread oliver
On Tue, Mar 06, 2012 at 12:35:32AM +, William Dunlap wrote: [...] > I find R's (& S+'s & S's) copy-on-write-if-not-copying-would-be-discoverable- > by-the-uer machanism for giving the allusion of pass-by-value a good way > to structure the contract between the function writer and the function u

Re: [Rd] Julia

2012-03-06 Thread oliver
On Mon, Mar 05, 2012 at 07:33:10PM -0500, Duncan Murdoch wrote: > On 12-03-05 6:58 PM, Hervé Pagès wrote: > >Hi Oliver, > > > >On 03/05/2012 09:08 AM, oliver wrote: > >>On Mon, Mar 05, 2012 at 03:53:28PM +, William Dunlap wrote: > >>>I haven't used Julia yet, but from my quick reading > >>>of t

Re: [Rd] Julia

2012-03-06 Thread oliver
On Mon, Mar 05, 2012 at 04:54:05PM -0800, Nicholas Crookston wrote: > There are many experts on this topic. I'll keep this short. > > Newer Fortran Languages allow for call by value, but call by reference > is the typical and historically, the only approach (there was a time > when you could chan

Re: [Rd] Julia

2012-03-05 Thread William Dunlap
rom: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On > Behalf Of Hervé Pagès > Sent: Monday, March 05, 2012 3:59 PM > To: oliver > Cc: R-devel > Subject: Re: [Rd] Julia > > Hi Oliver, > > On 03/05/2012 09:08 AM, oliver wrote: > > On Mon, Mar

Re: [Rd] Julia

2012-03-05 Thread Duncan Murdoch
On 12-03-05 6:58 PM, Hervé Pagès wrote: Hi Oliver, On 03/05/2012 09:08 AM, oliver wrote: On Mon, Mar 05, 2012 at 03:53:28PM +, William Dunlap wrote: I haven't used Julia yet, but from my quick reading of the docs it looks like arguments to functions are passed by reference and not by value

Re: [Rd] Julia

2012-03-05 Thread oliver
On Mon, Mar 05, 2012 at 03:58:59PM -0800, Hervé Pagès wrote: > Hi Oliver, > > On 03/05/2012 09:08 AM, oliver wrote: > >On Mon, Mar 05, 2012 at 03:53:28PM +, William Dunlap wrote: > >>I haven't used Julia yet, but from my quick reading > >>of the docs it looks like arguments to functions are >

Re: [Rd] Julia

2012-03-05 Thread Hervé Pagès
Hi Oliver, On 03/05/2012 09:08 AM, oliver wrote: On Mon, Mar 05, 2012 at 03:53:28PM +, William Dunlap wrote: I haven't used Julia yet, but from my quick reading of the docs it looks like arguments to functions are passed by reference and not by value, so functions can change their arguments

Re: [Rd] Julia

2012-03-05 Thread oliver
On Mon, Mar 05, 2012 at 03:53:28PM +, William Dunlap wrote: > I haven't used Julia yet, but from my quick reading > of the docs it looks like arguments to functions are > passed by reference and not by value, so functions > can change their arguments. My recollection from when > I first starte

Re: [Rd] Julia

2012-03-05 Thread William Dunlap
g [mailto:r-devel-boun...@r-project.org] On > Behalf Of oliver > Sent: Friday, March 02, 2012 5:14 PM > To: Douglas Bates > Cc: R-devel > Subject: Re: [Rd] Julia > > On Thu, Mar 01, 2012 at 11:06:51AM -0600, Douglas Bates wrote: > > My purpose in mentioning the Julia langu

Re: [Rd] Julia

2012-03-02 Thread oliver
On Thu, Mar 01, 2012 at 11:06:51AM -0600, Douglas Bates wrote: > My purpose in mentioning the Julia language (julialang.org) here is > not to start a flame war. I find it to be a very interesting > development and others who read this list may want to read about it > too. [...] Very interesting

Re: [Rd] Julia

2012-03-01 Thread Ted Harding
http://julialang.org/blog Then click on "Stanford Talk Video". Then click on "available here". Ted. On 01-Mar-2012 Kjetil Halvorsen wrote: > Can somebody postb a link to the video? I cant find it, searching > "Julia" on youtube stanford channel gives nothing. > > Kjetil > > On Thu, Mar 1, 2012

Re: [Rd] Julia

2012-03-01 Thread Kjetil Halvorsen
Can somebody postb a link to the video? I cant find it, searching "Julia" on youtube stanford channel gives nothing. Kjetil On Thu, Mar 1, 2012 at 11:37 AM, Douglas Bates wrote: > On Thu, Mar 1, 2012 at 11:20 AM, Jeffrey Ryan > wrote: >> Doug, >> >> Agreed on the interesting point - looks like

Re: [Rd] Julia

2012-03-01 Thread Douglas Bates
On Thu, Mar 1, 2012 at 11:20 AM, Jeffrey Ryan wrote: > Doug, > > Agreed on the interesting point - looks like it has some real promise. >  I think the spike in interest could be attributable to Mike > Loukides's tweet on Feb 20. (editor at O'Reilly) > > https://twitter.com/#!/mikeloukides/status/1

Re: [Rd] Julia

2012-03-01 Thread Jeffrey Ryan
Doug, Agreed on the interesting point - looks like it has some real promise. I think the spike in interest could be attributable to Mike Loukides's tweet on Feb 20. (editor at O'Reilly) https://twitter.com/#!/mikeloukides/status/171773229407551488 That is exactly the moment I stumbled upon it.