Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

inko

> 编程语言
Open source

A language for building concurrent software with confidence

1.3K stars0 likes2 views
WebsiteGitHub

About

A language for building concurrent software with confidence

Inko

Inko is a language for building concurrent software with confidence. Inko makes it easy to build concurrent software, without having to worry about unpredictable performance, unexpected runtime errors, or race conditions.

Inko features deterministic automatic memory management, move semantics, static typing, type-safe concurrency, efficient error handling, and more. Inko source code is compiled to machine code using LLVM.

For more information, refer to the Inko website or the documentation. If you'd like to follow the development of Inko, consider joining our Discord server.

Examples

Hello world:

inko
import std.stdio (Stdout)

type async Main {
  fn async main {
    Stdout.new.print('Hello, world!')
  }
}

A simple concurrent program:

inko
import std.stdio (Stdout)
import std.sync (Promise)

type async Calculator {
  fn async fact(output: uni Promise[Int], size: Int) {
    let result = 1.to(size).iter.reduce(1, fn (product, val) { product * val })

    output.set(result)
  }
}

type async Main {
  fn async main {
    let calc = Calculator()

    # This calculates the factorial of 15 in the background and waits for the
    # result to be sent back to us:
    let val = await calc.fact(15)

    # Print a message along with the result to STDOUT:
    Stdout.new.print('the factorial of 15 is: ${val}')
  }
}

For more examples, refer to the website.

Installation

Details about how to install Inko and its requirements can be found in the "Installing Inko" guide in the Inko manual.

License

All source code in this repository is licensed under the Mozilla Public License version 2.0, unless stated otherwise. A copy of this license can be found in the file "LICENSE".

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcompilerinkollvmprogramming-language

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言