Porting mono and Lazarus is a task that dragon core computers must do to succeed. [reprinted]

Source: Internet
Author: User
Dragon core forum on a good analysis of a post, turn to you look at, the original is: http://www.lemote.com/bbs/viewthread.php? Tid = 8269 & page = 1 # pid77266

Mono first!
I remember seeing someone asking whether to consider porting mono on the Forum. The boss replied that as long as it is open source software, there is no problem theoretically. However, since then, there has been no sound or message. I don't know if I am already doing this, but I still want to talk about my point of view here. To succeed, the dragon core computer must be transplanted to mono, because the migration of Mono can solve many problems.
First, it can solve the problem that the number of applications (such as Linux and FreeBSD) is small and cannot be increased quickly in a short time. Mono has been fully compatible with Microsoft. NET 1.2 Since 1.1, and 1.2.4 is almost compatible with. NET 2.0 (including forms namespaces ). This means that there will be a lot of continuous commercial/non-commercial... software that can run directly on the dragon core in the present and future. And. net has very good development tools, even if not speaking of commercial (vs series) and free (turbo series), open-source monodevelop in Linux/FreeBSD, sharpdevelop in windows, these open-source. NET development tools have rad (similar to VB, Delphi, BCB) and Code insight functions, the most important is. net is a language-neutral running environment. Currently, Mono has built-in open-source C #2.0 and VB. net2.0 compiler, while other important languages (Delphi, Fortran, Ada, python... there are many more !) Almost all have. Net implementations (delphi.net, A #, ironpython... more !) Easy-to-use development tools plus cross-language cross-platform capabilities. net runtime environment will enable many software enthusiasts who do not have a dragon core computer or are not proficient in C/C ++/Java to develop applications for the dragon core. I have always opposed what some people have said: We have C ++/Java! Why? In the eyes of these people, everything is inferior, only C ++/Java is high. I don't want to argue with these groups, because I have never said a word to anyone who doesn't know how to respect others! C ++ does not have a good open-source rad development tool on Linux (Windows has WX-devcpp, but the first is not cross-platform, and the second is really not very easy to use, do not mention BCB !) In addition to netbeans, Java is not flattering (especially eclipse). (I have tried it and I have the right to speak !), Java's swing library is too ugly to tell the truth! SWT is really a good thing, but sun and IBM have never been able to become Java's standard library since the political struggle, and Java's multimedia functions have been quite spring! Don't tell me about JMF. You 'd better go to Sun's official website to check out JMF, which is still in version 1.2 N years ago! There are also problems with the cooperation with Java se5/6 (mainly because some things are not outdated or conflict, for example, Enum has become a keyword in Java 5/6. net (Mono) has good solutions (sdl.net, opengl.net, tao.net... too many! You can also directly call the Multimedia Interface of the operating system. XNa will be mentioned later !) Why not? There are many more users in Rad language than those proficient in C ++ ,. net class library is much easier to use than Java class library (including Asp.net is more advanced than JSP generation: separating logical code from page HTML, The Asp.net server that comes with mono can run ASP very well. net2.0, what's more, Mono and Apache can work together to create a completely open-source cross-platform free network service environment). Why don't most people use the power to promote the development of godson? (Some people say that you only need to do a good job of lamp. I would like to ask him another question: Will you use the dragon core box or the dragon core notebook as a network server that will not be shut down for a long time? If I admire your courage! In my opinion, lamp should be the task of godson 3 and the server manufactured with godson 3 (including Asp.net )! As the representative of godson 2, the first problem of desktop computers is to solve the scarcity of application software .)
Second, Mono can be used as an ideal adhesive! As we all know, virtual machine-based languages cannot run faster than native code! The user interface for C ++ development is too troublesome. The main reason for calling native code in Java is that there is no pointer. Therefore, it takes some effort to call C-style APIs! Mono (especially C # And delphi.net) can play a very good role in the adhesive. You can use C/C ++ as the dynamic link library for function implementation, and then in. net user interface program calls with Code (for example, use C # As long as you simply add a sentence [dllimport]), this can take into account both development efficiency and execution efficiency!
Third, it can solve the problem of few games on the dragon core. In the forum, we can see many similar problems: Can dragon core play... games? Ah! No, that's enough! The fact is this cruel, many people buy computers to play games, and Windows can play a role in the endless abuse of games. In China, you asked your parents to spend 10 thousand yuan to buy computers for their children. You asked them to spend yuan to buy a Game Machine for their children! Moreover, the game is indeed a weakness of Linux, but now it is good. Microsoft has launched xNa and the free xNa development tool xNa studio. Its main feature is to provide a set of based. net cross-platform game development library, xNa-based games can be directly run on xbox360 and PC (PC of course must be installed. net2.0 and a 1 m xNa Runtime Library ). Mono started mono in March. the xNa project is to implement xNa in mono, which means that once this project is completed, we can play xbox360 and PC games simultaneously on the dragon core, isn't this a huge boost to godson? (In the forum, we also saw some people say that xNa is the least cost and the easiest way to implement xNa when using godson to build a Chinese game platform)
Let's talk about Lazarus!
Lazarus is a freepascal-based cross-platform rad development tool that can be easily understood as an open-source cross-platform native code development tool similar to Delphi. He features a compilation, compilation everywhere, windows, Linux, FreeBSD, MacOS... lazarus is currently the best open-source cross-platform native code rad tool I know (visual development, code insight... all the features of commercial development tools are available !), He uses the freepascal Compiler (there are already versions of multiple platforms and processors, such as x86, x64, PowerPC, MIPS, and even a version that supports Nintendo's head machine GBC) in addition to being compatible with the Delphi language, the C ++ language features such as operator overloading are also added, and the component architecture LCL used is based on GTK, since we have mentioned the issue of user interface development in Mono above (C ++ is too difficult to read in Java), we will not go into details here, but freepascal is not perfect. The main reason is that there is no way to compare the compiled code with GCC in terms of running efficiency. However, we can also use the program developed by Lazarus as an adhesive, I won't go into details here!
China must have its own information platform, but it is absolutely impossible for Godson to succeed only by a group of angry youth. to succeed as a godson, it is necessary to enter thousands of households and become a common work and study for people, powerful game tools. Therefore, I think it is imperative to port mono and Lazarus at this stage, and it should be prioritized! It is because only when people use the dragon core is nothing but the PC can do but the dragon core can't do, ordinary people will accept him. Only by being accepted by ordinary people can we start to build our own Information Standard System in China!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.