Thread: a C++ library of mine.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    > I'd rather think of it as "slow down."
    So you'd want to write a website in a pre-compiled language? And what if the environment changes, such as the server OS, etc?

    Sometimes it's not all about speed, but productivity. Very well you may be able to write a program that is faster, but in terms of some VM/interpreted languages I can port mine without even recompiling, and it took less time to write . Of course there are cases that would blow this argument out of the water (but I'll ignore them for now).

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by zacs7 View Post
    Very well you may be able to write a program that is faster.
    Or not... The London Stock Exchange (which was in the news just recently for the wrong reasons) runs on a C# platform and still allows for a performance level that is among the most critical requirements one can think of. That didn't stop the minds -- which I'm sure are more than qualified -- behind the LSE to adopt a solution based on managed code, dynamic compilation and all the other demons from hell we like to think of when tagging programming languages as "bad".

    Performance is perhaps one of the least understood requirements by many programmers. I wished Elysia reviewed her concept of it. Meanwhile liking or disliking the programming language has nothing to do with it, as Elysia will soon learn when the time comes for her to join the masses of other programmers waiting for a job in the industry.

    Finally, the notion of a safe C++ ticks me. C++ is not meat to be safe. If that is a requirement (and I see plenty of reasons why it can be) one either implements safety or uses libraries that do. That's what's libraries are for. The language itself must remain as much general-purpose as it can be.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Mario,

    your point about performance is good. 90% (or more in large systems) of code is not factoring in the performance of most applications. The relatively small portion of code that is performance critical can often be optimized on a algorithmic level to a larger degree than the optimizations that you get from the difference between one language to another (or variant of language to another). And if all else fails, most languages support calling C or assembler.

    --
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's an import library?
    By chiefmonkey in forum C++ Programming
    Replies: 1
    Last Post: 06-19-2009, 05:00 PM
  2. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 06:04 AM
  3. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  5. better c string functions
    By samps005 in forum C Programming
    Replies: 8
    Last Post: 11-04-2003, 01:28 PM