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. General Programming
  3. C / C++ / MFC
  4. Coding time comparisons across languages

Coding time comparisons across languages

Scheduled Pinned Locked Moved C / C++ / MFC
databasec++csharpsql-serversysadmin
13 Posts 6 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.
  • J Offline
    J Offline
    jspano
    wrote on last edited by
    #1

    Hello, I need a comparison from you guys please. If I gave you a spec for a simple business app. Gui front end with OO backend and sql server database and told you it would take around 1500 hours to do in c#, how long would you say the equivalent in visual c++ would take from your average decent c++ coder? I am not good enough with c++ yet to make a determination for my client. The app is nothing more than db access. Manipulating data in a database. There will be one section that will read from excel and import to the database. What about the same system written in c++ that would run on linux and db2 as a backend? How much overhead would this add to the VC++ version on Windows? Thanks!

    M A 2 Replies Last reply
    0
    • J jspano

      Hello, I need a comparison from you guys please. If I gave you a spec for a simple business app. Gui front end with OO backend and sql server database and told you it would take around 1500 hours to do in c#, how long would you say the equivalent in visual c++ would take from your average decent c++ coder? I am not good enough with c++ yet to make a determination for my client. The app is nothing more than db access. Manipulating data in a database. There will be one section that will read from excel and import to the database. What about the same system written in c++ that would run on linux and db2 as a backend? How much overhead would this add to the VC++ version on Windows? Thanks!

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      you can't really compare (IMHO) ; there are too many factors involved, libraries used, verbosity of the language, facilities of integration with DB (libraries)... and the maintenance factor. if you start talking about multiplatforms, then, your choice of language is reduced, I don't think a version of C# exists on linux yet; and you need to get a good enough toolkit for the GUI for both platforms ( windows and linux ), in that case, you choice is reduced to C and C++.


      Maximilien Lincourt Your Head A Splode - Strong Bad

      J 1 Reply Last reply
      0
      • M Maximilien

        you can't really compare (IMHO) ; there are too many factors involved, libraries used, verbosity of the language, facilities of integration with DB (libraries)... and the maintenance factor. if you start talking about multiplatforms, then, your choice of language is reduced, I don't think a version of C# exists on linux yet; and you need to get a good enough toolkit for the GUI for both platforms ( windows and linux ), in that case, you choice is reduced to C and C++.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        J Offline
        J Offline
        jspano
        wrote on last edited by
        #3

        Yeah, we started doing it in c# then they decided to maybe go to linux. I'm trying to get a feel for how long a write would take in c++. If they do go to linux, it would only have to support linux. If you had open reign to do this project in c++ on linux, knowing it would take about 1500 hours in c# for Windows, can you give me a general comparison? Would it be 3x as long? 6? etc. I just need general numbers.

        J Z 2 Replies Last reply
        0
        • J jspano

          Yeah, we started doing it in c# then they decided to maybe go to linux. I'm trying to get a feel for how long a write would take in c++. If they do go to linux, it would only have to support linux. If you had open reign to do this project in c++ on linux, knowing it would take about 1500 hours in c# for Windows, can you give me a general comparison? Would it be 3x as long? 6? etc. I just need general numbers.

          J Offline
          J Offline
          Jim Crafton
          wrote on last edited by
          #4

          If you want a nice multiplatform C++ toolkit use Qt[^]. The commercial license is a bit pricey (~ $2500 USD) but it is very nice. I would guess the time to be comparable as Qt is a large framework with much of the same functionality as .net, and they have built in database support, which I take it is a big deal for you on a project like this. I'd like to recommend the VCF[^], but unfortunately it's not completely ported to linux, and it has no database support. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned

          J 1 Reply Last reply
          0
          • J jspano

            Yeah, we started doing it in c# then they decided to maybe go to linux. I'm trying to get a feel for how long a write would take in c++. If they do go to linux, it would only have to support linux. If you had open reign to do this project in c++ on linux, knowing it would take about 1500 hours in c# for Windows, can you give me a general comparison? Would it be 3x as long? 6? etc. I just need general numbers.

            Z Offline
            Z Offline
            ZoogieZork
            wrote on last edited by
            #5

            You don't necessarily have to use C++ for the Linux port; depending on your setup, you may be able to use Mono[^] to compile and run the C# app under Linux for a number of different architectures. - Mike

            N 1 Reply Last reply
            0
            • Z ZoogieZork

              You don't necessarily have to use C++ for the Linux port; depending on your setup, you may be able to use Mono[^] to compile and run the C# app under Linux for a number of different architectures. - Mike

              N Offline
              N Offline
              Nemanja Trifunovic
              wrote on last edited by
              #6

              Mono is at 0.3.0 right now. Would you run your production system on a pre-alpha platform?

              J J 2 Replies Last reply
              0
              • N Nemanja Trifunovic

                Mono is at 0.3.0 right now. Would you run your production system on a pre-alpha platform?

                J Offline
                J Offline
                jspano
                wrote on last edited by
                #7

                Yeah, I looked a Mono also, but it's way to early in the game to use it. Won't be ready in time for us either.

                1 Reply Last reply
                0
                • J Jim Crafton

                  If you want a nice multiplatform C++ toolkit use Qt[^]. The commercial license is a bit pricey (~ $2500 USD) but it is very nice. I would guess the time to be comparable as Qt is a large framework with much of the same functionality as .net, and they have built in database support, which I take it is a big deal for you on a project like this. I'd like to recommend the VCF[^], but unfortunately it's not completely ported to linux, and it has no database support. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned

                  J Offline
                  J Offline
                  jspano
                  wrote on last edited by
                  #8

                  Thanks, I'll check it out. Can you give me any time comparisons? If I used Qt can you give me a very rough estimate compared with 1500 hours in c#? Thanks! Price of it doesn't matter...Just roll it over to the client... :-D

                  J 1 Reply Last reply
                  0
                  • N Nemanja Trifunovic

                    Mono is at 0.3.0 right now. Would you run your production system on a pre-alpha platform?

                    J Offline
                    J Offline
                    Jim Crafton
                    wrote on last edited by
                    #9

                    And lets not forget that they are copying a system that Microsoft has *publicly* stated that they are protecting with patents. I simply cannot imagine MS *not* using these at some point if Mono gets any traction beyond the hobbyist programmer. ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned

                    1 Reply Last reply
                    0
                    • J jspano

                      Thanks, I'll check it out. Can you give me any time comparisons? If I used Qt can you give me a very rough estimate compared with 1500 hours in c#? Thanks! Price of it doesn't matter...Just roll it over to the client... :-D

                      J Offline
                      J Offline
                      Jim Crafton
                      wrote on last edited by
                      #10

                      Couldn't tell you. Assuming you learn the Qt API reasonably well (and it looks quite easy and logical, so I can't imagine too many pitfalls in learning it, certainly no more than learning .Net API's), I'd guess the time to roughly equivalent, at least for the GUI implementation. But I'm completely guessing here, sorry I don't have more info for you! ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned

                      1 Reply Last reply
                      0
                      • J jspano

                        Hello, I need a comparison from you guys please. If I gave you a spec for a simple business app. Gui front end with OO backend and sql server database and told you it would take around 1500 hours to do in c#, how long would you say the equivalent in visual c++ would take from your average decent c++ coder? I am not good enough with c++ yet to make a determination for my client. The app is nothing more than db access. Manipulating data in a database. There will be one section that will read from excel and import to the database. What about the same system written in c++ that would run on linux and db2 as a backend? How much overhead would this add to the VC++ version on Windows? Thanks!

                        A Offline
                        A Offline
                        antlers
                        wrote on last edited by
                        #11

                        A project like that that needs to be cross-platform really should be written in Java. Run the same code on Windows, Linux and most other Unixes. Easier to code than C++ (especially since all the platform-compatibility issues are taken care of), rich, mature libraries and plenty of 3rd-party free and commercial stuff you can build from.

                        J 1 Reply Last reply
                        0
                        • A antlers

                          A project like that that needs to be cross-platform really should be written in Java. Run the same code on Windows, Linux and most other Unixes. Easier to code than C++ (especially since all the platform-compatibility issues are taken care of), rich, mature libraries and plenty of 3rd-party free and commercial stuff you can build from.

                          J Offline
                          J Offline
                          jspano
                          wrote on last edited by
                          #12

                          Java is probably the language I know least about. I only need it to run on Linux right now. Is java capable of doing a high volumn call center app? Will it be fast enough? Most of it won't be web based, but client based with a sql server or db2 backend. TIA

                          A 1 Reply Last reply
                          0
                          • J jspano

                            Java is probably the language I know least about. I only need it to run on Linux right now. Is java capable of doing a high volumn call center app? Will it be fast enough? Most of it won't be web based, but client based with a sql server or db2 backend. TIA

                            A Offline
                            A Offline
                            antlers
                            wrote on last edited by
                            #13

                            This type of application is very typical of what people have been using Java to do. IBM's whole Linux push is based on Java applications.

                            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