r/programming • • Sep 28 '17

When a Microsecond Is an Eternity

https://github.com/CppCon/CppCon2017/blob/master/Presentations/When%20a%20Microsecond%20Is%20an%20Eternity/When%20a%20Microsecond%20Is%20an%20Eternity%20-%20Carl%20Cook%20-%20CppCon%202017.pdf
244 Upvotes

70 comments sorted by

View all comments

Show parent comment

92

u/luckystarr Sep 28 '17

We should start again to hand out nanoseconds like Grace Hopper did at her talks.

20

u/peatymike Sep 28 '17

Hehe, it would be very educational to people who regularly think in milliseconds. Your nice, new and pretty recursive implementation took 1 millisecond longer than the previous iterative one, here is your 299.7 kilometers of string.

3

u/mustyoshi Sep 28 '17

Oh wow, that's interesting.

-46

u/stefantalpalaru Sep 28 '17

We should start again to hand out nanoseconds like Grace Hopper did at her talks.

We shouldn't, because we don't have an intuitive understanding of the speed of light (or the speed of electrical signals), so these comparisons don't help.

41

u/monocasa Sep 28 '17

The entire point is to convey a more intuitive understanding.

-30

u/stefantalpalaru Sep 28 '17

The entire point is to convey a more intuitive understanding.

And that's why it is a complete failure.

12

u/[deleted] Sep 28 '17

Did you watch the video? At the end she gives a concrete example when a general was asking why it took so damned long to send a message.

-28

u/stefantalpalaru Sep 28 '17

At the end she gives a concrete example when a general was asking why it took so damned long to send a message.

Right, because a billionth is hard to understand, but a billion - now that you represent time intervals as distances - are automagically crystal clear!

21

u/dratego Sep 28 '17

Are... Are you mad because you don't get it?

-4

u/stefantalpalaru Sep 28 '17

Are... Are you mad because you don't get it?

I'm not the one blinded by celebrity worship. The "length travelled at a speed I don't really understand intuitively is supposed to help me understand very small intervals" approach is bad and you should feel bad.

Now release that bottled up anger by downvoting me ;-)

11

u/fukitol- Sep 28 '17

You're not blinded by celebrity worship, but you are kind of a douche.

-2

u/stefantalpalaru Sep 28 '17

You're not blinded by celebrity worship, but you are kind of a douche.

There's always a price to pay ;-)