Giter VIP home page Giter VIP logo

u20024804 / motoko Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dfinity/motoko

0.0 1.0 0.0 14.31 MB

Simple high-level language for writing Internet Computer canisters

License: Apache License 2.0

OCaml 55.46% Makefile 0.66% TeX 1.69% Standard ML 0.01% Nix 1.69% HTML 0.04% JavaScript 0.63% Shell 1.19% Emacs Lisp 0.41% C 0.04% WebAssembly 0.05% Haskell 3.20% Swift 26.21% Perl 0.20% sed 0.10% Rust 8.25% Python 0.17%

motoko's Introduction

Motoko

A simple language for writing Internet Computer (IC) actors.

User Documentation & Samples

Introduction

Motivation and Goals

  • High-level language for programming IC applications

  • Simple ("K.I.S.S.") design and familiar syntax for average programmers

  • Good and convenient support for actor model

  • Good fit for underlying Wasm and IC execution model

  • Anticipate future extensions to Wasm where possible

Key Design Points

  • Simple class-based OO language, objects as closures

  • Classes can be actors

  • Async construct for direct-style programming of asynchronous messaging

  • Structurally typed with simple generics and subtyping

  • Overflow-checked number types, explicit conversions

  • JavaScript/TypeScript-style syntax but without the JavaScript madness

  • Inspirations from Java, C#, JavaScript, Swift, Pony, ML, Haskell

motoko's People

Contributors

basvandijk avatar chenyan-dfinity avatar crusso avatar davidm-d avatar dfinity-bot avatar dfinity-skaestle avatar enzoh avatar floorlamp avatar ggreif avatar hassensaidi avatar kinghong001 avatar knl avatar kritzcreek avatar lostman avatar lsgunnlsgunn avatar matthewhammer avatar mergify[bot] avatar ninegua avatar nmattia avatar nomeata avatar osa1 avatar paulyoung avatar pikajude avatar rossberg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.