Languages
Pony
Installing Pony on Ubuntu in TIDE
Pony
Pony is an open-source, actor-model, capabilities-secure, high-performance programming language.
Installation
Install basic build tools:
apt update
apt install -y build-essential lsb-release curlInstall ponyup (the Pony toolchain manager) and ponyc:
sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)"
export PATH="$HOME/.local/share/ponyup/bin:$PATH"
ponyup update ponyc releaseVerify installation:
ponyc --versionHello World Example
Create a directory and main.pony inside it:
mkdir hello_tide
cd hello_tideactor Main
new create(env: Env) =>
env.out.print("Hello, TIDE!")Running the Code
Compile the package and execute the binary:
ponyc
./hello_tide