Meet Tolk 1.0 — a new programming language for creating bulletproof smart contracts on TON
Tolk combines expressiveness, convenience, and low-level power, inheriting security, economy, and efficiency from FunC.
What makes Tolk special:
— Simple and readable syntax: as close as possible to familiar modern languages such as TypeScript and Kotlin.
— New language features for the TON asynchronous actor model: auto-serialized structures, pattern matching, smart casts, and convenient message management.
— Advanced type system: generics, null safety, type aliases, union types — everything you need to write safe and flexible code.
— Maximum efficiency: smart contracts on Tolk are cheaper than smart contracts on FunC — benchmarks show up to 50% gas savings thanks to compiler optimizations and unique “lazy” loading.
— Deep control: ability to go down to the bits and manipulate the stack when necessary.
— Redesigned standard library. Convenient language versioning and delivery system.