Skip to content

Commit

Permalink
Merge branch 'master' into luc/wasm64
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-blaeser committed Oct 27, 2023
2 parents 8eda917 + 4dbd0d1 commit ce31221
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/md/about-this-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ For transparency into the principles that guide the engineering effort, the engi

The following guiding principles represent the core values of the engineering organization in prioritized order:

1. Seamless integration with the [Internet Computer blockchain network](../../concepts/what-is-IC.md#what-is-the-internet-computer) to ensure that Motoko provides full language support for the actor-based model, asynchronous messaging, data persistence, interface description language interoperability, and other features.
1. Seamless integration with the Internet Computer blockchain network to ensure that Motoko provides full language support for the actor-based model, asynchronous messaging, data persistence, interface description language interoperability, and other features.

2. Ergonomics to ensure that Motoko embraces familiarity, simplicity, clarity, explicitness, and other human factors.

Expand Down
6 changes: 3 additions & 3 deletions doc/md/motoko-introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Introduction

Motoko is a modern, general-purpose programming language you can use specifically to author [Internet Computer](../../concepts/what-is-IC.md) canister smart contracts. Although aimed squarely at the Internet Computer, its design is general enough to support future compilation to other targets.
Motoko is a modern, general-purpose programming language you can use specifically to author Internet Computer canister smart contracts. Although aimed squarely at the Internet Computer, its design is general enough to support future compilation to other targets.

## Approachability

Expand All @@ -12,11 +12,11 @@ Motoko permits modern programming idioms, including special programming abstract

Specifically, Motoko programs are *type sound* since Motoko includes a practical, modern type system that checks each one before it executes. The Motoko type system statically checks that each Motoko program will execute safely, without dynamic type errors, on all possible inputs. Consequently, entire classes of common programming pitfalls that are common in other languages, and web programming languages in particular, are ruled out. This includes null reference errors, mis-matched argument or result types, missing field errors and many others.

To execute, Motoko statically compiles to [WebAssembly](about-this-guide.md#webassembly), a portable binary format that abstracts cleanly over modern computer hardware, and thus permits its execution broadly on the Internet, and the [Internet Computer](../../concepts/what-is-IC.md).
To execute, Motoko statically compiles to [WebAssembly](about-this-guide.md#webassembly), a portable binary format that abstracts cleanly over modern computer hardware, and thus permits its execution broadly on the Internet, and the Internet Computer.

## Each canister smart contract as an *actor*

Motoko provides an **actor-based** programming model to developers to express *services*, including those of canister smart contracts on the [Internet Computer](../../concepts/what-is-IC.md).
Motoko provides an **actor-based** programming model to developers to express *services*, including those of canister smart contracts on the Internet Computer.

An actor is similar to an object, but is special in that its state is completely isolated, and all its interactions with the world are by *asynchronous* messaging.

Expand Down

0 comments on commit ce31221

Please sign in to comment.