Added: 4 years ago
From: GoogleTechTalks
Views: 83,841
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (83)

Sign In or Sign Up now to post a comment!
  • GAH GET YOUR DAMN QUALITY RIGHT GOOGLE, this is so annoying.

    Great video = Bad quality... so common these days, I hope this doesn't happen in 2020 (In the future)

  • This would be great if youtube would actually stream it without pausing every 20 seconds (I'm on a 18MBit connection)

  • this could have been interesting if youtube didn't exit fullscreen on pause

  • /watch?v=ps0QOaqcrII

  • @rahulrvideo, @robnox - Whether or not Python is slower than C++ depends a lot on the application. I can promise you that if you're implementing 'cp' you will not notice any difference in speed between the two. You will only notice a difference when your program is CPU bound.

    That said, the factor of '1000' is believable in some instances, and as an average for a bunch of benchmarks I'm fully willing to believe it. But don't think that kind of measurement tells the whole story.

  • He is a bit nervous about public speaking, its pretty common, most people are uncomfortable talking to groups.

  • Jesus Christ, he's talking way too hectically. His irregular breathing is catching...

  • I'm using Boehms garbage collector a lot in my private in-house compiler. Nice to finally see his face - i expected him to be older.

  • I love how software developers (wannabes included) tie themselves to programming languages.

    Languages die people, get over it, sooner or later every language will die.

  • @bogoid not entirely true..

  • @non91

    so which is the language that will never die, and why?

  • @bogoid well technically people still use assembly and thats been around nearly as long as electronic computers and languages like C++ are very old too and are still very popular .. and i dont see the need for new languages atm and i dont see how old languages would die without anything new so..

  • @non91 Assembly will always be around as it is merely a human readable mnemonic representation of machine language, which is the raw bits the processor uses. C++ is very likely to be around forever as well. 'New' languages like C# and Java are really more solution in search of a problem. C++ does everything C# and Java do. Some languages are special purpose like SQL and PHP, where the language is neither intended nor suited to application or OS programming.

  • @VideoFilterGuy i think i was trying to say that.. but nevertheless nicely put :)

  • @bogoid each one is gonna die

  • @johnyfartpants you can write the graphics thread in C/C++ and then load that module in Python and the graphics will be liquid smooth because the Python runtime isn't managing all the gfx logic, your library is. or better yet, write it in assembly! ;)

  • dang this guy has a lot of other hands haha

  • GIVE DEES PEOPLE EEYA!

  • I do mostly 3D graphics, stuff you cant do with Python because it's too slow. The number "1000" isnt just something I made up, it was 1000 times slower than C++ in benchmarks

  • @robnox Internet thug. Heh.

  • @robnox i would really like to know if u could provide some cogent evidence to substantiate your claim.. about c++ being 1000 times faster than python....

  • @rahulrvideo Google "python vs c++ speed" it will be the 3rd result. I tested this in house with an assembly based timing mechanism (for more accuracy) and I got approximately 1000 times faster execution vs python

  • @robnox

    I don't agree with your python performance bashing. I measured a zip algorithm and python was only 270 times slower then C++. But yes i had to apply tricks to get it this fast :-)

    But it's okay for moving strings around and concatenating them to make webpages.

  • @llothar68 only 270 times slower than C++.. I rest my case lol. that reminds me of a benchmark I once did Intel Core2 vs i7 with tar -xjf ran approximately 10 times faster on the Core2. This was when the i7 just came out and GCC had no compiler optimizations for the i7 yet, so I think this is the main contributing factor. my point being, optimizations go a long way ;-)

  • @robnox if you can't do 3d graphics, how does eve-online run then as this is programmed in python iirc?

  • I dont find C++ much more difficult to write than python, and the code you compile with C++ will execute over 1000 times faster than python. Is saving a few minutes of programming really worth code that runs 1000 times slower?

  • @robnox You don't find it that much more difficult? have you ever written any code for applications that are more complex than "hello world"? I doubt the speed difference is that big. feel free to prove me wrong though.

  • Ahh, C++, the last "real" programming language. Java, C#/.NET, Python, all are a joke when you compare them to C/C++

  • @robnox well , i dont agree when it comes to python . python is way better than "C" . Its built on C , but makes the code very very laconic and substantially lesser than u write in C .

  • @rahulrvideo i dare you to code me a kernel in Python (^_^)

    there is no "better" language (this goes for the other guy too) just different applications. now the validity of some languages is questionable (like BASIC). C is a great language. and Python has its uses too, its a lot easier to manage then Perl on server side i'll tell you that.

    and as far as the last real programming languages goes...that would be 80x86 Assembly (>_>) (<_<)

  • COME WITH ME IF YOU WANT TO LIVE ARRGUH

  • lol this guy sounds texasly german lol

  • @WrestlingFanUploader his motherlanguage is hebrew..

  • half american half german accent

  • wow you dont realize how stupid you are, maybe you should do more research on your buddy Alex Jones. FFS

  • Wow - the example at 37:00 is something I've dealt with. I'm glad to have seen this!

  • Comment removed

  • LOTS OF THINGS ARE DONE IN C/C++

  • And what does that mean ? You make a statement like that with no bases what so ever.

  • Screw your spamming, but I like the idea.

    For some reason, game consoles are the only PCs to have multiple controllers and split-screen. If only people thought to make split-screen games for desktops and to just buy USB controllers, we wouldn't even need game consoles.

  • One of the main reasons why consoles are so popular is price.

  • Great talk. I appreciate all the hard work and research you put into this.

    I have a question. I seem to recall hearing somewhere that in VC if your switch cases are in incrementing order starting with 0 then it will make a branch table. I've never actually checked this.

    Your video shows the switch nested inside an if to make sure the variable being switched over is within a range. Is this required? Can't the compiler see I only have 3 cases?

    Thank you! :D

  • the compiler only checks the cases and the variable if you use a default case.

  • Have been using threads for many years. Like the guy said, I did not get it right the first time, so it seem dawnting, but I am now very comfortable with C++ threads in Windows and have a simple application that probably has about 5 - 15 threads (depending on what you turn on in the application) runnig 24x7.

  • Once you try D you won't go back to C++

  • Comment removed

  • MACs are for people who dont have the knowledge to use PCs.

  • agreed MAC computers are more user friendly MAC Os systems hide most of the functions that the PC leaves open for Admins Ex. .dll fills and system files mac computers are low matanace comps unlike PC to use a PC right you must know a farely good bit about computers the Vista XP and other OS's on Pc's are still user friendly but not as much as a Mac a Windows based computer has nothing on a Linix or unix based computers but all in all Mac and PC are = computers in hardware and software

  • but each is better for diff ppl in ther own way a newer computer user may find it better to work with a mac as a officer manager may find it better to use a PC with a windows OS when you look at it Mac VS. PC is nothing more than Nike Vs. Vans just 2 diff brands made for two diffrent things one may favor the other but hwen you look at it from a consumer veiw mac has a more appeling veiw

    this coment was suposed to be placed below

    Kin632s coment under Sirus20x6 :P

  • THEN YOU REALLY DIDNT SEE YOU AROUND

  • What do you mean

  • you buy a real computer and get a compiler.

  • get a compiler.

  • "i'll be back"

  • "Get to the chopper..NOW!!!"

  • "Get down!!!"

  • "I need your clothes, your boots, and your motorcycle."

  • Good lecture for compiler writers, not so good for users of compilers. If you are scared of threads now, watch this and get REALLY scared.

    As his slides show, you have to write really bad code to maybe get these bugs to show up --like multiple writes to unprotected shared bitfields. Well duh--that might cause you a problem.

    Im glad C++ is fixing this stuff, but this lecture isnt going to help you write better MT apps.

  • Interesting, but this talk only holds up in a purely engineering sandbox. Jump into userland with user interface and useability problems and you can't get away from locks and events. He should focus his obvious intelligence on convincing people to seperate an interface from an implementation and then present a design pattern to deal with the multithreaded issues of those portions of the implementation that require multithreaded techniques.

  • yeah but just like he mentionned, many JVM are broken ;)

  • Lots of C++ people have their heads in the sand.

  • Mmmmmmmmmm sand.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more