A language designed for building high performance systems.
Platform | Support |
---|---|
x86_64-pc-windows |
|
x86_64-unknown-linux |
|
x86_64-unknown-darwin |
|
aarch64-unknown-linux |
|
Overview
⚠️ For legal reasons, I must warn you that the bold claims in this section aren't necessarily true, yet.
❗ Also, Amp isn't really ready for serious use yet. It's not well tested and there's probably some undetected bugs in the compiler. With that in mind, have fun! :)
Amp focuses on:
- Performance
⚡ Amp's performance rivals that of C and C++. - Simplicity
🎨 Amp focuses on less, but more powerful features. - Speedy compilation
🏍️ Amp's simple design enables competitive compile times.
import "Std";
export func Main() {
Std.Println("Hello, world!");
}
Contributing
Since Amp is vastly under-documented, feel free to create an issue if you have any questions about the project. If you are looking for something to contribute to the project, check out the open issues. Thanks for taking the time to contribute!
We follow the Contributor Covenant code of conduct (tl;dr: have some basic common sense and be respectful).
License
Amp is licensed under the MIT license.
Getting Started
You can install Amp from a prebuilt binary for your system or you can use Cargo to install it:
cargo install ampc
amp -V
Building an executable with Amp requires an external linker (as of right now, it's hardcoded as GCC, meaning GCC is required to build an executable):
amp test.amp -o test
./test # => Hello, world!