Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-05-06 12:12:28

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,883

New PL in town?

I have just found about this new programming language called Julia which is supposedly faster than many of currently popular PLs, including Python, Matlab, Octave, R and JS when it comes to mathematical and numerical computation.
From what I see it is procedural, though.

I haven't had time to check it out much yet, but anyone who is willing to do so, its webpage is http://julialang.org/

Last edited by anonimnystefy (2013-05-06 12:13:35)


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#2 2013-05-06 21:15:32

gAr
Member
Registered: 2011-01-09
Posts: 3,462

Re: New PL in town?

Compilation of julia did not work for me, so I can't check.
Anyway, I believe it was not benchmarked against NumPy, Cython etc., which would be much faster.

edit: saw that it was benchmarked against NumPy..

Last edited by gAr (2013-05-06 21:24:41)


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#3 2013-05-06 21:35:46

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,883

Re: New PL in town?

Well, only the last two functions are in NumPy.

What is exactly NumPy used for, if I may ask, because, although I heard about it, I never knew its purpose. How is it different from regular Python?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#4 2013-05-06 21:52:19

gAr
Member
Registered: 2011-01-09
Posts: 3,462

Re: New PL in town?

Using NumPy, we can use arrays much like in matlab.
We need not write lines of code to multiply matrices. So, it will be much faster since built-in functions are optimized.
It also provides many functions for scientific computing.


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#5 2013-05-06 21:54:45

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,883

Re: New PL in town?

Oh, ok. So, basically, it is better for numerical computation than regular Python?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#6 2013-05-06 21:56:27

gAr
Member
Registered: 2011-01-09
Posts: 3,462

Re: New PL in town?

Yes..


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

#7 2013-05-06 22:13:56

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,883

Re: New PL in town?

How well do you know Python and NumPy?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#8 2013-05-06 22:34:23

gAr
Member
Registered: 2011-01-09
Posts: 3,462

Re: New PL in town?

Well enough to suit my needs!


"Believe nothing, no matter where you read it, or who said it, no matter if I have said it, unless it agrees with your own reason and your own common sense"  - Buddha?

"Data! Data! Data!" he cried impatiently. "I can't make bricks without clay."

Offline

Board footer

Powered by FluxBB