- Видео 21
- Просмотров 481 681
JoseCan
Добавлен 20 июн 2007
Optimizing C++ for Modern Hardware 20140404 C9Live9015 high Eric Brumer
Optimizing C++ for Modern Hardware 20140404 C9Live9015 high Eric Brumer
Просмотров: 11
Видео
Going Deep - UAC - What. How. Why.
Просмотров 1442 года назад
There has been a large amount of confusion and concern out there about Vista's new user security model (Everybody runs as Standard User, a new user account security construct, UAC, acts as gatekeeper…
BNYEPR2 - Bill Nye on Polaris
Просмотров 142 года назад
Downloaded from the Internet c. 1994. 160x120 Indeo Video is what the streaming video used to look like. Uploaded for historical posterity of early digital video.
Compiler Confidential with Eric Brumer - GoingNative 2013 - December 12, 2013
Просмотров 572 года назад
Modern CPU and instruction set architecture improvements are critical to the performance of software, but it's the compiler that can make your code sing. Come learn how compiler optimizations are enabling the next generation of native code performance. This talk will go deep into the guts of the Visual C compiler optimizer, focusing on compiler optimizations from the point of a view of modern C...
Native Code Performance and Memory - The Elephant in the CPU with Eric Brumer
Просмотров 1272 года назад
In a deep dive on performance, Eric Brumer explained why memory is often the most critical component. And while this session was on C development, much of what he said is applicable to managed code as well. 0:00 Introduction 2:53 Intel Sandy Bridge 7:27 Matrix multiply 15:46 Simple Parallelization 22:18 Nbody Performance 25:55 How to make Nbody faster? 32:28 Alignment Matters 40:51 Example #1: ...
Native Code Performance on Modern CPUs - A Changing Landscape with Eric Brumer - Build 2014
Просмотров 832 года назад
The presenter Eric Brumer (from Visual C Compiler Team) talked, in quite unique way, about deep down details of code optimizations. Why it is better to use compiler to do the hard work. Why new and powerful FMAD instructions can sometimes slow down your code. And how to generally think about code performance.
Null References: The Billion Dollar Mistake - Tony Hoare
Просмотров 49 тыс.5 лет назад
Video is from: www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare It deserves to be more widely known and seen. Summary Tony Hoare introduced Null references in ALGOL W back in 1965 "simply because it was so easy to implement", says Mr. Hoare. He talks about that decision considering it "my billion-dollar mistake". Key Takeaways - Null references have historically...
I no longer recognize the authority of the FCC in this matter
Просмотров 729 лет назад
I won't pay a $73M fine. I won't pay a 73¢ fine. I won't time-delay the news, and I won't I'm sorry. I no longer recognize the authority of the FCC in this matter. I'm going to have to be ordered by a federal judge. Season 1, Episode 11: The Christmas Show
Kirk Glerum and Mike Hollinshead - Watson (what ha
Просмотров 10311 лет назад
What happens when an application crashes? Watson collects data and lets users send that in to Microsoft for analysis. Here you get to meet Kirk and Mike, two of the guys on that team and they talk abo
PAL pitch shift in West Wing pilot ending
Просмотров 2,8 тыс.13 лет назад
This is the PAL (25fps) ending of The Wing Wing pilot episode. Most television shows, and all movies, are originally shot in 24fps. In North America, televisions show content at ~30fps. In order to display 24fps material on a 30fps television, every other frame is shown slightly longer (called 3:2 pulldown, or telecine). In the U.S. this results in a small motion stutter, as a video frame will ...
Forest Gump trailer - Timeline
Просмотров 15213 лет назад
Trailer for Forest Gump that I downloaded from Paramount's web-site circa. 1994 Yes, 152x72x7fps mpeg was quite something back then.
GoPro HD Hero camera attached to RC airplane
Просмотров 22413 лет назад
GoPro HD Hero camera attached to RC airplane
Crowdstrike changed the numbers a bit.
Microsoft Services outage because of Crowstrike's Null Pointer reference brought me here. It has become trillion dollars problem :D
A blog about memory safety brought me here
hey, thanks to typescript docs :)
TRPL brought me here :))
"I don't care about the subscript error, I just want it to run just like it does on a 7090" wild that people saw that their code is grossly false and didn't care.
A good one, but so grateful for 1.75x playback right now.
here from typescript handbook (also 69th comment)
J002e3 is an S-IVB
Left[null pointer exception] bring me here
'promo sm'
as I'm listening to him describe the issues, all I'm thinking is: Haskell solved all of it, and it made sense. Programmer can only write safe, correct code, and the compiler than transforms it into something fast. - Still, I think there is nothing wrong with Local mutation and having local references of disjoint union type (e.g. Foo<T|Nil>), which get (initialized and) checked, and cast to Foo<T>.
My question is: how much later was Haskell made? - Also, then he mentions C# having non-nullable ptrs as "finally people are changing it" and yes, they are common, but most functional languages never had null pointers. all families, OCaml, etc. even dynamically typed, where it would be much less surprising, as you need to know the types anyway.
I wonder, if he had put disjoint unions in instead, if we regardless had the explosion of inheritance issues, instead of people just using either disjoint, or tagged unions... - which in most cases are actually what people need. - Then, yes, interfaces are useful, but those can be solved elegantly and exposed inheritance still seems wrong to me.
interesting point at the end ... to a degree, I have to agree. - Still, I've been thinking about my dream language for years now, and think it definitely can be done. - Rust, for example, has achieved a lot from both worlds: very safe, very useful. - There are things I'm unhappy with, but a lot is beautifully solved.
May I ask what are the things you feel lacking in Rust? @@Verrisin
Your mom brought me here.
Coming from typescriopt handbook, greetings from brazil.
Dijkstra brought me here
Rust fixes this.
But not solves the endless bugs of the compiler itself.
@williamzborja English U can solve the same problems differently, without the overhead rust have, just for the sake of some 'security issues' it telling u to solve it, what C++ does not have either. At the end of the day u can jump hook into memory and make the PC looks like potato.
@williamzborja English I can do check type everything against null. In any language. I can create monad as Option<T>. Still I don't see the hype.
null undefined and NaN walked into a bar and never returned because the return type was never
Typescript handbook brought me here
This is what depression sounds like.
Flutter null safety brought me here.
this technology made me get my first job position at Microsoft as a developer
But has he tried getting gud?
14:00 The very title of this talk suggests that it is possible to design a programming language that does not have null references, and of course this is correct. For example, a language without null values could look like this: 1️⃣ A pointer's value would initially be "undefined" before assigning a value to it. (To be clear: "undefined" is neither a type nor a value that can be explicitly used for a pointer, it is only an initial value that is implicitly assigned to a pointer by the runtime.) 2️⃣ A pointer can only be set to a value that is of an allowed type, "null" or "undefined" are not part of the language. Any type mismatch could raise an exception in interpreted languages, or abort the compilation process in compiled languages. 3️⃣ Reading the value of an undefined pointer would raise a runtime exception. 💬 To conclude, we can say that removing null values from a programming language would probably require the introduction of a new type of runtime exception.
He talks about how this is solved in the speech it's just not very clear if you haven't used C# or TypeScript strict null checks. Basically, null becomes its own type, and all types are assumed to not be nullable. To be nullable, a type must be declared to be its type plus the union of the null type (Type | null in TypeScript). This enables static checking of the code which will throw errors if you have a value which can be null, but which you are not explicitly checking is not null at runtime. Undefined is not necessary for this implementation. If you were to assign no value, it would be a compilation error for a non-nullable value, there is no need for runtime errors.
@@Kyle-ke5fx Thanks for your comment. As a context for my previous comment, I can say this: if null values can cause billion dollar programming errors, then language designers have two options: 1️⃣ Allow null values, but make null-related programming errors less likely to happen, and this is the route that TypeScript and other languages have taken. 2️⃣ Do not allow null values at all, and that's the type of language that I have sketched out in my previous comment. In fact I am working on such a language; it will be part of a web micro frontend framework. I'll be sure to post an update here when the framework is released, which won't be before several months.
Or do what C# did : add a compiler switch that makes it so reference types cannot be null, and any attempts to assign null to the variable, or not initialize the variable, results in a compiler error.
1h just to say "null pointer" was bad idea. with all respect this is nothing but a waste of ur time.
CSP parser brought me here.
What a legend. Oh, and searching for 'Tony Hoare' brought me here. I'm working on designing a new Typescript unit testing framework inspired by the Hoare Triple and the idea that test code should be easy to read and maintain.
good for you?
We all agree that null's shouldn't exist. And then JavaScript goes ahead and creates two different nulls - null and undefined. Ugh.
And just to add some more excitement... NaN!
@@taosade You can't really blame JavaScript for that one. The IEEE 754 standard defines NaN. Virtually all languages have it.
My own mistakes and tears brought me here
gets() in c brought me here.
Today, as a professional computer programmer, I just added a few hours of my salary to Tony Hoare null pointer bill.
Java 8 in Action book brought me here :D
Java to Kotlin brought me here
"Effective Programming in Scala" brought me here
アンチパイラシースクリーンのやつやん
The Deep Ones sent me here. What a terrible movie. 😂
Typescript Handbook directed here
me too
Same 😅
same...
Yep 😂
Lol
Rust book brought me here
me three
me four
Can we get a link to the part of the book that mentions this? I've looked for it, but couldn't find anything.
@@samlaf92 doc.rust-lang.org/book/ch06-01-defining-an-enum.html#the-option-enum-and-its-advantages-over-null-values
@@malcolmx86 Thank you!!
regret codeburst.io/null-the-billion-dollar-mistake-c2918c92f7e0
L kkkj he d see it
When a huge turboprop plane flies past your house.
Very nice listening
Gold experience requiem theme
If you speed this up waaaaaayyyyy too much you get the sound from the opening of Tie Your Mother Down and the ending of Teo Torriatte from Queen.
I know this may not be the best quality Shepard’s tone, but damn does this sound scare me the distortion sound makes it sound even more like I’m actually in hell
When a plane flies overhead
fallingfalling.com
lol that description (about copyright claim)
whats with all the f bombs like come on dude.
whats with the booms
help