Thread: C is ssssslooooowing me

  1. #31
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    So it's now clear that C# is the fastest, Java the next and so on and hence forth until C++ which is the slowest.
    =========================================
    Everytime you segfault, you murder some part of the world

  2. #32
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by JFonseka View Post
    So it's now clear that C# is the fastest, Java the next and so on and hence forth until C++ which is the slowest.
    Other way around
    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. #33
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by JFonseka View Post
    So it's now clear that C# is the fastest, Java the next and so on and hence forth until C++ which is the slowest.
    C++ is one of the fastest portable languages you can get - obviously, as with all benchmarking, you can get other winners occassionally (particularly for situations where a language is written with some particular purpose in mind, and optimized for such).

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #34
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    Quote Originally Posted by matsp View Post
    C++ is one of the fastest portable languages you can get - obviously, as with all benchmarking, you can get other winners occassionally (particularly for situations where a language is written with some particular purpose in mind, and optimized for such).

    --
    Mats
    I was kidding matsp, Elysia got it :P
    =========================================
    Everytime you segfault, you murder some part of the world

  5. #35
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by JFonseka View Post
    I was kidding matsp, Elysia got it :P
    Of course I understood. My comment wasn't meant to point out or be serious
    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.

  6. #36
    Banned
    Join Date
    Nov 2007
    Posts
    678
    Quote Originally Posted by JFonseka View Post
    So it's now clear that C# is the fastest, Java the next and so on and hence forth until C++ which is the slowest.
    The ordering is absolutely correct!
    Fastest to Slowest in terms of developer time, and, no, not the user time!

  7. #37
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    Quote Originally Posted by manav View Post
    The ordering is absolutely correct!
    Fastest to Slowest in terms of developer time, and, no, not the user time!
    Hahahaha, where does that put Microsoft? =D

    The secret's out
    =========================================
    Everytime you segfault, you murder some part of the world

  8. #38
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I once found an article saying that Microsoft has 160 programmers :|
    Is that true? Where would that put Microsoft? In the bottom? I mean, 160, for all of their projects?
    But Microsoft is known for slow, buggy, incredibly complex programs. I'd definitely put Microsoft at the bottom!
    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.

  9. #39
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Elysia View Post
    I once found an article saying that Microsoft has 160 programmers :|
    Is that true? Where would that put Microsoft? In the bottom? I mean, 160, for all of their projects?
    But Microsoft is known for slow, buggy, incredibly complex programs. I'd definitely put Microsoft at the bottom!
    The company I work for has MANY more than 160 programmers [1], in fact the department I work for is mostly programmers, and we're 80 or so - perhaps 50 or so programmers. The whole company has about 1000 employees, and probably about 70+% are programmers.

    [1] That obviously depends on what you imply by the title programmer as well - I count all manner of people working in software engineering writing code - "People who write code". They may well have other titles, e.g. Senior Software Engineer, Software Developer, Test Development Engineer, Software Contractor, Technical Lead or any other of many titles that could be used for these rolls. It could be that the 160 programmer figure is that there are 160 people in MS with the exact title of "Programmer".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  10. #40
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    There are probably 1000's of programmers in Microsoft, if not more. There is no way there is 160 unless there are 100 hours in a day
    =========================================
    Everytime you segfault, you murder some part of the world

  11. #41
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Maybe that's why it takes 5-6 years to build a crap OS like Vista that has no new improvements?
    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.

  12. #42
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    Quote Originally Posted by Elysia View Post
    Maybe that's why it takes 5-6 years to build a crap OS like Vista that has no new improvements?
    Vista is the most legendary thing since sliced bread. It's just you need experts to understand the wizardry in there, experts like me.
    =========================================
    Everytime you segfault, you murder some part of the world

  13. #43
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Oh yeah, forgot to add: "and an OS that breaks 99% of the things or 99% of the things don't work as they should."
    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.

  14. #44
    Cogito Ergo Sum
    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    463
    Quote Originally Posted by Elysia View Post
    Oh yeah, forgot to add: "and an OS that breaks 99% of the things or 99% of the things don't work as they should."
    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.
    =========================================
    Everytime you segfault, you murder some part of the world

  15. #45
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    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).
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

Popular pages Recent additions subscribe to a feed