Aspect-Oriented Programming (AOP) is a programming paradigm that implements crosscutting concerns in a modular way. People have witnessed the prosperity of AOP languages for Java and c++, such as AspectJ and Aspectc++...
详细信息
Aspect-Oriented Programming (AOP) is a programming paradigm that implements crosscutting concerns in a modular way. People have witnessed the prosperity of AOP languages for Java and c++, such as AspectJ and Aspectc++, which has propelled AOP to become an important programming paradigm with many interesting application scenarios, e.g., runtime verification. In contrast, the AOP languages for c are still poor and lack compiler support. In this paper, we design a new general-purpose and expressive aspect-oriented c programming language, namely Aclang, and implement a compiler for it, which brings fully-fledged AOP support into the c domain. We have evaluated the effectiveness and performance of our compiler against two state-of-the-art tools, Acc and Aspectc++. In terms of effectiveness, Aclang outperforms Acc and Aspectc++. In terms of performance, Aclang outperforms Acc in execution time and outperforms Aspectc++ in both execution time and memory consumption.
Based on the reflection of the research status, this study designs a value-added evaluation model that conforms to the characteristics of 'clanguage Programming', and completes the teaching research and pract...
详细信息
With the rapid development of electronic information technology, the performance of embedded microcontroller is constantly improved, and the software of UAV flight control system is also developing in the direction of...
详细信息
With the rapid development of electronic information technology, the performance of embedded microcontroller is constantly improved, and the software of UAV flight control system is also developing in the direction of multi-function and multi-task. Traditional flight control software is usually written in clanguage, resulting in its scalability and modular design is limited. In view of the relatively consistent core content of the flight control system software, object-oriented thought and component technology are introduced to carry out modular design and implementation of the core part, improve the scalability and flexibility of the system, and facilitate the rapid addition of new functions. Based on the analysis of the shortcomings of the existing flight control software design, this paper proposes to use c++ language to componentize the driver code, design each submodule in the form of classes, and build the overall software framework according to the dependence relationship of the software level. Through component technology, the design and implementation of the driving component are completed, and the design principle of the driving component is discussed, and the implementation process of the component is explained in detail through the concrete code, and the derivation relationship between the components is analyzed. The subscription-release communication mechanism based on component relationship is designed, the communication interface between modules is standardized, and the independence of each module of flight control software is improved. Based on the driver component, the design and implementation of each task thread are completed, the data interaction and synchronization relationship between the task threads are discussed in detail, and the implementation details and execution process of the task thread are analyzed in combination with specificcomponents. The relationship between the driver component and the task is sorted out, the integration of fl
The development of soft computing methods in the late 1960s, including fuzzy system theory, grey system and rough set theory, and the rapid progress of computer science over the past few decades have together enhanced...
详细信息
The development of soft computing methods in the late 1960s, including fuzzy system theory, grey system and rough set theory, and the rapid progress of computer science over the past few decades have together enhanced engineering analysis. The 21^(st) century has witnessed tremendous development of big data analysis. The present study implements soft computing and related computer toolboxes for big data analysis. However, simply applying soft computing method in combination with computing toolbox for data analysis can be deficient. First, the indexes for analysis are rather complex and data amount is huge as well. Second, the computing toolbox is not compatible with the applied soft computing, either. To prevent such inadequacy, this study also implements the Technique for Order Preference by Similarity to Ideal Solution for data analysis. The mathematical model of technique for order preference by similarity to ideal solution for data analysis is firstly introduced, with the disadvantages of subjective space being explained. Next, grey relational grade in the grey system is applied to transfer subjective space into objective space. clanguage-based computer toolbox is developed to help calculate and analyze a large amount of data on the one hand, and build up the integration of the two parts on the other. Finally, weight analysis of power harmonics conducted in the computer classroom serves to verify the rationality and accuracy of the mathematical model proposed in this paper.
With the increment in the term of enrollment size and type, the large difference among students has brought challenges to the teaching work. A new round of worldwide scientific and technological revolution and industr...
详细信息
ISBN:
(纸本)9781450388528
With the increment in the term of enrollment size and type, the large difference among students has brought challenges to the teaching work. A new round of worldwide scientific and technological revolution and industrial transformation are booming. Advanced manufacturing industry, industrial Internet and other industries has become the important cornerstone of the new industrial revolution. Based on analysis of freshman students, this paper proposes several teaching methods about clanguage in order to enhance the quality of teaching.
Human now rely on computer programs to operate mathematical problems due to the rise of soft computing. Therefore, MATLAB had become one of the most useful software in verifying and comparing mathematical operations. ...
详细信息
Human now rely on computer programs to operate mathematical problems due to the rise of soft computing. Therefore, MATLAB had become one of the most useful software in verifying and comparing mathematical operations. However, MATLAB couldn't solve every mathematical operation in many cases, especially in the grey prediction of the grey systm theory. Other solutions need to be found when it comes to calculating the fractional power of the grey generating. It is found that by using basiccombinatorial mathematics, accurate results can be reached. Therefore, the fractional power calculate matrix toolbox based on clanguage had been developed in order to solve the inadequacy of MATLAB. This toolbox not only simplifies the mathematical operations but also provides assistance in calculation and verification. After comparing the results, defects from the MATLAB mathematical operations in Grey Theory can be improved.
The fundamental problem of cultivating new engineering talents is ability training, and computer programming ability is an important ability of new engineering talents. In view of the difficulty of students' progr...
详细信息
The fundamental problem of cultivating new engineering talents is ability training, and computer programming ability is an important ability of new engineering talents. In view of the difficulty of students' programming ability in clanguage teaching, it is necessary to implement clanguage teaching reform in order to train the programming ability of new engineering talents. Based on Vygotsky's theory of "proximal development zone" and constructivism learning theory, design and application of scaffolding clanguage teaching it is proved that the teaching of scaffolding ccan make the teaching of programming ability clear, objective and and operable.
The highest share of cost for a software product is software maintenance. Identifying the quality merit of the software architecture is extremely vital as the quality directly relates to software maintenance. A good d...
详细信息
ISBN:
(纸本)9781728126074
The highest share of cost for a software product is software maintenance. Identifying the quality merit of the software architecture is extremely vital as the quality directly relates to software maintenance. A good design always exhibits good quality characteristics because it is directly related to good architecture. Although clanguage is a major language in the software industry, few studies investigate the quality of the architecture in clanguage. This study aims to evaluate the quality of clanguage projects in a quantifiable form by focusing on dependency graphs, associated metrics, and software architecture. In particular, this study (i) formulates the architecture representation of c projects, (ii) determines the metrics capturing the quality of architecture, (iii) defines code smell and metrics relations and (iv) conducts an empirical analysis on 58 c projects. We show which metrics derived from dependency graphs can detect architectural issues and verify their relation to software architecture quality.
In order to solve the problem that the A-law 13 polyline coding algorithm lacks a specific programming language simulation, clanguage is used to implement the algorithm in this paper. First, the polar code is obtaine...
详细信息
ISBN:
(数字)9781728181431
ISBN:
(纸本)9781728181448
In order to solve the problem that the A-law 13 polyline coding algorithm lacks a specific programming language simulation, clanguage is used to implement the algorithm in this paper. First, the polar code is obtained according to the positive and negative sample values. Then the paragraph code and the inner code are obtained and finally decoded. Experimental results show that the program can realize A-law 13 polyline encoding and decoding, and for a given sample value, it can obtain its 8-bit encoding. compared with the bit-wise encoding method, the program is more efficient.
暂无评论