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. .NET file size? *RANT*

.NET file size? *RANT*

Scheduled Pinned Locked Moved The Lounge
csharpcomsysadminquestionworkspace
24 Posts 13 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.
  • E Eddie Velasquez

    Colin Davies wrote: don't even think its included in XP yet I think it will be included in SP1. Colin Davies wrote: I'm wondering, how long it will take for popular Net apps to appear. I remember when I wondered how long it would take for popular Win32 apps to appear. :) I think it will be pretty soon, at least compared with the Win16 and Win32 adoption rate.


    Eddie Velasquez: A Squeezed Devil
    Checkout General Guidelines for C# Class Implementation

    C Offline
    C Offline
    ColinDavies
    wrote on last edited by
    #15

    Yes, that makes me think about how "ready" .NET is for a 64 bit OS. I guess thats at the compiler level rather than Intermediate Language level. Regardz Colin J Davies

    Sonork ID 100.9197:Colin

    I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

    J 1 Reply Last reply
    0
    • T Troy Marchand

      He must be including the .NET run-time along with the app. Actually .NET applications are generally quite a bit smaller than C++ apps (with the same functionality).

      G Offline
      G Offline
      Gerald Schwab
      wrote on last edited by
      #16

      Actually, thier about the same as long as you don't statically compile with the CRT in your C++ apps. I frequently compile with the ATL library and some of my smaller exe's are only about 4K.

      1 Reply Last reply
      0
      • C ColinDavies

        Yes, that makes me think about how "ready" .NET is for a 64 bit OS. I guess thats at the compiler level rather than Intermediate Language level. Regardz Colin J Davies

        Sonork ID 100.9197:Colin

        I am sick of fighting with Martin, I think I will ignore his posts from here on in, and spend the time working on articles instead. Christian Graus

        J Offline
        J Offline
        James T Johnson
        wrote on last edited by
        #17

        The only type that is bit sensitive would be IntPtr, and it was built to handle that change. The CTS has defined types so that they are strict, unlike C/C++ where only a relation is held between them. Some types defined by the CTS are Int16, Int32, Int64; I think we can all tell what the numbers mean :) While the CTS is 64 bit ready; the CLR is not. Currently there is no 64bit implementation of the CLR; not to say that there won't be there just isn't one yet. James "Java is free - and worth every penny." - Christian Graus

        1 Reply Last reply
        0
        • E Eddie Velasquez

          Mark A wrote: C# doesnt cater to small desktop applications well at all. C# for small desktop applications is like using a rocket engine to get a kite off the ground. Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll.


          Eddie Velasquez: A Squeezed Devil
          Checkout General Guidelines for C# Class Implementation

          C Offline
          C Offline
          Code4Food
          wrote on last edited by
          #18

          Eddie Velasquez wrote: Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll. Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 :( Code4Food ---- "There is no try; only do or do not" -Yoda

          E 1 Reply Last reply
          0
          • P peterchen

            Sounds like the setup had the .NET RunTime included.


            You don't need to sleep to see a nightmare  Anne Clark   [sighist]

            C Offline
            C Offline
            Code4Food
            wrote on last edited by
            #19

            So we don't need to include the .NET runtime? Everytime I build an install I include the crazy MFC24 DLL (if I used MFC) I don't think most systems will have .NET installed on them yet. Code4Food ---- "There is no try; only do or do not" -Yoda

            P 1 Reply Last reply
            0
            • B Bruce Duncan

              His setup included the .NET runtime or CLR, which is 20-25mb (I think...) This is only necessary if the target system does not already have it installed. (Which is probably most systems currently.)

              Bruce Duncan, CP#9088, CPUA 0xA1EE, Sonork 100.10030
              Arthur-Anderson, proud sponsor of the Corporate Make A Wish Foundation.

              C Offline
              C Offline
              Code4Food
              wrote on last edited by
              #20

              Bruce Duncan wrote: (Which is probably most systems currently.) Beat me to saying it :) I to believe most systems don't have .NET yet and the ones that do are development systems :( Code4Food ---- "There is no try; only do or do not" -Yoda

              1 Reply Last reply
              0
              • C Code4Food

                Eddie Velasquez wrote: Right now you're probably right, but in a year or two the .NET runtime will be as readily available in every desktop as shell32.dll, user32.dll or gdi32.dll. Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 :( Code4Food ---- "There is no try; only do or do not" -Yoda

                E Offline
                E Offline
                Eddie Velasquez
                wrote on last edited by
                #21

                Code4Food wrote: Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 .NET's builtin versioning of assemblies prevents this scenario (bye, bye dll hell)


                Eddie Velasquez: A Squeezed Devil
                Checkout General Guidelines for C# Class Implementation

                C 1 Reply Last reply
                0
                • E Eddie Velasquez

                  Code4Food wrote: Yeah but if they keep changing it like MFC then we have to distro apps with that anyways like I do now with MFC42 .NET's builtin versioning of assemblies prevents this scenario (bye, bye dll hell)


                  Eddie Velasquez: A Squeezed Devil
                  Checkout General Guidelines for C# Class Implementation

                  C Offline
                  C Offline
                  Code4Food
                  wrote on last edited by
                  #22

                  That sounds good what about the fact that people can decompile your code/dll? Are they going to solve that? Code4Food ---- "There is no try; only do or do not" -Yoda

                  E 1 Reply Last reply
                  0
                  • C Code4Food

                    So we don't need to include the .NET runtime? Everytime I build an install I include the crazy MFC24 DLL (if I used MFC) I don't think most systems will have .NET installed on them yet. Code4Food ---- "There is no try; only do or do not" -Yoda

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #23

                    rememebr that the .NET runtime is, does and replaces much more than just MFC + VCRT. Yes, it's like bundling the entire system32 directory. We all hope that it#s getting better.


                    You don't need to sleep to see a nightmare  Anne Clark   [sighist]

                    1 Reply Last reply
                    0
                    • C Code4Food

                      That sounds good what about the fact that people can decompile your code/dll? Are they going to solve that? Code4Food ---- "There is no try; only do or do not" -Yoda

                      E Offline
                      E Offline
                      Eddie Velasquez
                      wrote on last edited by
                      #24

                      Well, there are pretty good decompilers for native code (granted, the output isn't as nearly as complete as an IL decompilation) and that hasn't stopped development. There are superb Java decompilers and that hasn't stopped java development either. There are good .NET obfuscators that will deter most reverse engineering, but if your code is so sensitive it shouldn't be out there anyway, expose it as a web service or something.


                      Eddie Velasquez: A Squeezed Devil
                      Checkout General Guidelines for C# Class Implementation

                      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