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

And because they might do it, and to give you an example, which is really astonishing about R is, in R, for instance, the brace that you use to define a block is an operator that can be overridden and the user can redefine.

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

so they can make braces mean something else.

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

So that means when you see a brace in code, you can't just be like, I know what this is.

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

I can move on.

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

You have to be like, no, I need to look up and check, did the user redefine this?

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

I think it's brace and not parenthesis, but it's been a while, so I haven't dug in.

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

But it may also be parenthesis, or it's possible I flipped them.

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

We can check offline and see whether my memory is good.

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

But you just wind up with so much stuff like this that is so like,

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

may be changed, and you don't know whether it changed.

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

So you need to go check whether it changed.

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

And the checks are very expensive, especially if you're doing something like adding two 64-bit integers.

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

That's like one machine cycle.

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

It is one machine cycle.

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

But a check, does addition still mean what I think it is?

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

Could be hundreds to thousands of machine cycles.

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

And so you wind up swapping in things that are very inefficient.

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

places that you don't need.

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

And this is particularly, R is amazing.

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

There's this amazing paper by a couple of students and a senior professor named Jan Vitek, but it's about the design, called something like Evaluating Design of the R Programming Language.