The interpreter style of software architecture---software architecture

Source: Internet
Author: User

    • 1. Software Architecture Style

A core issue of software architecture design is the ability to use repetitive architectural patterns, that is, the ability to achieve architecture-level software reuse. This means that the same architecture can be used in different software systems. For this purpose, scholars began to study and practice the style and type of software architecture.

Software architecture style is a idiomatic pattern that describes how systems are organized in a particular application domain. It reflects the structure and semantic characteristics common to many systems in the field, and guides how to effectively organize each module and subsystem into a complete system. In this way, the software architecture style defines the glossary of terms used to describe the system and a set of rules that govern the component system.

The research and practice of software architecture style facilitates the reuse of designs, and some proven solutions can be reliably used to solve new problems. The immutable part of the architectural style enables different systems to share the same implementation code. As long as the system is organized using common, normative methods, it makes it easy for other designers to understand the architecture of the system.

    • 2. Interpreter Style

What is an interpreter:

Interpreter ( English : Interpreter), also translated as a computer program , can be a high-level programming language line direct translation run. The interpreter does not translate the entire program at once, just like an "intermediary", and each time the program is run, it is turned into another language to run, so the interpreter's program runs slower. It runs at once with every translation of a single line of programming, then translates the next line, then runs, so it goes on.

In summary: The interpreter is the program used to execute other programs.

Interpreter's work:

Interpreter Style:

In fact, the interpreter style is a kind of virtual machine style. One of the virtual machine styles is: rule-based system style

Style:

Personal Understanding:

The structure of the interpreter is a software architecture, which is widely used in the following aspects.

Its advantages and disadvantages:

The interpreter-style software contains a virtual machine that can simulate the execution of hardware and some key applications;

The interpreter is often used to create a virtual machine with the difference between your program semantics and hardware semantics

The disadvantage is low execution efficiency

The interpreter style of software architecture---software architecture

Related Article

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.