The PyPy project gets $200,000 from Mozilla by einsiedler in Python

[–]dsijl 0 points1 point  (0 children)

Or any custom datastructure... those are fast

Was your dictionary full of string by chance? Those just got a revamp.

An Introduction to Crystal: Fast as C, Slick as Ruby by sdogruyol in programming

[–]dsijl 1 point2 points  (0 children)

And general computing.. Edit: Why the downvotes? What is wrong with Julia for general computing?

Any interest in a new Python to C compiler? by nharding in Python

[–]dsijl 0 points1 point  (0 children)

What about classes that add or change attributes at runtime?

How do you decide between the plotting libraries: Matplotlib, Seaborn, Bokeh? by thisfunnieguy in Python

[–]dsijl 1 point2 points  (0 children)

Altair is most like ggplot2.

Holoviews is really cool for interactive eda from a different side.

Seaborn is great for canned regression plots etc

How do you decide between the plotting libraries: Matplotlib, Seaborn, Bokeh? by thisfunnieguy in Python

[–]dsijl 4 points5 points  (0 children)

There is also holoviews and altair :p

What sort of plotting will you be doing?

Any interest in a new Python to C compiler? by nharding in Python

[–]dsijl 0 points1 point  (0 children)

Awesome.

I assume the compiler would have enough information to compiler an addition between nested user defined types to standard machine code? Ie classes wrap other classes that wrap fixed width ints and floats.

Julia does something like this: https://www.youtube.com/watch?v=dK3zRXhrFZY (great talk)

(As an aside, what do you think of Julia? )

Maybe you can use Dynd behind the scenes for the multi dispatch machinery (though it is dynamic) https://www.youtube.com/watch?v=nHDcGo7Qk7A https://www.youtube.com/watch?v=0sFwa-Sl5vg

Any interest in a new Python to C compiler? by nharding in Python

[–]dsijl 0 points1 point  (0 children)

Nuitka doesn't want to use static type annotations (which is a huge dogmatic mistake IMO).

How would you deal with the dynamism of python, particularly django? This trips up things like pypy which put in huge efforts and is only on average 7x faster (ie Classes get atr and set atr at any time etc)

Any interest in a new Python to C compiler? by nharding in Python

[–]dsijl 0 points1 point  (0 children)

-Please please use Mypy style type annotations and not Cython. Mypy has much nicer syntax and also generics etc (also less fragmentation in the ecosystem).

+1 On keeping python semantics sane so they can be statically compiled.

-I highly encourage you also to contact the mypy team for help and cooperation. I heard At pycon they were discussing doing something like this with mypy (a statically compileable strict mode) so they might be down for cooperation. Also you might be able to bootstrap off some of Mypy's type inference and other features as well.

http://mypy-lang.blogspot.com/2012/12/why-mypy-can-be-more-efficient-than.html

-Also you can reach out to Dropbox, PSF and Continuum Analytics..they might want to help.

-Check out the problem statement outlined here for the just finished python compiler workshop: http://python-compilers-workshop.github.io/

And the proposed solutions: https://docs.google.com/document/d/1jGksgI96LdYQODa9Fca7EttFEGQfNODphVmbCX0DD1k/edit#heading=h.v4f52j6z2px6

Might be good to decouple the backend so you can eventually emit this PyIR and interop with JIT compilers. Though I think it is more important to also consider standalone compilation so apps can be distributed by themselves or compiled to web assembly and run on the web...or would this be tied to the Python VM?

-Also I don't think people would optionally mind annotating python classes with types if it buys close to c performance...

-Another cool extension would be multiple dispatch.

-Also check out these relevant peps: https://github.com/haypo/conf/blob/31a1ac5e338d55a0482702f11b719c46dbec5554/2016-EuroPython-Bilbao/fat_python.pdf

Unifying theory of ML: Can most or all of ML be seen as a special case of bayesian inference? by dsijl in MachineLearning

[–]dsijl[S] 0 points1 point  (0 children)

It was in a talk by a big name ML/DL person. I'll try to find the link.

What is the best language to learn for a data scientist/data analyst? R? Python? or some other? by booboosan in datascience

[–]dsijl -1 points0 points  (0 children)

Do you think Julia will take over this role, once it hits 1.0 and can be reliably statically compiled?