CB & VC classic discussion (very an article!)?

zhaozj2021-02-17  48

Sender: Topazy (cool jug), letter area: C Builder Title: CB & VC Classic Discussion (very long article!)? Sending station: BBS Shuimu Tsinghua Station (THU AUG 31 12 : 26: 49 2000) View problems and answer serial number 25 Please express your comparison with Visual C and Delphi / C Builder Wenyy from http://www.vchelp.net: Visual C and Delphi / C Builder comparison of: milk vetch JasonCrazy@sina.com http://jacafe.webprovider.com If you have any opinion, please discuss in the online discussion. If you write to the webmaster, "Comparison of Visual C and Delphi / C Builder" may be a bit boring, but since there are many people on the Internet to argue this topic, maybe such a text is not worthless. I think your website "Academic Atmosphere" is relatively strong, and people are also friendly in the new chat room. (Maybe because everyone will come together for the same goal. ^ _ ^) I will send this one may have controversial Dongdong. This article welcomes discussion, also welcomes criticism, from language to content. The text often sees a friend in the 9CBS and other forum posts, ask Visual C and C Builder, these two heavyweight development tools are excellent (more is to ask Visual C and Delphi. " This article is trying to compare them from the technical level, ease of use, stability, and development prospects. Since Delphi and C Builder are the INPRISE products, share integrated development interface (IDE), and use the same set of VCL frameworks (this most important), their debuggers, PVCS / TeamSource team development support, database engine and Other advanced features of integration in the Enterprise Edition are the same, so this article will be classified with C Build Er into the "same display". I saw some Delphi programmers to think that C Builder is relatively close, this is a misunderstanding. In fact, Delphi and C Builder differ in except for the language used, the rest is almost the same. To avoid topics to the C language with the Object Pascal language (ie, the language used by Delphi), the following main focus on the analysis of Visual C and C Builder. First, the ratio is compared from their application framework (APPLICATION FRAME, sometimes referred to as an object frame). The framework used by Visual C is MFC. The MFC is not only a class library that people usually understand. (Similarly, the concept of VCL used by Del PHI and C Builder is not just a control library.) If you choose MFC, you select a program structure, a programming style. The MFC appeared in the era of Windows 3.x, and the VISU Al C is still 16 bits. After these years, the MFC is already very mature. However, because the prototypes have been earlier, the MFC has been behind the VCL behind the VCL.

