home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4522 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  2.1 KB

  1. Xref: sparky comp.os.ms-windows.programmer.misc:4522 comp.os.ms-windows.programmer.tools:1840
  2. Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools
  3. Path: sparky!uunet!microsoft!wingnut!stevesi
  4. From: stevesi@microsoft.com (Steven Sinofsky)
  5. Subject: Re: MFC and Borland IDE
  6. Message-ID: <1992Dec30.231117.19312@microsoft.com>
  7. Date: 30 Dec 92 23:11:17 GMT
  8. Organization: Microsoft Corporation
  9. References: <1992Dec16.194955.19597@kth.se> <1992Dec18.035645.3257@microsoft.com> <1992Dec29.164246.22111@netcom.com>
  10. Lines: 42
  11.  
  12. In article <1992Dec29.164246.22111@netcom.com> garylang@netcom.com (Gary Lang) writes:
  13. >"The end result was (quoting the stats from the magazine):
  14. >
  15. >                   OWL      MFC
  16. >Lines of Code     3398      934
  17. >EXE size(bytes) 56,848   46,536
  18. >
  19. >The OWL executable also requires 3 DLLs totalling 312,640 bytes.  MFC
  20. >is a stand-alone EXE.
  21. >-- 
  22. >Steven Sinofsky"
  23. >
  24. >
  25. >Yes, but the results would have been similar if it had ben OWL vs.
  26. >straight SDK calls Steve, and that's the point. The metric that
  27. >matters is: how object-oriented is the app. fw. and is it removed
  28. >enough from the toolbox of the platform to get me out of the business
  29. >of worrying about allocating DCs and so on. For MFC, the answer is no.
  30. >
  31. >If I want speed and size and that's it, I'll code in assembler.
  32. >
  33. >-g
  34.  
  35. Also quoting from the article:
  36.  
  37. "Most articles on Microsoft's MFC say it is a 'thin veneer' or
  38. a 'wrapper' around the Windows native API.  This myth is not substantiated
  39. by the facts.  Metrics such as line count, number of classes, and number
  40. of methods indicate otherwise"
  41.  
  42. "Microsoft was able to implement our sample application using the
  43. fewest lines of code.  In addition, Microsoft's implementation had the
  44. smallest executable and required the least amount of runtime support
  45. from DLLs."
  46.  
  47. Someone in this forum claimed that the MFC example used a dialog
  48. box and that the OWL example did not.  In fact the OWL example
  49. is also coded using this exact same technique.
  50.  
  51.  
  52. -- 
  53. Steven Sinofsky
  54. stevesi@microsoft.com
  55. Disclaimer: I don't speak for Microsoft, BillG does that.
  56.