Current location - Recipe Complete Network - Complete cookbook - Best embedded graphical user interface
Best embedded graphical user interface
The best embedded gui:LittlevGL.

Project introduction:

First, you need to know the answer to the following question: "What is a program?" A computer program is an instruction set that tells a computer how to perform a special task. Readers may be familiar with many instructions, such as cooking special foods according to recipes or arriving at unfamiliar destinations according to specified directions. Without these special instructions, the expected task will not be carried out.

The same is true of computers, except that they need to provide instructions for each task they perform. Even the simplest tasks require instructions, such as how to get keystrokes, how to display a letter on the screen, and how to save messages on disk. Fortunately, many of these instructions are contained in the processor chip or built into the operating system, so users don't have to worry about them.

Instead, focus on providing instructions for tasks, such as calculating employee salaries, creating a neighbor mailing list, or setting formatted text to display the latest annual report information. Although we read these instructions in natural language, computer instructions must be binary codes, that is, a series of on or off States in computer memory and processor.

Event-driven programming:

Visual Basic allows you to create programs that reflect user actions and system events. This kind of programming is called event-driven programming. To understand how event drivers work, we must first understand how past programs work and how they are different in the Windows environment. Before the advent of Windows (back to DOS and "prehistoric" PC), programs were run in sequence.

In other words, once the program is started, it will execute one instruction at a time until the program ends or a fatal error occurs.

Task parallelism:

The parallel programming model is a bridge between the underlying architecture and the upper application. It hides the details of parallel processors and provides a parallel expression method for programmers. Make full use of hardware resources to complete application requirements efficiently and correctly. Task division, task mapping, data distribution, communication and synchronization are five key elements to be considered when designing parallel programming model.

Task parallel programming model mainly focuses on shared storage platform. Data is divided into shared and private storage attributes, and communication is carried out through shared data. Therefore, the research focus of this programming model is the key elements such as task division, task mapping and synchronization.