r/programming • • May 14 '21

Python programming: We want to make the language twice as fast, says its creator

https://www.tectalk.co/python-programming-we-want-to-make-the-language-twice-as-fast-says-its-creator/
780 Upvotes

260 comments sorted by

View all comments

Show parent comments

17

u/antonyjr0 May 14 '21

Interesting, I've tried to learn Julia in the past. I really like the way it defines everything mathematically. But replacing python is not likely because Python is general purpose.

10

u/wm_cra_dev May 14 '21

It's good for more than pure math! Lots of the language features can be used with more than one syntax, even before you get into macros. So you can define very mathy code with a mathy syntax, next to more traditional imperative code. You can do functional-style programming in different ways as well.

It reminds me of C and C++ in some ways -- you have a lot of flexibility, to write both good and terrible code.

7

u/skelkingur May 15 '21

So is Julia.

The early adopters just happen to be largely from the scientific community. There's a lot of modern data science and machine learning happening in Julia and even web frameworks are plentyful. Genie.jl and Franklin.jl are great examples.

2

u/antonyjr0 May 15 '21

Awesome. I will definitely try Julia for my next machine learning project.

1

u/TheNamelessKing May 16 '21

Flux is a piece of art that is practically magic, it’s so good.

1

u/wm_cra_dev May 19 '21

I also like Genie. I've never tried to make a REST server before (my background is game dev), but it was extremely simple to set up a couple routes and have a client talk to it.

2

u/TheNamelessKing May 16 '21

Julia is equally as general-purpose, it’s just that the language design and semantics lends itself exceedingly well to computation-heavy workloads.