Guide

Coming from another language

One page per language you may know - what maps directly, the habits that will trip you up, and what TorbScript leaves out.

Pick the language you know best. Each page is a table you can read in five minutes, one short example, and the habits that are worth dropping before the compiler points them out.

Who this is for#

For people who write one of these languages well and want to see TorbScript through it. For the whole language in one go, take the tour.

Pages#

  • Coming from Rust - What maps directly from Rust, the five habits that will trip you up, and what Rust has that TorbScript leaves out on purpose.
  • Coming from TypeScript and JavaScript - What maps directly from TypeScript and JavaScript, the five habits that will trip you up, and the type tricks that have no counterpart.
  • Coming from Python - What maps directly from Python, the five habits that will trip you up, and what a language checked before it runs leaves out.
  • Coming from Go - What maps directly from Go, the five habits that will trip you up, and the concurrency tools that are not built yet.
  • Coming from Kotlin and Swift - What maps directly from Kotlin or Swift, the five habits that will trip you up, and the property and coroutine features TorbScript leaves out.
Esc