Thread: C is ssssslooooowing me

  1. #46
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    Quote Originally Posted by Elysia View Post
    I doubt you will see a speed difference between C/C++ at all for generic programs.
    What are generic programs?

  2. #47
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,653
    The term I used for "a wide variety of programs, not limited to one type." Or maybe "programs you use daily for your own computer use or pleasure." Or the like.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #48
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by JFonseka View Post
    101% of the things in Vista work for me. That extra 1% includes things to be released in the future which I'm sure will work, after hours of tweaking, replaced monitors and added RAM.
    You can subtract about 10% from that for every VB6 app out there that uses certain controls such as winsock. Another 10% for the problems I've been dealing with for adding Vista support to our product, and another 1% for the problems I'm sure we haven't seen yet.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  4. #49
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,653
    If we look at the programming side, I scoff at the pathetic UAC implementation.
    Launching a new executable just to elevate is ridiculous. So subtract another 10% there.
    And subtract another 10% when Vista can't do simple file operations properly (I just tried moving a lot of files and folders somewhere and it would just die randomly in the progress with no explanation as to why).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #50
    Big & Little Wong Tin-Bar Jackie Chan's Avatar
    Join Date
    May 2008
    Location
    Hong Kong
    Posts
    23
    Quote Originally Posted by Magos View Post
    Pick the language that suits your needs and you feel most comfortable with, and don't worry about speed unless you utterly absolutely have to (which I doubt you do).
    Thank you Magos.
    I am also getting a little overwhelmed by the choice and availability and usability of so many programing languages. I will take a break now. Will try to pursue my martial art hobby. Not the violence though just for exercise purpose.

  6. #51
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I will take a break now. Will try to pursue my martial art hobby.
    I like your movies

    As I also stated earlier, choose the tool for the job.
    Last edited by zacs7; 05-26-2008 at 11:10 PM.

  7. #52
    Big & Little Wong Tin-Bar Jackie Chan's Avatar
    Join Date
    May 2008
    Location
    Hong Kong
    Posts
    23
    Quote Originally Posted by zacs7 View Post
    I like your movies

    As I also stated earlier, choose the tool for the job.
    Thank you zacs7.
    I am not the real Jackie Chan (I know you are kidding). I love him and the movies also.

    Right tool for right job is something that I will always try to remember.

  8. #53
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,786
    Quote Originally Posted by iMalc View Post
    You can subtract about 10% from that for every VB6 app out there that uses certain controls such as winsock.
    Huh! You're lucky it is only VB... I have a simple C application, that uses Winsock... And Vista randomly closes the opened TCP connections without proper explanation of the cause...


    I'm now looking for a good book on Vista programing like Jeffrey Richter "Programming Applications for Microsoft Windows" (it was good for XP but does not gives enough info about new tricks). Somebody knows good book like that? Or maybe a new edition of Richter's?
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  9. #54
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    I always liked "Frustration: Programming in Windows (sledgehammer included)"
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

Popular pages Recent additions subscribe to a feed