R vs. Julia

  • April 18, 2012 · 6:30 PM
  • This location is shown only to members

Thanks to Yeng, we have a meeting at Zillow this month.  I am working on a brief intro and comparison between R and Julia, a relatively new language that is gaining a lot of traction in the statistical computing community.  If you are also interested in presenting, let me know and we can work together on this.


Key details:

·        We can accommodate 60+ guests.

·        We’ll setup the projector with a laptop.

·        We’ll provide food.

.        We'll provide vouchers for your cars parking in the Rusell Center garage valid from the evening starting at 5PM.

Join or login to comment.

  • Alex Z.

    @Tommy: when n large, fib(n) ~ exp(a*n), so fib.fast(10000)= Inf.
    If we do not want to use explicit equation for fib(), we could rewrite your algo, using La= log(a), and so on. Then

    fib.fastL <- compiler::cmpfun( function(n) { La=0; Lb=0; for(i in seq_len(n)) { Lc=La+log(1+exp(Lb-La));
    La=Lb; Lb=Lc }; Lb } );
    system.time(x<- fib.fastL(10000)) # 0.0s
    x # user system elapsed
    # 0.02 0.00 0.02
    # [1] 4812

    April 29, 2012

  • Tommy F.

    Great meeting, thanks a lot!

    I have no doubt Julia will be a fast & useful language at some point. We'll just have to see if it gains popularity or not.

    Couldn't resist posting faster fibonacci R code though ;-)

    fib.rec <- compiler::cmpfun( function(n) if (n > 1) Recall(n-1) + Recall(n-2) else n )

    system.time(fib.rec(30)) # 2.74s

    fib.fast <- compiler::cmpfun( function(n) { a=1; b=0; for(i in seq_len(n)) { c=a+b; a=b; b=c }; b } )

    system.time(fib.fast(10000)) # 0.0s

    1 · April 19, 2012

  • Berkeley C. M.

    Sorry for the crappy formatting. :)

    April 18, 2012

  • Berkeley C. M.

    Yes, thanks for the great talk and hospitality.

    For those interested in the "why" of Julia, check this out:

    Also, here's the MS talk I mentioned to a few of you:

    Finally, builds of Julia to play with (incl. Windows):

    Looking forward to future meetings.


    April 18, 2012

  • Alex Z.

    Thanks Zach and Zillowers,
    Very interesting!

    April 18, 2012

  • John G.

    Thanks Zach & Yeng (and Zillow). Great meeting!

    April 18, 2012

35 went

Our Sponsors

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more

I'm surpris ed by the level of growth I've seen since becoming an organizer, it's given me more confidence in my abilities.

Katie, started NYC ICO

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy