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

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 15,955

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

The knowledge of some things as a function of age is a delta function.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

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

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 15,955

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

The knowledge of some things as a function of age is a delta function.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

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

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 15,955

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

The knowledge of some things as a function of age is a delta function.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

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

**anonimnystefy****Real Member**- From: Harlan's World
- Registered: 2011-05-23
- Posts: 15,955

How well do you know Python and NumPy?

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

The knowledge of some things as a function of age is a delta function.

Offline

**gAr****Member**- Registered: 2011-01-09
- Posts: 3,479

Well enough to suit my needs!

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

Offline

Pages: **1**