Like Tree4Likes

What's your code footprint?

This is a discussion on What's your code footprint? within the General Discussions forums, part of the Community Boards category; How many computers in the world are running your code?...

  1. #1
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,236

    What's your code footprint?

    How many computers in the world are running your code?
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,412
    Or you mean maybe what's the reach of your code?

    On my case, my most successful project only has two computers and a load balancer last time I checked some 8 years ago. That's a small footprint. But the public university application, calculation and final results system they run has served close to 300,000 students every year for the past 11 years. It is still the same software I built in 2 months on that hot summer of 2002.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    4,181
    O_o

    Both of these questions seem hard to pin down. What is the limit of contributed code? If you are asking about complete applications, I'd guess that maybe 5000 people played my "rouge-like", and my early "Perl" web stuff was probably accessed by several tens of thousands, but I'd be more likely to forward code on work I can't claim as "mine" in several open source projects.

    Soma
    “Often out of periods of losing come the greatest strivings toward a new winning streak.” -- Fred Rogers
    “Salem Was Wrong!” -- Pedant Necromancer

  4. #4
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,236
    Code that's part of something bigger still counts, as long as it actually executes and contributes something concrete to the software.

    People who contribute code to operating systems (either open source or not) have a big advantage on this one.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,651
    I'm in pagers, mobile phones, POS's and related devices. Is it a coincidence that I wear 6D wide shoes? (I assumed it was from all the barefoot soccer as a yoot. Bunions don't help either.)

    gg

  6. #6
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,597
    Millions! (MySQL patch )
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  7. #7
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,638
    Quote Originally Posted by brewbuck View Post
    How many computers in the world are running your code?
    I'm going to be modest and say zero, but not for lack of trying.

  8. #8
    Registered User
    Join Date
    Oct 2006
    Posts
    2,300
    Software that I have written has been deployed on several thousand computers, and server-side components of that software are accessed by several thousand more. I've also contributed patches to CodeLite, so it's anyone's guess how far that reaches.
    Code:
    namespace life
    {
        const bool change = true;
    }

  9. #9
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    949
    On the conservative side, I'd say somewhere between 50-100. If you include a bunch of small fixes to OpenCASCADE community edition, probably somewhere between 10,000-500,000, a lot of things use OpenCASCADE.

  10. #10
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,236
    I guess I haven't gone yet.

    I have code in Windows, Mac OS X, and several big-name desktop applications. So, guessing conservatively, I'd say 500 million computers but that might be an underestimate. If it was a billion machines I wouldn't be surprised.

    Codeplug: You do embedded, so you're probably way the heck up there as well. I'm starting to get code into such things, so maybe one day I'll crack two billion systems? It's impossible to know.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  11. #11
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    949
    Actually, realizing that I had made an intranet site for a company I worked for, I'll revise my conservative measure to 300-500

  12. #12
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    493
    Quote Originally Posted by brewbuck View Post
    People who contribute code to operating systems (either open source or not) have a big advantage on this one.
    Also cross-platform malware authors(read NSA/GCHQ).
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  13. #13
    Registered User
    Join Date
    Mar 2012
    Location
    the c - side
    Posts
    237
    Quote Originally Posted by brewbuck View Post

    I have code in Windows, Mac OS X, and several big-name desktop applications. So, guessing conservatively, I'd say 500 million computers but that might be an underestimate. If it was a billion machines I wouldn't be surprised.
    Is the code c?

  14. #14
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,236
    Quote Originally Posted by gemera View Post
    Is the code c?
    C++ code.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  15. #15
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,597
    Quote Originally Posted by brewbuck View Post
    C++ code.
    I'm so sorry.
    Last edited by Yarin; 02-05-2014 at 11:12 PM. Reason: grammatical error
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

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

Similar Threads

  1. memory footprint
    By Kempelen in forum C Programming
    Replies: 7
    Last Post: 01-15-2010, 12:27 PM
  2. memory footprint of Dictionary
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-17-2008, 08:39 AM
  3. Performance and footprint of virtual function
    By George2 in forum C++ Programming
    Replies: 8
    Last Post: 01-31-2008, 06:34 PM
  4. to reduce footprint
    By George2 in forum Tech Board
    Replies: 2
    Last Post: 12-19-2006, 12:31 AM
  5. Problem with class member layout (footprint)
    By Osaou in forum C++ Programming
    Replies: 3
    Last Post: 07-24-2006, 11:33 AM

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