Hello world! We are thrilled to unveil ts-engine, a new project designed to change how we think about executing TypeScript.
Why ts-engine?
Traditionally, TypeScript is treated as a second-class citizen that must be "transpiled" or "stripped" down to JavaScript before execution. Environments like Node.js or Deno ultimately run V8 (JavaScript) under the hood.
ts-engine is different. It is a runtime built in Go that understands TypeScript natively. It compiles your `.ts` code—types and all—directly into native machine code constructs powered by Go's runtime.
Key Features
- No Transpilation: Run `.ts` files directly.
- Native Speed: Operations are mapped to Go's highly optimized primitives.
- Type Integration: Runtime type checking becomes a reality, not just a compile-time fantasy.
What's Next?
We are currently in active development. Stay tuned for our first alpha release where you can try running your own scripts.