Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Anti-Bloatware competition

Anti-Bloatware competition

Scheduled Pinned Locked Moved The Lounge
c++comalgorithmsarchitectureperformance
35 Posts 24 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Maunder

    This article[^] got me thinking about something that is dear to my heart: the loss of the art of staying lean and mean. I'd like to run a fun competition to see who can write the leanest, meanest, most efficient (power, memory, cycles - you name it) solution to a standard problem. Any suggestions on what that problem should be? - travelling salesman - towers of hanoi - soduko solver - sorting / filtering - comparing large lists - ...?

    cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

    M Offline
    M Offline
    Mark_Wallace
    wrote on last edited by
    #23

    A couple of years after Pentiums came out, I was still testing all my code on an old 486 with bugger-all memory. That made a lot of users happy. Games developers should be forced to do the same thing.

    I wanna be a eunuchs developer! Pass me a bread knife!

    R 1 Reply Last reply
    0
    • C Chris Maunder

      This article[^] got me thinking about something that is dear to my heart: the loss of the art of staying lean and mean. I'd like to run a fun competition to see who can write the leanest, meanest, most efficient (power, memory, cycles - you name it) solution to a standard problem. Any suggestions on what that problem should be? - travelling salesman - towers of hanoi - soduko solver - sorting / filtering - comparing large lists - ...?

      cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

      M Offline
      M Offline
      Moreno Airoldi
      wrote on last edited by
      #24

      It's a great idea! I'd probably vote Travelling Salesman or Comparing Large Lists. The latter sounds particularly suited for memory & computing power optimization. :) We should also set some basic rules. For example, only the core algorithm would count for comparison between solutions, while input data loading, results printout, etc. would not. I would think .NET, Java and dynamic languages should be banned from such a competition... there's no way they could win against C/C++, asm etc. int terms of memory usage and performance.

      2+2=5 for very large amounts of 2 (always loved that one hehe!)

      1 Reply Last reply
      0
      • J J Dunlap

        Chris Maunder wrote:

        Any suggestions on what that problem should be? - travelling salesman - towers of hanoi - soduko solver - sorting / filtering - comparing large lists - ...?

        Or image processing, like maybe flood fill[^]? </shameless-plug> :-\ :-O Seriously, that sounds like a great idea! We aren't anywhere close to achieving the best use of the memory and processing power available to us, because most people don't make it a priority anymore.

        R Offline
        R Offline
        Reelix
        wrote on last edited by
        #25

        How about a full particle system whilst you there :) Havn't found any decent ones ;p

        -= Reelix =-

        R 1 Reply Last reply
        0
        • P PIEBALDconsult

          I don't think I'd take on anything that difficult/involved just for fun; how about: Sieve of Eratosthenes Levenstein Distance

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #26

          PIEBALDconsult wrote:

          Sieve of Eratosthenes

          Mmm. That must be lingering around somewhere. :)

          Luc Pattyn [Forum Guidelines] [My Articles]


          The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


          1 Reply Last reply
          0
          • M Mark_Wallace

            A couple of years after Pentiums came out, I was still testing all my code on an old 486 with bugger-all memory. That made a lot of users happy. Games developers should be forced to do the same thing.

            I wanna be a eunuchs developer! Pass me a bread knife!

            R Offline
            R Offline
            Robert Surtees
            wrote on last edited by
            #27

            I still use 3 pentium 200 Mhz machines on a daily basis for the system I maintain. Also an old AMD K62 that is still hanging in there. The rest of the system has been upgraded to P4's :-D

            M 1 Reply Last reply
            0
            • R Robert Surtees

              I still use 3 pentium 200 Mhz machines on a daily basis for the system I maintain. Also an old AMD K62 that is still hanging in there. The rest of the system has been upgraded to P4's :-D

              M Offline
              M Offline
              Mark_Wallace
              wrote on last edited by
              #28

              P4s!!! Wow! You can use TONS of memory with the average P4 system!

              I wanna be a eunuchs developer! Pass me a bread knife!

              R 1 Reply Last reply
              0
              • M Mark_Wallace

                P4s!!! Wow! You can use TONS of memory with the average P4 system!

                I wanna be a eunuchs developer! Pass me a bread knife!

                R Offline
                R Offline
                Robert Surtees
                wrote on last edited by
                #29

                :laugh: Just checked one of my test work stations... 50meg still free of 64meg available. Still room for expansion!

                M 1 Reply Last reply
                0
                • R Robert Surtees

                  :laugh: Just checked one of my test work stations... 50meg still free of 64meg available. Still room for expansion!

                  M Offline
                  M Offline
                  Mark_Wallace
                  wrote on last edited by
                  #30

                  You could try the Adobe standard, of loading every font on the system into memory independently for each Adobe app that's running. Or have Day of the Tentacle and DooM running in the background.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  1 Reply Last reply
                  0
                  • C Chris Maunder

                    This article[^] got me thinking about something that is dear to my heart: the loss of the art of staying lean and mean. I'd like to run a fun competition to see who can write the leanest, meanest, most efficient (power, memory, cycles - you name it) solution to a standard problem. Any suggestions on what that problem should be? - travelling salesman - towers of hanoi - soduko solver - sorting / filtering - comparing large lists - ...?

                    cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                    S Offline
                    S Offline
                    stephen hazel
                    wrote on last edited by
                    #31

                    Language is kind of key here. And a lot of "lean and mean"-ness comes from linking correctly. To get rid of stuff in the C runtime library you don't need (want). Hello world is really pretty huge with a default c++ build. c# brings in tons of code at runtime that you didn't write, but the .exe can be teeny. In asm, it's not a lot bigger than the size of the string. So I'm hoping that describing your custom build will be part of the entry :) ...Steve

                    R 1 Reply Last reply
                    0
                    • C Chris Maunder

                      This article[^] got me thinking about something that is dear to my heart: the loss of the art of staying lean and mean. I'd like to run a fun competition to see who can write the leanest, meanest, most efficient (power, memory, cycles - you name it) solution to a standard problem. Any suggestions on what that problem should be? - travelling salesman - towers of hanoi - soduko solver - sorting / filtering - comparing large lists - ...?

                      cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                      K Offline
                      K Offline
                      kmoorevs
                      wrote on last edited by
                      #32

                      Sudoku Solver?

                      1 Reply Last reply
                      0
                      • R Reelix

                        How about a full particle system whilst you there :) Havn't found any decent ones ;p

                        -= Reelix =-

                        R Offline
                        R Offline
                        Rachel Mant
                        wrote on last edited by
                        #33

                        Try Blenders: http://www.blender.org/ I've been using it tones over the last month and I can say 2 things: 1) it's really fast, and 2) it produces fabulous results, esp in hair-generation mode. You might just like it as an un-bloated particle system.

                        The worst thing about the darkness is the light at the end - DX-MON

                        1 Reply Last reply
                        0
                        • S stephen hazel

                          Language is kind of key here. And a lot of "lean and mean"-ness comes from linking correctly. To get rid of stuff in the C runtime library you don't need (want). Hello world is really pretty huge with a default c++ build. c# brings in tons of code at runtime that you didn't write, but the .exe can be teeny. In asm, it's not a lot bigger than the size of the string. So I'm hoping that describing your custom build will be part of the entry :) ...Steve

                          R Offline
                          R Offline
                          Rachel Mant
                          wrote on last edited by
                          #34

                          Why not use an Assembler such as NASM which comes with it's own linker then? :P

                          The worst thing about the darkness is the light at the end - DX-MON

                          1 Reply Last reply
                          0
                          • C Chris Maunder

                            This article[^] got me thinking about something that is dear to my heart: the loss of the art of staying lean and mean. I'd like to run a fun competition to see who can write the leanest, meanest, most efficient (power, memory, cycles - you name it) solution to a standard problem. Any suggestions on what that problem should be? - travelling salesman - towers of hanoi - soduko solver - sorting / filtering - comparing large lists - ...?

                            cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                            J Offline
                            J Offline
                            JasonPSage
                            wrote on last edited by
                            #35

                            Hi Chris, I don't have time to get involved in any kind of competition here but I am an advocate for lean and mean code and I often feel like a martyr... I am glad I'm not the only one who thinks the art of writing code that runs efficiently is a worthwhile effort! (Layers of bloat and converting every desktop app to web based is hardly progress in my opinion. Can you imagine how fast our software SHOULD be running on the hardware we have? Well it would if it was written effificently without tiers and tiers of bloat!) --Jason

                            Know way too many languages... master of none!

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups