Flutter Install

Flutter is a framework created by Google, built around Google’s own Dart programming language. With just one single codebase, you can build apps for the web, iOS, Android, Linux, Windows, …

resources

In our last lesson, we set up a default app with NativePHP and pulled it up in a browser. The default local address is: http://127.0.0.1:8000/

Literals and operators

Literals: Fixed values written directly in code that you can tell at a glance. They are the most basic way to represent data in programs. Their values stay constant and …

Basic Types

Rust comes with a rich set of built-in primitive types, which are mainly divided into two categories: scalar types and compound types. (1) Scalar Types A scalar type represents a …

Print formatted

utput Macros
Rust’s print and output functionality is powered by a set of macros from the std::fmt module. Here are the most commonly used ones:

format!: Writes formatted text into a string
print!: Prints content to the standard console output

Comments

If you have learned C, C++, Java or C#, you can skip this lesson. Rust comments are nearly identical to those languages.

HelloWorld Example

Having finished the Rust installation in the previous lesson, you should now have your Rust development environment set up properly. Let’s go ahead and create our very first Rust program.

First, create a new folder on your computer to store your code files. For example: D:\rustdemo

Introduction & Installation

Rust has evolved rapidly from a niche project into a mainstream technology. It has secured a solid position in system programming and gained extensive adoption within open-source communities and diverse industries.