Although Microsoft's update to MFC did not stop, I often read "As long as Windows, MFC will not overtime", but just like Inprise (original Borl and) OWL framework, MFC Fade out is also a morning and evening. If the MFC youth is always stationed, Microsoft's developers will not "privately" to develop ATL-based WTL. Of course, the status of the WTL cannot be compared with the MFC, which is not a framework of micro-soft official support, and the functionality of the package is quite limited. However, at least it is also lined out of the lack of MFC. I thought that the advancement of an application framework is its entrustment model, that is, the package mechanism for Windows messages. (Don't say it for Windows API. Datong, there is no technical content. If you are happy, you can write a class library to encapsulate. But you are not so easy to pack the Windows message driver mechanism.) Natural package is a virtual member function. If you want to respond to a message, you will overreload the corresponding virtual function. But I am unexpected, MFC uses "ancient" macro definition method. The advantage of using macro definition methods is to save system overhead of virtual function VTABLE. (Due to a lot of WINDOWS, the overhead is not too small.) However, the shortcomings brought about the map is not intuitive. Good ClassWizard, which is better than the new version of the VC, can automatically generate a message map code, and it is still more convenient to use. However, the mapping method of the MFC is too late compared to the VCL's entrustment model. The C Builder has expanded the C language to introduce new features such as components, event processing, attributes. Since Kung Fu is done in the compiler level, the source code generated is very simple. However, due to the expanded non-standard characteristics, the source code of C Builder using VCL cannot be compiled by other compiler. The MFC's work is done in the source code level, although the message mapping code is more complicated and not intuitive, but the compatibility is very good. As long as you have the source code of the MFC library (with the VC enterprise version of the CD), your MFC program is theoretically compiled with any ANSI standard compiler. C Builder 3 or above can be directly compiled directly to the Visual C program. Many people think this is the compatibility of C Build ER. It is actually a large extent to be due to the compatibility of the MFC. Microsoft's hard work is written by the standard method, but it is easy to manufacture for the opponent. I don't know why they do? Because C Builder extends language, VC cannot compile C Builder program. It seems that VC is to be lost to C Builder in this regard. Moreover, the components, attributes, etc. supported by the VCL are the lack of MFC. Although VC can also support components, it is not as simple as VCLs through Mr. APPWIZARD. Many people use C Builder to rush on the container on the control panel, and the VC can use a lot of components (maybe not less C Builder), but because it is inconvenient, the RAD programmer is not Attractive. The C Builder's VCL is an exception handling than the other features of the MFC of Visual C . But the rid of it is that its exception handling code has bugs, sometimes unvermnible. I don't know if there is any correction in the latest version. The frame MFC of the VC is not a place. After that, there have been so many years of development and improvement, and the MFC function is non-comprehensive, and it is very stable. BUG is very small. Among them, you may have more bugs. And there are third parties of specialized tools to help you avoid these bugs. This is not easy to do this. Don't underestimate this, many professional programmers are to choose VC for this.

The BUG of C Builder's VCL is relatively, and some of them have errors with the sample program. It seems that inprise has a long way to go. Compare it from their ease of use. VC has a series of tools such as ClassWizard, SourceBrowser, also attached to Visual SourceSafe, Visual Modeler, etc. Visual Modeler, which is easy to use. (VC self-modeling tool Visual Modeler, may illustrate that it is an engineering-level development platform, different from C Builder.) The MSDN "developer's encyclopedia" it belongs is to let you "I haven't found it, only I can't think of". And its small functionality such as AutoComplete is also more than the C Builder. Although the new version of C Builder also provides this feature, it has to wait for a few seconds, sometimes you will stop the mouse in one place, and wait for the hard drive to ring a few seconds, this is 566MHz Celeron II. Don't laugh at me trivial, sometimes the maturity and ease of development, is from these small places. C Builder acts as a RAD tool, it should emphasize easily. However, it is still not mature than VC. This should not be. Let's take a look at their portability. Inprise is developing C Builder and Delphi's Linux version, the code is Kylix. Perhaps through Kylix, a Windows program written in a VCL architecture is possible to transfer to Linux. But this is just possible. Because it is not good to work in the current Inprise compatibility. C Builder can compile VC programs and you have to use Microsoft to write MFC using standard methods, and its own compatibility between its own versions is not very good. Low versions of C Builder cannot use high versions of VCL components (which don't say it), and high version of C Builder can't use low version of VCL components. It's really this, I rarely see that the software is not compatible. If Windows 98 cannot run 95 programs, Windows 95 cannot run 3.x, Win 3.x cannot run the DOS program, do you still use Windows? If it is not the other of C Builder too good, the light is not compatible, it is enough to let me abandon it. Moreover, although C Builder can compile Delphi's Object Pas CAL code, C Builder can still use VCL components developed for Delphi. So a component has a different versions of these different versions of the FOR D1 / C3 / C5 / C5, and the upgrade of the C Builder version can also increase. I hope that Inprise can solve the compatibility problem of the same brother. And Microsoft's VC is not œ. The program of MFC 1.0 can also be compiled under VC6.0 without barrier. Let's take a look at their prospects. In fact, the advancement of technology is many times. At the beginning, BO RLAND Turbo C and Borland C were almost unique. Microsoft's Quick C (now someone knows this product?) And Microsoft C / C have never become mainstream. But how many years is Borland C ? Soon, I was pressed by the newly rising Microsoft Visual C / C . The current C Builder has a later situation, and if the stability is improved, BUG is less, and it is hoped to become mainstream.

But the overall strength of Inprise is not Microsoft, which is not a context. From the Known Issue S section from the Release Notes of C Builder 5, and their help documents can be seen. (Which other product helps can be better than MSDN than?) Inprise should learn from Netscape, do not let C Builder become the second Netsca PE Communicator. (Communicator is also a leading technology, and even occupied most browser markets, but it seems to be lack of strength, and there are more than 6.0 pr1, 2, and now I've can't do it by IE.) C buil der is Inprise One of the flagship products, the prospect should be more optimistic, and Inprise has already entered Linux, and Microsoft has not moved late. Is it necessary to go to Linux? (Maybe it has become the original trend) will then rise Occupy this emerging market? It seems that their attitude towards Linux has a sluggish response to the Internet a few years ago. But later ... Hey, I hope that Inprise does not step back to Netscape. C Builder is a very promising development tool. Unfortunately, the founder of Inprise Delphi has already hopped to Microsoft to host Visual J project. I hope that INPRISE is not too big. What is the prospect of Microsoft Visual C ? Visual Studio 7.0 will soon be launched. I don't know if I can't catch up with C Builder on the advancement of the technology while maintaining stability. In addition, this version will strengthen the characteristics of network development. It seems that Microsoft is judged, the development strength is not a discount. For technology (mainly referring to the application framework), C Builder is currently leading to Visual C . But there are few less unsatisfactory, let me "I don't want to say that I love you". Although VC has been very perfect today, the MFC framework is already a tomorrow. If MFC is not used, there is no suitable alternative. The WFC is support components, attributes, but that is Visual J ; ATL is also very advanced, but it is used to develop COM / ACTIV EX; based on ATL's WTL is also good, but unfortunately is not official work, it is not necessarily VCL advanced. Microsoft recently proposed C # (read as C Sharp) language scheme, but it belongs to the same class as Java. It seems that it is gold and boys. Do your choice based on your needs. In fact, Visual C and C Builder are not just a single competitive relationship. They do not overlap in many fields, even complementary. How to pay, to decide on your project characteristics. If you develop something on the system, it takes excellent compatibility and stability, select Visual C . You can only call the various APIs of Window S without MFC. If you write traditional Windows desktop applications, the Visual C MFC framework is "orthodox". If you develop databases for enterprises, high-level applications such as information management systems ("high-level" are relative to "low-layer / underlying", not technically advanced or low.) And have a tight time limit limit, select C B Uilder is better. If the language you use is Object Pascal, Delphi is the only choice (if the free compiler such as GNU PASC Al is not considered).

If you originally use Delphi (Object Pascal language), you want to change C , you should first use C Builder. The familiar interfaces and the same frame will make your transition half a time. In addition, although the MFC has been revealed, it is not worth learning. In fact, I don't learn MFC is equal to no learning VC. Using the MFC framework development procedure is still the mainstream mode currently developing desktop applications, and it remains a considerable time. Even if you don't use the MFC framework, take some time to learn the MFC package mechanism is also very beneficial to the OOP mechanism you are familiar with C and the Windows underlying function. Above comments are for reference only. If there is anything, please discuss in an online discussion.

The devil blows the flute to come from the sky, it is dead. Huang Tian is standing. The era of C / C is falling. Don't think that this topic is sensational, but seeing C / C , it is necessary to exit the stage or say One thing is needed to be updated. I want to be one of the standards of the programmer level as one of the standards of the programmer, which will give three programming languages, 1. SUN C # 3.xml on the Java2.Windows platform says, why do I think that the biggest reason is that the current application is from an independent operating system to the Internet platform. We previously developed applications depending on the platform Function call, MFC, BCB are like this. Now, now the hot Internet programming is the most concerned about the call of a platform. For example, if you want to implement B2B e-commerce, you need to do the integration of different platforms, if I am a program My most Care is how to implement communication and management between business logic instead of various platforms. Then, our most urgent needs is a language that is not related to various platform calls, which focuses on program logic design. Does not involve the call of the platform. The C / C we are familiar with is not designed for this (Herh does not blame C / C who can know now INTERNET). C initial design purposes It is to design Unix produce a language between compilation and high-level languages. He is a language that is highly performance in a high-level language. He has to care about the physical structure of the system than any other high-level language, such as a pointer that has been destroyed. The reason why the pointer should be in response to the management of system physical memory. He can make programmers and systems a translucent state. But this is the translucent state to bring more unstable stability. Sex. C / C does not have any advantages in the programming of the Internet. Cross-platform e-commerce software is most afraid to take into account the paralysis between the various platforms, and the most fear of time from time to time due to memory leaks Crash. The advantages of .C / c have become disadvantage here. Even in the Windows platform, develop Windows DNA-based Solutions DCOM instead of VB do DCOM instead of VC's ATL, because C / C is efficient but too It is easy to make mistakes. If it is not very careful release of memory NT soon, it will be short-lived. Java is the first to see this situation, and he uses JVM to realize the platform-independent memory recycling. But quite a lot of C / C Programmers complain that Java is too slow. It is indeed a big problem even when Java2 is still. I used to be a C / C. Resolutely support in many forums and Java programmers. But I gradually realized that Java's speed problem is often a small flaw when it is facing the in Ternet platform rather than a specific operating system. We can Imagine that e-commerce website will use our hand's PC to do server, they are not Sun's E1000 is IBM's RISC6000. Java on this platform is just a peice of cake. Programmer only needs to focus on business logic Programming, not necessarily concerned if the array is off-border, whether the memory is released, no need to care if the Unix and Windows system calls are different. Microsoft's C # can be said to be a java and C / C hybrids, he can recover memory It can be independent of the platform. But he can implement some of the functions of Java, such as using a pointer yourself in the marked program segment, you can realize the overload of the operator. Why do I think I maybe C # still shoulder The task-oriented operating system, for example, Winform. He basically thinks and Java, but the implementation method is not the same. He doesn't explain the middle code through JVM, but the source code compiles to P code and then passed through the CLS library and JIT The platform is compiled into a 100% local code. His PE code is independent of the platform, but CLS and JIT are designed according to different platforms. Therefore, the platform of C # is independently similar to C / C

Transplant on different platforms makes C # more quickly than Java. And Microsoft also promised CLS and JIT not only for C #, but also in the future, all programming languages ​​can be platform-independent. (MS is really poison, all language platform does not have Java's advantage, it is said that MS is developing Pascal Smaltalk's ASP ). XML Many people may think of language and C / C , Java, C / C , Java, C # A grade language. Actually, we know that it is nothing to implement by unified formation calculations, whether it is a unified formation calculation. Then you must pay a point in performance. And the XML can achieve a different language call. For example, a network holder Javian uses bean to implement a shipping function, and another website implements a warehousing function with DCOM. If this website needs to implement B2B, with a general way to write a converter between them. And XML passes tag Language to describe their excuse features. Both ends implement mutual calls by parsing XML text, without any intermediate conversion program, as long as an XML text can implement communication between beans and DCOM (to be clear, there is a lot of mechanisms) XML concept If you are interested, you can go to MSDN.Microsoft.com/xml or www.s3c.org to see). The core technology SOAP in the .ne T of MS is completely XML-based far process call. Introduced there are so many It may be a little bit, in fact, I want to say is that the 21st century programmers should come out from the traditional way of operating system, learn how to facilitate the technology and concepts of the Internet platform. Don't be in the fearless C / C tool Well-like places to argue. I can't think of BCB or MFC. It's not BCB or MFC. It is good. As for the XML, it is Sun and SUN and MS, such that any of the world's large IT includes Intel, HP is struggling to study technology, and it may be eliminated without learning. As for C / C , it may fall to the status of the current assembly in certain systems. Can see it. If it is a beginner of the programming language, then I suggest that Java pays attention to C #, they first more than C / C simple macro, pointer, touch version, etc. Let people feel the concept of the mind. And it is complete Object-oriented, more good learning than C / C half tonar. (I recommend learning Java, after all, C # yet released, and just released Bet A version of the compiler requires high scary need Win2000 Adv Server Don't want to run 128M memory. If you come back to C # and Java, there is no big difference. Trying to learn the future C # will be believers in the future.) The value of the current Windows is still a little. But it is not too big. At least you can be familiar with Windows inner mechanism. But I still recommend paying attention to C # future Windows.net is based on C # instead of MFC. And C # is simple to easily implement a simple Windows desktop application C # development The speed is the two to three times the MFC and the loss of performance. VISUAL Studio 7.0 will be a secondary development tool to the most important development tools are C # and VB7.0. As for Borland, I don't want to follow. MS walks at least the Windows platform is said that there is a C # Builder coming out next year. It is the main product of Borland instead of C Buil Der. Say a joke Wenny, can change here will become www.c # Help .NET ZHANGXIUYONG comes from http://www.ucancode.com: Actually, I think that for Visual C itself is not as simple as it comes to you, Microsoft is going to provide a developer when developing Visual C . Reliable development platform, easy to write all kinds of applications on Windows, including: database applications, hardware drivers, web programs, multimedia programs,

The game program and other aspects, try to consider how much problems need to be considered if a development platform has to do so many aspects of development tasks, so Visual C considers a set of class libraries instead of providing black boxes Developing components to complete development tasks, the supplied library MFC has a flexible design structure, as well as good inheritance, simultaneously with the DVS text-making view structure to organize program development, although we recognize the use of VC development processes (database procedures There is no other RAD development tool to come quickly, but if you really use VC to develop, you will think you will not choose other development tools, I heard how many developers are skilled in VC. Does the teacher turn to VB and DEPHI development tools, of course, the DVS structure itself has a lot of weaknesses, if it is difficult to reuse. It is impossible to neitcate CVIEW in CVIEW. However, for the development of small and medium programs (programs within 500,000 rows are OK). For a large-scale program I think it is best to learn from a new technology called MVC development technology to organize your program. I have a good word, I only represent the words of the individual, if you are interested in: http://www.ucancode.com Take a look. ZHANGXIUYONG comes from http://www.ucancode.com: In fact, I think that for Visual C itself is not as simple as you talk to you, Microsoft is going to provide a reliable development for its developers when developing Visual C . Platform, easy users to write all kinds of applications on Windows, including: database applications, hardware drivers, web programs, multimedia programs, gaming programs, etc., Imagine if a development platform should do so many developments at the same time. The task is to consider how much problem, so Visual C considers a set of class libraries instead of providing black box-based development components to complete the development task, and the available library MFC has a flexible design structure. And good inheritance, simultaneously with the DVS textbook structure to organize program development, although we recognize that the use of VC development procedures (database procedures) does not have other RAD development tools, but if you truly use VC to develop You will think that you will not choose other development tools, I have heard how many developers have turned from VC skilled developers to VB and DEPHI development tools, of course, the DVS structure itself has a lot. Weakness, if it is difficult to reuse. It is impossible to neitcate CVIEW in CVIEW. However, for the development of small and medium programs (programs within 500,000 rows are OK). For a large-scale program I think it is best to learn from a new technology called MVC development technology to organize your program. I have a good word, I only represent the words of the individual, if you are interested in: http://www.ucancode.com Take a look.

ZHANGXIUYONG comes from http://www.ucancode.com: In fact, I think that for Visual C itself is not as simple as you talk to you, Microsoft is going to provide a reliable development for its developers when developing Visual C . Platform, easy users to write all kinds of applications on Windows, including: database applications, hardware drivers, web programs, multimedia programs, gaming programs, etc., Imagine if a development platform should do so many developments at the same time. The task is to consider how much problem, so Visual C considers a set of class libraries instead of providing black box-based development components to complete the development task, and the available library MFC has a flexible design structure. And good inheritance, simultaneously with the DVS textbook structure to organize program development, although we recognize that the use of VC development procedures (database procedures) does not have other RAD development tools, but if you truly use VC to develop You will think that you will not choose other development tools, I have heard how many developers have turned from VC skilled developers to VB and DEPHI development tools, of course, the DVS structure itself has a lot. Weakness, if it is difficult to reuse. It is impossible to neitcate CVIEW in CVIEW. However, for the development of small and medium programs (programs within 500,000 rows are OK). For a large-scale program I think it is best to learn from a new technology called MVC development technology to organize your program. I have a good word, I only represent the words of the individual, if you are interested in: http://www.ucancode.com Take a look. Wenyy comes from http://www.vchelp.net: I agree to the evil to blow the flute. After all, the VC development speed is slow, and the large-scale improvement of hardware speed has opened up roads in Java, but The purpose of Microsoft.Net is to change the management of MS to a certain extent, and the development relationship is not very large, but the consistent policy of MS is to provide developers on the platform, so C # is for .NET service. In addition, I think I have no energy to make a C # help.net. :-P Fruit from http: //: "Devil Blowing" is a class of programmers who compare "avant-garde". People who listen to the industry have repeatedly said that Java is also a hot thing, but it is actually, everyone can see it. As for the C / C development tool (VC, BCB, etc.) to withdraw from the market within one or two years, it is nonsense. Wesley comes from http: //: Demon blows flute, your point of view is highly inspired. Can you write an article or recommend an analysis of the Java development tool? For example, Visual J , JBuilder, and Symantec and IBM correspondence tools.

(Maybe and the original intention of this site is somewhat ^ o ^) Leocn from http://: it's not a time for US to DETERMINE Which Language Will More Better! In Factly, In China CODES for Enterprise's MIS MIS , OA, ERP or other application.it do not need, more, more, more, more, more, more ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Codes We Write Today Will Be Useless.and There R So Many Easy Tools Such As Vb for Windows Designer, Developer / 2000 or PB for Database, Domino Designer Fo R OA Application, Why C ??? in dos mode. I like Turbo C2 .0, with it and masm i can do everything. But now i Hate C , IT HAS Waste My Time! My Corporation Do Not NEED C , Just Need Java, XML, PHP, PB, VB, Delphi, Developer / 2000, Domino Designer ETC. SO, A TOOL IS JUST A TOOL, IF The Advantages In Some Aspect Of The Tool U NEEDEDEDEDEDEDEDEDEDEDOTORED. OTHERS IT CAN BRING U UNFORTUNAT LY! Demon blows the flute From: Fruit, Domestic Java application is less than 10% is basically MS world. These may be due to the size of China's software industry is too small. And 40% of business systems in foreign countries are Java, C / C is not To 10%. For example, a company with 3 Java programmers developed the first J2EE-based Application Server --- WebLogic.Bea relying on WebLogic in just 4 years to become the world's fourth largest software company only Second to CA. It can be seen that the function of Java is powerful. Microsoft's .NET's person in charge said that you want to know what .NET is like, then see what java.ja va is. Net is what is like? Demon blows flute from http: //: Wesley Hello. About Java development tools. From my point of view, the current Java development tool is not satisfactory. The most important thing is, in technology Too many considers, but it is not like MS development tools to take into account the convenience of programmers (VJ is another thing for me. Basically popular is Sun JDK, IBM Visual Age for Jave, Samtic Visual Cafe, and Bor Land JBuilder (VJ basically no one). In these tools, JDK is old brother, but just a Command Line Compile. In some ways, ULTREDITOR JDK will be more convenient, For example, your machine has a low configuration comparison (Memory <

64M). In general, almost all machine configurations needed by all Java tools are relatively high. Visual Cafe is the first Java IDE tool that can be used. I used this when I learned Java. Its configuration requirement is relatively low. Some lower versions such as 1.5 2.032m can be used. But now the latest version 5.0 is relatively high, but unfortunately, the version after 2.0 has not been used. Cafe's IDE development is not very convenient, understand a window Western The window is more chaotic. And BUG is still much. Sometimes trace to a certain place will be Crash.Samtic is a system security company. I don't know why Cafe is so unstable. And from the technology, I have not fully supported Java2. Don't say J2EE. From help, the help of Cafe is basically a special place for JDK help. IBM's things are often blowing better than doing. Visual Age is very complex function. Support 100% PURE Java and J2EE. But it is not convenient to use a class path to find a half-day HELP. Later, he listened to others to set the environment variable below to success. And it is not as good as the Visual Age. Nd Line sets a Windows shell. Make Application, you have to write the Layout code. JBuilder is the best one I am experiencing, it is basically the same as Delphi C Duilder. He is the first A true Java RAD system, the first fully supported J2EE 13 Java technology (Bean, JSP, RMI is implemented) .100% of Pure Java. Pretty comprehensive Help Document. But his biggest disadvantage is The system requires high, no 128m Don't want to use. 64m is slow like a turtle, Help is not able to open (it's Help is 64m written by Java, open Help slow can see a single AWT window process But no matter how he is a more ideal system. As for Visual J . MS is not wanting to use him to open the Java market, but want to use him to split Java. From a large extent, VJ is a Windows program. He is not 100% Pure Java. He is the most Visual on the Windows platform. Use him to develop Application, you don't have to use complicated layout, just fill in coordinates like VB, and developed Windows The order speed is fast 100% local code. You can see it into a Java version of VB. His WFC library is only available on Windows, and Java and COM have been bundled together. He developed JVM, Java library. However, MS contaminated Java's strategy is quite successful, not only the Java's walking of the Java has won Sun's Java lawsuit. Therefore, the purpose of MS will sell VJ to another company and have developed and developed with C #. I don't get Sun's J2 EE license I think MS will not develop any tools about Java. If you develop Java, you still want to use the COM under MS, ADO is so VJ can fit your needs. Chenxiqi comes from http: / /Chenxiqi@yeah.net: VC development database software is indeed slow, there are many software only available to C / C , if VC exits the historical stage, isn't it to say that only database software is called software, I think the world will not Such a single one.

ZHANGXIUYONG can tell me what is MVC development technology? Devil blows the flute coming from: What kind of software can only be developed with C / C ? Operating system? Apple's OS7, OS8, OS9 is developed by PASCAL. Database? database? Oracle8i Is the game developed by Java? You may have not seen the <傲 江 湖> , and even VB-developed at the same time VB7.0 supports Direx8.0. Will be greatly reduced. MVC = Model, View, Controller Design Pattern devil blows the flute comes from: What kind of software can only be developed with C / C ? Operating system? Apple's OS7, OS8, OS9 is developed by Pascal Database? Oracle8i is a game developed by Java? You may have not seen the <傲 江 湖> , and even VB development at the same time VB7.0 supports Direx8.0. Knowing the development of the game will be greatly reduced. I mean that C / C will disappear but the scope of the application will be greatly reduced and will be upgraded to the rebate, and the upgrade of the upgrade is more than 20 years. Java's upgrade is not too successful, but it is a good precedent I think the prospect of C # will be better). BTW: MVC = Model, View, Controller Design Pattern Xubin From http: // In industrial control, directly I / O address operation, use C . The devil is blowing with the flute. It comes from: I have a classmate graduation design with VB. You are not discussing the problem is on the leaking bar. Wenyy from http://www.vchelp.net: I think a language does not disappear because of the appearance of other languages, such as C and C , C and C # relationships. So I want to discuss the question first is to rule out the enemy, and then it is a thorough analysis. The IT world is not only available, there are many other. So some tools apply within a certain range. In fact, in foreign countries, Server end software is mostly using Java, while the client does not use Java, this is related, of course, is also related to Java attitude towards Java. However, I have always thought that C / C will not disappear because of the emergence of Java. As COBOL is still in use, but there will be more increasingly interpreted languages ​​in the future, because the language is better than compatibility than compiling languages, this is to recognize.

The devil blows the flute from http: //: Yes Wenny. Maybe I said that the disappearance of C / C is a bit exaggerated, but truth from facts. Java and C # upgrade C / C upgrade are inevitable. Is it right? Demon blows the flute from http: //: And I have always thought that Java and C # are not another language and the C upgrade. It is like a upgrade of C to C . Pairing wrong. XCC comes from http: / /: Agree the devil blowing the flute, you are my idol, by the way, a letter about C # and .Net interview Net and C # Questions with Jeffrey Richter in the weeks after Microsoft Made a huge splash in the development communi Ty with their .net and C # announcments at the July 2000 PDC, Jeffrey Richter accepted our request to field 20 questions from our readers about these new technologies. As many of you already know, Jeffrey is a cofounder of Wintel lect, a company that specializes in Windows & Microsoft. Net training and deb ugging. Jeff is also a consultant at Microsoft working on the Microsoft.NET Common Runtime Language (CLR) team in which C # and Visual Basic 7 applicatio ns operate. Below are the 20 most popular questions that were sent in and Je Ffrey's responses. For Visual C Developerwhere Still Trying to Get a Handle On All T Hi S: Thanks Jeff !! Question # 1 IS .NET A Runtime Service Or A Development Platform? Answer IT '

s both and actually a lot more. Microsoft .NET is a company-wide initiative. It includes a new way of delivering software and services to bu sinesses and consumers. A part of Microsoft.NET is the .NET Frameworks. The frameworks is the first part of the MS.NET initiate to ship and it was given out to attendees at the PDC in July The .NET frameworks consists of two pa rts:.. the .NET common language runtime and the .NET class library These two components are packaged together into the .NET Frameworks SDK which will be available for free download from Microsoft's MSDN web site later this month. In addition, the SDK also includes command-line compilers for C #, C , JScr ipt, and VB. You use these compilers to build applications and components. T hese components require the runtime to execute so this is a development plat form. When Visual Studio.NET ships, it will include the .NET SDK and a GUI e ditor, wizards, tools, and a slew of Other Things. However, Visual Studio.ne T IS Not Requi . Red to build .NET applications Question # 2 How likely it is for C # to become a general-purpose (meaning: not MS-specific) language and if so, have any other vendors committed to pro viding compilers on any non-Windows platforms ? answer It's hard to answer this right now. I have been programming in C # a lmost exclusively for about the past year and I love it. It only took me af ew days to learn most of it since it is very similar to C . It Was Designed to Compliment The Common Language Runtime and I Think That IT '

s unlikely to gain much momentum if decoupled from the runtime. However, you never know. Microsoft is submitting C # to the ECMA standards body so any company will ea sily be able to produce their own C # compiler however, without a runtime, th e compiler itself is not that useful. I'm not aware of any companies current ly working on their own C # compiler. Certainly, porting the runtime to anoth er OS is no small undertaking. Question # 3 Can you tell us specific practical problems that C # can fix be tter than Java Answer I must be honest with you:?. I have never programmed in Java I know what C # offers the C / C programmer:. simpler syntax, components that seamles sly fit together, type safety, and so on Other people should be able to add ress the C # <->. Java comparison Question # 4 Will ADO be the preferred and most efficient method to access databases from C # or will it have it own (or .NET) class wrappers for the O LEDB API ? Answer the .NET CLASS LIBRARY INCLUDE sa System.Data namespace with many t ypes for database access. These wrappers will be the best (and most efficien t) way for a C # programmer to access data. Question # 5 Can C # be used to develop Windows applications or is it soley used for developing distributed applications? Answer C # can absolutely be used to develop classic-style Windows applicat ions. Actually, this is more a function of the runtime, not the language. So, the runtime supports console apps, GUI applications, NT Service applicatio ns SIMPLE Components Which Can Be Used In Applications, Web Pages and so on. You can't Write a Device Driver Buthat About All i can think of what T he runtime doesn '

t support. Question # 6 What is the C # relationship to WinForms? Answer Win Forms is a set of classes in the .NET class library that wrap W in32 windows, brushes, pens, etc. Any language targeting the runtime (includ ing C #) can construct instances of these types and manipulate them. This is how you would create an app like Notepad, Calc, or Wordpad. I know that Win Forms has similarity to J 's WFC library but I also know that there have be en some major changes. Question # 7 Rumor has it that the C # language has been submitted to the EC MA for ratification. Is this true and what impact do you see that having on other companies adopting it as a general language (such as C and C )? Answer Yes , it is true. I pretty much answered this in question 2. Question # 8 Which will be the role of ATL and COM in the new .NET technolo gies? Answer The .NET frameworks offers a replacement for many existing librarie s, like ATL , MFC, C Runtime Library, Standard Template Li . Brary and so on .N ET programming is significantly easier than using any of these older technol ogies For this reason, I suspect many developers will move away from using the older technologies The older technologies can buy you performance howev er;.. So, some people that are very concerned about this will stick with what 's around. As for COM, developing components with .NET is orders of magnitude easier and the interoperation between components pretty much happens for fr ee. Again performance may be an issue for some And, for the Time Being COM Services, Like Transactions, Are Not Being Offered Directly To .Net Code. Y Ou Can Still Access There COM

services but .NET code must incur an interope rability transition, which translates to a performance hit. Question # 9 Why was the templates feature not carried over from C to C #? Answer Again, this is more of a runtime issue than a C # issue. First, temp lates are difficult to implement and Microsoft choose not to do the work for Version 1 of the product. They may do templates or something similar in fut ure versions. Second, since the runtime is a multi-language runtime, introdu cing templates means that all languages ​​targeting the runtime would be requi red to support templates in some form. There are a lot of issues here that n eed to be carefully considered. Question # 10 Will C # replace the pseudo keywords that clutter ATL COM code with real keywords ? Examples:.. OLE_COLOR, BOOL, VARIANT_BOOL, and DISPID_XXX XXX Answer Absolutely, all types have new names as provided by the .NET class library Question # 11 We've seen managed extensions, but aside from that, what futu re does C have at MS and in .NET? Answer C is unique in that it is the only Microsoft language that allows the developer to write managed and unmanaged code. So, I can easily see dev elopers writing in unmanaged C for performance-critical algorithms and the n using managed C for type-safety and component interoperability I'm sure Microsoft will keep C going for years to come:. device drivers need it, Wi ndows is built with it, SQL Server

for a long, long time. Question # 12 If .NET supports ActiveX / COM, how will security be assured if a C # application runs from within a browser? Answer The .NET runtime offers code access security, which allows an admin istrator / user to configure security based on code identify. By default, any code downloaded via the Internet or intranet is untrusted and will not be ab le to access files and other resources. In fact, when I build a console appl ication and run it from a network share, I get an exception when it tries to access certain resources. If I copy the same file to a local disk directory and run it, it runs fine. Code access security is integrated with the runti me and is too deep a subject to cover Here. Question # 13 with regards to the .net runtime, do I need it on the machine That I Deploy C # Apps ON? Answer Yes. All management apps need a manager;

the runtime is the manager. M icrosoft will eventually package the runtime so that it is freely redistribu ted. For now, end-users will have to install the full .NET SDK from MSDN web site (when available). This is similar to how VB developer must ship the VB runtime today. Question # 14 There has been mention of being able to derive C # classes fro m VB classes. Is this true and where can we see an example of how to do this? Answer This is true. In fact, any language that targets the runtime can de rive from any type created in another language. Also, the Visual Studio debu gger fully supports debugging across languages. Each entry in the call stack window shows the function on the stack and the language that the function w as written in. This is very cool and got a round of spontaneous applause whe n shown at the PDC. there are samples in the .NET SDK that demonstrate how to do this. It's really quite simple. Actually it just happens, there IS noth for you to do. You can also throw exception across language boundaries as well for error handling Question # 15 Can I derive a C # class from a C class If so, how Answer Same as the answer above:.?? Any managed language can inherit from at ype in another other managed language. If you use native C , then you can not do this, however. Question # 16 Will the new version of MFC have the option of working in am anaged environment? Answer I have not been tracking the new version of MFC But I '

m pretty sure the answer is no. MFC is all unmanaged just like it has always been. For man aged applications, Win Forms is the window manager that people should use. Question # 17 If the new version of MFC will operate in a managed environme nt, will it have the option of building desktop Win32 apps and not needing. NET runtime support? Answer I'm pretty sure MFC is unmanaged and will never require the runtime. Question # 18 Stroustrup has been quoted as saying "I have not expressed a technical opinion on C #, and I do not plan to do so. C # is yet another propri etary language specialized for Microsoft's Windows system. "do you agree or do you think C # is more of a generic language open to other platforms? Answer C # is a language designed for the commitness runtime;

not Wind ows. The CLR can be ported to other operating system like Linux and Solaris and if the CLR is there, then C # will probably be there as well. In the gran d scheme of things, C # is not that important or interesting. It is a syntax checker that spits out intermediate language consumable by the runtime You can love C # or hate C # -... your choice I happen to love it and think is the b est programming language for the types of applications I write Question # 19 I heard a rumor that VB7 will allow static linking of the run time, like MFC. Is there any truth in this? If so, will C # also be able to c reate standalone apps? Answer This is absolutely not true. No language will able to statically li nk to the runtime. Question # 20 Does C # still use resource files? If not, what mechanism is p rovided to allow for localization? Answer The .NET frameworks designers have created a new resource model. Re sources can be embedded in EXE OR DLL Files The Way Win32 Resources Are or r esources files can now be stand-alone files like a single jpg or bmp file. T here is also the concept of fall-back cultures. If the Swiss German resource can not be found, the runtime looks for the German resource. If the German re source can not be fond, it looks for the "default" resource. Each language wil l typically be built and shipped as a separate assembly rather than packagin g everything up into a single file. Like code access security, a Full Discus Sion of the New Resource Model Is Too Much to Put Here. Wenyy From http://www.vchelp.net: I should say this, a new language will replace other development in a certain functional area. Language, the application range of previous development languages ​​will shrink, but will not disappear.

(Even for the purpose of protecting existing resources) but no one is perfect, Java, C # is not. Wenyy from http://www.vchelp.net: "" Demon blows to you, I am very happy to discuss with you, although this site name is vchelp.net but I don't exclude other development languages, just The ability is limited to extend the contents of this site to other languages, but I hope that everyone will discuss the issues and contradictions that may encounter in the development, whether there is a language or development method. I want to invite you to become the author of the personal column of this site, you can publish some ideas about development, even if it is not related to VC. Of course, there is no request in time, you have time to write. I hope: wyy_cq@21cn.com cuixue From http: //: I saw you heroes, I feel like I am discussing Java, in fact, there are two sent, smth is almost in the sky, like Java's comrades to all local roads, even Perl does not let go. Ha ha. I personally think that Java has some disadvantages that can't replace C / C . His garbage collection is only completed by a thread. This is not easy to real-time system. The launch of EJB also shows that Java is not suitable for enterprise development. There is no language that is natural and perfect. Java's biggest difficulties I think the martyrdom from Microsoft, the launch of C # will undoubtedly take the Java share on the Windows platform. Java's speed is not said. The speed of JBuidler can't stand it, but such a product is Java written. Since individual is not good enough, it is really impossible to understand the massive SERVER with Java.Oracle with Java to implement EJB integration. Is his database ENGINE is Java? Please tell the heroes. And at the time, I didn't want to operate the system. As a result, the market reaction was flat, but also tested the E-Commerce this bus, :) Tell me about the view of VC and BCB, I am rude, Zi Yunying Speaking very well, fair. The MFC is indeed stable, and the ATL has not been a bit complicated. It will not come out without WTL. Part of the source code of VCL is written in Pascal, which is a bit bad, but his extensibility is very good. If you use it, you will never be a lot of people think of VB style. The reason is very simple, should be a C / C language that conforms to ANSI standards. In fact, VC is not ansi, c string is not in line, so BCB uses ANSISTRING. Unfortunately BCB is not stable enough. Tips are too slow. I have seen this, MSDN is not specifically giving VC, he is a guide developed by Windows, which is also useful as BCB, is a baby. Ok, don't say it, anyway, press it. Cuixue From http: //: XML remote call is undoubtedly a big progress in the platform, but this cannot be said that CORBA will disappear, and the XML this marker language provides powerful logo retrieval, but it itself Disadvantages are compatible with previous systems, so recently introduced XHTML to compatible with previous applications.

The application of e-commerce has different types. For the general B2C application, running Java on the Sun E1000 may, if it is the host, at least 1000 pen, Java is there? Hardware is not unlimited, and now the data center and OLAP are popular, the real-time requirements are higher, in fact, there is nothing in the unit application hardware resources. Moreover, the application of data discovering requires the compatibility of the original resources. It is advantageous for Java development for middleware. CORB A provides good support for heterogeneous networks. EJB is also relying on it, after all, in this era, no There may be only one system, a language, the support of its own transformation, and support for heterogeneous networks, and the support of the original application are a problem that each language is facing. Yang Ning comes from http: //: The world is a diversity world. Not facing applications, everything is waste. Learn the compilation principle and operating system to change it. People have limited energy, the face is equal to the face! The demon knife comes from http: //: I don't make a lot of procedures, I need simple and fast. I only need him to master, it can realize the function. As for the expert C or fool type VB (Delphi is almost almost) I don't care. Boss Nor does Tom from http: //: all have thousands of autumn with VC and Delphi, the Delphi write interface is convenient, mostly written database programs. But the procedure written is too big. If you do a component (written for html) or use VC, there is a good sentence, professional programmers use VC, smart programmers with Delphi, Tom from http: //: With VC and Delphi, there are thousands of autumn, and the Delphi write interface is convenient, most of which is written database programs. But the procedure written is too big. If you do a component (written for HTML) or use VC, there is a good sentence, professional programmers use VC, smart programmers with Delphi, the desservation from http: // : As a real programmer, I don't understand C / C can only be used as a non-professionally, and the property is changed. The ambition comes from http: //: The evil blows the flute. The world is terrible. The world may only have Java existed? ? ? ? ? Wenyy comes from http://www.vchelp.net: I agree with Yang Ning's point of view "" "The world is a diversity world. Not facing applications, everything is waste. Su From http: //: The dispute with VC with VC is no longer a day two days. It is really difficult to be theoretical. As a better RAD development tool, I think it is Delphi, VC is called RAD. For the programmer, if it is a low-level thing to develop with the VC, it has a clear line - one sentence, and use delphi to borrow the API (of course, it is not very convenient); and for database development Delphi I don't losing a good tool! I think the two have the strengths! Jacobiaby is from http: //: Oh, clear lines, this is said.

Hintell is from http: //: I love Java, if I don't have to make a living, I will give up the new UNIX / C Programming, but fortunately, the intermediate piece Java is a good stuff! The devil is blowing with the flute comes from: I have never There is no fruit, only Java will exist. I just said that many of the future we are familiar with desktop applications (including our current services, Windows, Visualstudio, etc.), and the client is just one Shell. You have not heard that MS will no longer buy OSFTWARE in 5 years, but to buy online services (Office .NET, Windows.net). At this time, I think the scope of the traditional C / C will be small. And the C / C upgrade version is similar to Java, C # is the mainstream because they are designed for Internet and C / C is not. And I think, Java, C # and C / C is not opposite, I want to put Java, C # and C / C is aligned, I would rather think of Java, C # as a Internet extension and upgrade of C / C , making C / C more in line with the need for the Internet. We used Java and C # we used to use it. C / C about 60% of the LEGCY function, can we thank C / C ? I have always emphasized that Java and C # are derived from C / C , we don't feel in another world when using Java. The program I feel is that I am still in the world of C language. I think we should have between Java, C # and C / C language portals. I hope that I hope that they are C-language (C / C / Java | C #). HFGH comes from http: //: Don't argue with Delphi, VC, language is just a tool. The key to software is innovation and design. With this premise, what tools are used to see what tools you are familiar, see your tools can meet your design goals, there are other tools. Is it so simple, is it necessary to argue? It should be a controversy that is the idea of ​​a software, not a future, not what tools use. Each tool has its advantages and disadvantages, mainly to see if you are familiar with it, it can unable to achieve your goals smoothly. If you can't, there is no way, choose another tool. Do the interface or Delphi, do high-efficiency communication, or VC, to do a lot of things involved in SDK or underlying, or VC, you will see what your project is, and it is not one of them. China's programmers are subject to China's education, always thinking at some of the details and tools, not thinking in a comprehensive system level, thinking about the overall surface across computer technology, communication technology, software technology. It is the road and direction of China's software technology progress, not what tools for arguing. In addition, I think the VCHELP website is still good in China, but it is a matter of the overall technical level, and this is especially important and urgent in China. Reply to Name Mail Address Home Address Your Answer Return to Visual C / MFC Development Guide Online Discussion Forum --------------------------------- ------------------------------------ Yo Yang October 03, 1999 Cheng Home Page Http://www.vchelp.net (c) Copyright -

转载请注明原文地址:https://www.9cbs.com/read-29720.html

New Post(0)