[Ilugc] Julia, I Love You

40 views
Skip to first unread message

Shrinivasan T

unread,
Apr 2, 2012, 12:46:17 AM4/2/12
to ILUG-C
Julia is a new language for scientific computing that is winning
praise from a slew of very smart people, including Harlan Harris,
Chris Fonnesbeck, Douglas Bates, Vince Buffalo and Shane Conway. As a
language, it has lofty design goals, which, if attained, will make it
noticeably superior to Matlab, R and Python for scientific
programming. In the core development team’s own words:

We want a language that’s open source, with a liberal license. We
want the speed of C with the dynamism of Ruby. We want a language
that’s homoiconic, with true macros like Lisp, but with obvious,
familiar mathematical notation like Matlab. We want something as
usable for general programming as Python, as easy for statistics as R,
as natural for string processing as Perl, as powerful for linear
algebra as Matlab, as good at gluing programs together as the shell.
Something that is dirt simple to learn, yet keeps the most serious
hackers happy. We want it interactive and we want it compiled.

Read more at: http://www.r-bloggers.com/julia-i-love-you/

http://julialang.org/


--
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Kingsley G. Morse Jr.

unread,
Apr 2, 2012, 1:08:41 AM4/2/12
to Shrinivasan T, ILUG-C
I like "j".

It's open source, good with arrays, elegant, and so
concise that it can improve programmer
productivity about 10x.

For example, you can write a really small function
to calculate the average of a list of numbers:

$ avg=: +/ % #

Run it with

$ avg 1 2 3 4
2.5

It's like apl with a normal keyboard.

http://en.wikipedia.org/wiki/J_%28programming_language%29

Thanks,
Kingsley

Girish Venkatachalam

unread,
Apr 2, 2012, 1:49:00 AM4/2/12
to ILUG-C
What crappy subject?

I thought it was a virus. ;)

-Girish

--
G3 Tech
Networking appliance company
web: http://g3tech.in  mail: gir...@g3tech.in

Yogesh Girikumar

unread,
Apr 2, 2012, 1:56:12 AM4/2/12
to ILUG-C
On 2 April 2012 11:19, Girish Venkatachalam
<girishven...@gmail.com>wrote:

> What crappy subject?
>
> I thought it was a virus. ;)
>

I was going to spam it ! :) Another programming language.. *sigh*

--
Y

Warren Howard

unread,
Apr 2, 2012, 2:00:25 AM4/2/12
to il...@ae.iitm.ac.in
On 02/04/12 11:26 AM, Yogesh Girikumar wrote:
> On 2 April 2012 11:19, Girish Venkatachalam
> <girishven...@gmail.com>wrote:
>
>> What crappy subject?
>>
>> I thought it was a virus. ;)
>>
> I was going to spam it ! :) Another programming language.. *sigh*
>
>
Just 24 hours earlier you could have written the whole thing off as an
April Fools joke...

Shrinivasan T

unread,
Apr 2, 2012, 2:19:56 AM4/2/12
to ILUG-C
>>
>>> What crappy subject?
>>>
>>> I thought it was a virus. ;)
>>>
>> I was going to spam it ! :) Another programming language.. *sigh*

Just wondered to see the benchmark chart here.

http://julialang.org/

It may be useful when high performance is the requirement.

--
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge

Arun Venkataswamy

unread,
Apr 2, 2012, 2:34:34 AM4/2/12
to ILUG-C
On Mon, Apr 2, 2012 at 11:49 AM, Shrinivasan T <tshrin...@gmail.com>wrote:

> Just wondered to see the benchmark chart here.
> http://julialang.org/
>
>

It's nice.
Thanks for the link.

On a side note, never knew JavaScript was so incredible in performance!

Regards,
Arun

Arun Venkataswamy

unread,
Apr 2, 2012, 2:49:10 AM4/2/12
to ILUG-C
On Mon, Apr 2, 2012 at 11:49 AM, Shrinivasan T <tshrin...@gmail.com>wrote:

> http://julialang.org/
> It may be useful when high performance is the requirement.
>
>

Not just performance, it is also damn good in `readable` code

The subtle connection of this sample code in their page to their namesake
`Julia`(sets) is super cool :)
Julia sets are curves/point sets in fractal planes (planes with fractal
dimensions - how cool is a 2.46 dimension - A human mind can only interpret
integer dimensions, this is 1D, 2D and 3D spaces) which satisfies a
limiting function.
That limiting function is:

function mandel(z)
c = z
maxiter = 80
for n = 1:maxiter
if abs(z) > 2
return n-1
end
z = z^2 + c
end
return maxiter
end

The readability of this code is incredible. Considering the variables `c`
and `z` are complex numbers with real and imaginary coefficients.

Regards,
Arun


--

Arun Venkataswamy

"கற்றது கைமண் அளவு, கல்லாதது உலகளவு" - ஔவையார்
Known is a drop, Unknown is an ocean

A mash up I made from NASA's APOD website...
Want to see some wonders of our universe?
http://apodweekly.com and a chrome app
here<https://chrome.google.com/webstore/detail/mfkbdbbekhjhpheecjldjbleaifedneh>
.

Ashok Gautham

unread,
Apr 2, 2012, 11:49:37 AM4/2/12
to ILUG-C
On Mon, Apr 02, 2012 at 11:49:56AM +0530, Shrinivasan T wrote:
> It may be useful when high performance is the requirement.

It would be nice to see something like Jacket (The CUDA lib for
Matlab) for this language. Intel's MKL might be fast, but I doubt if
it can number crunch like the GPU.

That could actually be a good project just in case someone is looking
for one.

---
Ashok Gautham.

P.S. One thing I got out of this thread is a reference to the book
Machine Learning for Hackers. I did not know such a book existed
before

Reply all
Reply to author
Forward
0 new messages