Live data from Hacker News

Pythran: Crossing the Python Frontier [pdf]

computer.org

1–10 of 70 posts

Re: Pythran: Crossing the Python Frontier [pdf]

#8
post #3

Interesting article but just skimming through it some things stand out immediately: 1.) The first snippet isn't even valid python code as floats don't have a shape attribute. s = 0. n = s.shape 2.) The inline latex math isn't rendered properly.

The first snippet also doesn't balance the parenthesis

    s += 100. * x[i + 1] - x[i] ** 2.) ** 2. + (1 - x[i]) ** 2

Re: Pythran: Crossing the Python Frontier [pdf]

#9
post #3

Interesting article but just skimming through it some things stand out immediately: 1.) The first snippet isn't even valid python code as floats don't have a shape attribute. s = 0. n = s.shape 2.) The inline latex math isn't rendered properly.

I believe the input should be a numpy array of floats which has a shape attribute

Re: Pythran: Crossing the Python Frontier [pdf]

#10
post #7

Isn't this solved by julia? I think scientific community should use a more functional language rather than language like python tbh

Though I'll still use Python for non-scientific programming, I've switched to Julia for all my scientific programming needs in my day job.
Post reply on HN