Font Size: a A A

Research On Mixed Programming Environment Of C/C++ And Costream

Posted on:2018-06-09Degree:MasterType:Thesis
Country:ChinaCandidate:H DongFull Text:PDF
GTID:2428330569985432Subject:Computer technology
Abstract/Summary:
Mixed programming refers to the process of writing programs using a variety of programming languages.There are many kinds of popular programming languages in the computer field.They have their own advantages and disadvantages.The mixed programming mode can make full use of the advantages of each language.COStream is oriented to multi-core,multi-threaded data flow programming model,and C/C++ is oriented to a single instruction and centralized storage management programming model.Considering the advantages and disadvantages of the two programming languages,the mixed programming of C/C++ and COStream can take advantage of the C/C++ programming model and make up for the high complexity of C/C++ in multi-threaded programming model.Aiming at the practical characteristics of hybrid programming,a mixed programming mode of C/C++ and COStream is designed and implemented,and the corresponding function is realized in the visual environment to prove the feasibility of the mixed programming mode.The COStream compiler has been extended,an increase of mixed mode switch,COStream and C/C++ communication interface design,back-end multi-threaded processing functions,to achieve a C/C++ and COStream mixed programming compilation back-end support.To improve the efficiency of the COStream programming language,an integrated development environment for the COStream program has been developed,including the various tools required by the gcc compiler,the gdb debugger,the graphics editor,and the streaming programming model.In order to further improve the programming efficiency of mixed programming developers,it is necessary to realize the creation,compilation,estimated workload and SDF graph display of C/C++ and COStream mixed programming in the existing visual programming environment,so that the development process of mixed programming Simple and clear.By calling the COStream code module in a C/C++ program,the programmer's workload is reduced and the efficiency and quality of code writing is improved.With the X86 multi-core server,Dell R730 multi-core server,Eclipse 3.7 and JDK1.7 as the experimental test platform,the experimental results show that the feasibility of mixing C / C ++ and COStream is demonstrated.At the same time,the visual graphical interface improves the efficiency and quality of program code writing.
Keywords/Search Tags:Mixed programming, Data flow, Visual programming environment
Related items