Looking for C developpers

This is a discussion on Looking for C developpers within the Projects and Job Recruitment forums, part of the Community Boards category; Originally Posted by SurferIX Let's talk about the speed : everything that was of no use has been removed. For ...

  1. #16
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    Quote Originally Posted by SurferIX View Post
    Let's talk about the speed : everything that was of no use has been removed. For example there is no X Display. Only SSH and command line mode. Mutt, vim and screen should be enough for every Apache C module developper !

    I suppose that if you're not running anything on the system, that will make it faster. But is it really worth not being able to run any X applications?

    Maybe I didn't express myself properly : the OS is a Debian, and is 50 % faster than a classical distro, which means if it takes 3 minutes to do one thing on a classical distro, it will take 2 minutes on my PC.
    For anything?
    Moreover, I've got 2 x 250 Gb hard drives that are replicated by the OS itself (one of the hot new stuff in the latest kernel), and when it comes to read, the kernel reads from both disks, resulting in a 25-30 % speed up (sorry for my English it's so poor). Same from writing, which makes small copies of files instantaneous.
    Admittedly I know very little about this, but I suppose reading duplicate disks could increase the speed. But I can't imagine writing the same data to two disks would be faster than writing the same data to one disk.

    Unless you mean, for example, every even byte is stored on this disk, and every odd byte on the other . . . .

    Compiling the latest Apache took less than 20 seconds.
    Compiling the latest Php took less than 12 seconds !!

    This is just incredible how fast is it.
    I find that hard to believe, especially since Apache is several hundred thousand lines long.
    Code:
      '''It takes time!!!''' Do NOT interrupt the process with a '''ctrl-c''', it does not work.
    Either wait or kill the process. If you kill it, you will be better cleaning up the directory
    before retrying the command, there are a lot of meta-files created.
    + So have a coffee. Forget about your micro-wave oven, don't use instant coffee. You have
    plenty of time (10 minutes at least) !
      
    ...
    + Total: 357319
    That means your system is, what, 30 times faster than that, assuming you were compiling approximately the same amount of source code? . . . .

    What does "time <command>" tell you? If it only takes 20 seconds, you won't mind redoing it, will you?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  2. #17
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    Make sure you also clean out the objs and the temporary files. make clean or whatever it is for that sw.

  3. #18
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Sounds like my boss, makes a great sales pitch to people that don't know the technology, but really can't back it up with tangeable results. He gets caught in the 'oh ........ I actually sold it now I have to make it work' trap all the time. Naturally its me that has to make it work.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  4. #19
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,183
    Moreover, I've got 2 x 250 Gb hard drives that are replicated by the OS itself (one of the hot new stuff in the latest kernel), and when it comes to read, the kernel reads from both disks, resulting in a 25-30 % speed up (sorry for my English it's so poor). Same from writing, which makes small copies of files instantaneous.
    That is Linux software RAID. It has been there for quite a few years already. It is used extensively on servers.
    Unless you mean, for example, every even byte is stored on this disk, and every odd byte on the other . . . .
    More or less =).

  5. #20
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,886
    Quote Originally Posted by abachler
    Fast, cheap, works, pick two. If he is tryig to get it cheap then that is a defacto choice. Either he must take the time to find cheap labor that can make it work or he must not take the time, he cannot do both.
    Off topic, but the current SQLite homepage slogan is: Small. Fast. Reliable. Choose any three.

    Considering that SQLite is in the public domain, one could say that it is cheap. Reliable means it works, so effectively the slogan can be expanded to: small, fast, cheap, works, pick four

    Quote Originally Posted by SurferIX
    The bottleneck is... MySQL actually.
    But no, do not go around thinking that SQLite can always serve as a drop in replacement for MySQL, even though for many applications that is the case.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Resource ICONs
    By gbaker in forum Windows Programming
    Replies: 4
    Last Post: 12-15-2003, 06:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21