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

    1 Offline
    1 Offline
    1 21 Gigawatts
    wrote on last edited by
    #2

    What goes on in a womens head

    "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

    M R 2 Replies Last reply
    0
    • 1 1 21 Gigawatts

      What goes on in a womens head

      "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

      M Offline
      M Offline
      Mustafa Ismail Mustafa
      wrote on last edited by
      #3

      You'd want something tractable! Might as well try to solve P = NP.

      If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

      1 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
        Mustafa Ismail Mustafa
        wrote on last edited by
        #4

        Chris Maunder wrote:

        - comparing large lists

        This one looks like a fun task. Preferably, you'd provide the list so that the competitors would be dealing with the same data. Failing that, traveling salesman is always a cool one. [edit] Ideally, you'd also limit what we can and can't do and what parts of the framework can and can't be used.

        If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

        R 1 Reply Last reply
        0
        • M Mustafa Ismail Mustafa

          You'd want something tractable! Might as well try to solve P = NP.

          If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

          1 Offline
          1 Offline
          1 21 Gigawatts
          wrote on last edited by
          #5

          Mustafa Ismail Mustafa wrote:

          You'd want something tractable!

          Yeah, suppose you're right. Although if that could be created you'd be richer than Google.

          "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

          1 Reply Last reply
          0
          • L Lost User

            How about something with a useful result? (not calling the ones you listed useless) That way even the people who didn't win or didn't even enter get something out of it. Some suggestions: - Deflate (very open to optimization of many kinds, and used everywhere) - BWT (less open to optimization, but there is some room..) - Generic graph colourer (more useful than a specialized sudoku solver IMO) - SAT solver (very useful, lots of room for optimization, been done before but who says we can't do better?)

            C Offline
            C Offline
            Chris Maunder
            wrote on last edited by
            #6

            Great ideas (and idea)

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

            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

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #7

              How about something with a useful result? (not calling the ones you listed useless) That way even the people who didn't win or didn't even enter get something out of it. Some suggestions: - Deflate (very open to optimization of many kinds, and used everywhere) - BWT (less open to optimization, but there is some room..) - Generic graph colourer (more useful than a specialized sudoku solver IMO) - SAT solver (very useful, lots of room for optimization, been done before but who says we can't do better?)

              C 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
                Judah Gabriel Himango
                wrote on last edited by
                #8

                How about a more real-world app, like a Twitter client? Every Twitter client I've seen is terribly bloated.

                Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                R 1 Reply Last reply
                0
                • J Judah Gabriel Himango

                  How about a more real-world app, like a Twitter client? Every Twitter client I've seen is terribly bloated.

                  Religiously blogging on the intarwebs since the early 21st century: Kineti L'Tziyon Judah Himango

                  R Offline
                  R Offline
                  Rama Krishna Vavilala
                  wrote on last edited by
                  #9

                  Yes that's what the world needs: another Twitter Client to launch another DOS attack. On another note, I will not be surprised if Twitter now exercises more control on the API.

                  1 Reply Last reply
                  0
                  • 1 1 21 Gigawatts

                    What goes on in a womens head

                    "...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"

                    R Offline
                    R Offline
                    Rajesh R Subramanian
                    wrote on last edited by
                    #10

                    1.21 Gigawatts wrote:

                    What goes on in a womens head

                    We need 2 liters of Unicorn tears to begin with.

                    It is a crappy thing, but it's life -^ Carlo Pallini

                    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

                      realJSOPR Online
                      realJSOPR Online
                      realJSOP
                      wrote on last edited by
                      #11

                      "Hello world"

                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                      -----
                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                      A 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

                        L Offline
                        L Offline
                        Luc Pattyn
                        wrote on last edited by
                        #12
                        1. I'll do a Towers Of Hanoi in 10 lines for you, if that is what you want. 2) I once did an optimal strategy Mastermind (4 pegs out of N colors, N<10) in 256 bytes of memory BTW: for big problems, are you prepared to look into tons of large solutions, with source files of hundreds or thousands of lines of code? is anyone? :)

                        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 Mustafa Ismail Mustafa

                          Chris Maunder wrote:

                          - comparing large lists

                          This one looks like a fun task. Preferably, you'd provide the list so that the competitors would be dealing with the same data. Failing that, traveling salesman is always a cool one. [edit] Ideally, you'd also limit what we can and can't do and what parts of the framework can and can't be used.

                          If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

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

                          Mustafa Ismail Mustafa wrote:

                          Ideally, you'd also limit what we can and can't do and what parts of the framework can and can't be used.

                          If you're including a/the framework I think you may have already lost. :)

                          M 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
                            M dHatter
                            wrote on last edited by
                            #14

                            How about who could create a WOPR, like in the movie war games.

                            "I do not know with what weapons World War 3 will be fought, but World War 4 will be fought with sticks and stones." Einstein "Few things are harder to put up with than the annoyance of a good example." Mark Twain

                            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
                              J Dunlap
                              wrote on last edited by
                              #15

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

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #16

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

                                L 1 Reply Last reply
                                0
                                • realJSOPR realJSOP

                                  "Hello world"

                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                  A Offline
                                  A Offline
                                  Adriaan Davel
                                  wrote on last edited by
                                  #17

                                  ROFLOL

                                  ____________________________________________________________ Be brave little warrior, be VERY brave

                                  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

                                    A Offline
                                    A Offline
                                    Adriaan Davel
                                    wrote on last edited by
                                    #18

                                    One of the very real life challenges is the riddle of the 8 queens, placing 8 queens on a chess board without 1 being able to 'take' another. A previous employer of mine had the world record in the least number of words used... Also has some nice technology challeges with collections / arrays, recursion, reuse etc

                                    ____________________________________________________________ Be brave little warrior, be VERY brave

                                    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

                                      T Offline
                                      T Offline
                                      Tom Deketelaere
                                      wrote on last edited by
                                      #19

                                      How about this one: http://thedailywtf.com/Articles/Nerds,-Jocks,-and-Lockers.aspx[^] Scroll down the article there is a simulation at the end.

                                      K 1 Reply Last reply
                                      0
                                      • R Robert Surtees

                                        Mustafa Ismail Mustafa wrote:

                                        Ideally, you'd also limit what we can and can't do and what parts of the framework can and can't be used.

                                        If you're including a/the framework I think you may have already lost. :)

                                        M Offline
                                        M Offline
                                        Mustafa Ismail Mustafa
                                        wrote on last edited by
                                        #20

                                        If its in .NET, you can't really do anything without the framework, now can you? :)

                                        If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                                        1 Reply Last reply
                                        0
                                        • T Tom Deketelaere

                                          How about this one: http://thedailywtf.com/Articles/Nerds,-Jocks,-and-Lockers.aspx[^] Scroll down the article there is a simulation at the end.

                                          K Offline
                                          K Offline
                                          Kasterborus
                                          wrote on last edited by
                                          #21

                                          How about a version of Linux that can be shoved onto an iPhone and allows you to do everything the iPhone can't (Such as secure your data/copypasta/interface with something other than iTunes) and also have it boot in half the time, work on the network AND take up say...1/2 the size of the current iPhone OS... Also, it may provide you an interesting sandbox for OTHER "apps" to go on it, and one rule of producing "apps" for this iNix would be that they have to be as small as possible. Oh, and being Free, Open Source, and Public, there would be almost no way for crap to sneak through, as long as everything gets peer checked and can not possibly be any smaller will it be approved for download onto the NixPhone. Just a suggestion...and so much more fun than the others... -Kasterborus Light a man a fire and he's warm for the night, light that man on fire and he's warm for the rest of his life...

                                          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