Menu
Sign In Search Podcasts Libraries Charts People & Topics Add Podcast API Blog Pricing

Ryan Peterman

๐Ÿ‘ค Speaker
1027 total appearances

Appearances Over Time

Podcast Appearances

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

Yeah, well, certainly I think I made it more of a part of the war.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

I don't think it had to necessarily be part of it.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

Although I do think also like the simple fact of the reality is like programming languages are products and products exist in an ecosystem where they're in zero-sum competition and claiming that they're not in zero-sum competition is like a very cute thing that people say is appropriate, but it's clearly false and I think just makes everyone worse by misleading them.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

But like, I mean, so Julia for me, and it's actually sort of why did Julia so appealing?

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

I mean, for me what Julia's pitch was like, we should be able to write code in a high level language that looks like Python or like MATLAB, which is really the language it was originally designed to destroy.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

It was really designed to get rid of MATLAB.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

It was made by MIT math people who wanted to get rid of MATLAB.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

And it really targeted that market much more than data science at start.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

And I think I was involved in pushing it towards data science.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

But to me, the thing I always do when I give talks about Julia is be like, listen, let's look at the R function for distance, like compute a distance matrix between a bunch of vectors.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

So you get pairs of vectors, and you get all the distance matrix.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

If you look at that function and then you actually try to figure out how it's implemented in R, what you find is C code that is very reasonable C code that is just a bunch of for loops, like loop through all the rows and all the columns and then compute the distance at that row and you're done.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

If you basically take that code verbatim and just translate it naively into R, you're going to take some type information away.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

You're going to get rid of some like ints and float signatures.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

But otherwise, you're going to basically write for loops that look exactly the same.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

The R code is going to be like somewhere between 1,000 to 10,000 times slower than C.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

And this to me was the thing that just like drove me insane when I'm just like, wait, what?

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

Like these two programs are like 80% the same.

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

Why is one not as fast?

The Peterman Pod
MSL Eng Director: Promo Hacking, Industry Shifts, Regrets | John Myles White

And Julia really was all about this notion that like that was unacceptable.