<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve" -->

---
title: Gate ...A Better GDScript? | daily.dev
description: Gate is a new open-source superset language for GDScript, similar in concept to how TypeScript relates to JavaScript, that transpiles down to standard GDScript...
canonical: https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Gate ...A Better GDScript? | daily.dev
og:description: Gate is a new open-source superset language for GDScript, similar in concept to how TypeScript relates to JavaScript, that transpiles down to standard GDScript...
og:url: https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve
og:image: https://api.daily.dev/og/posts/Qtv3z6yve.png
og:image:alt: Gate ...A Better GDScript?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Gate ...A Better GDScript?

**[Gamefromscratch](https://daily.dev/sources/gamefromscratch)** · 11 min read · 3 upvotes · 0 comments

## Summary

Gate is a new open-source superset language for GDScript, similar in concept to how TypeScript relates to JavaScript, that transpiles down to standard GDScript for use in Godot. It requires Godot 4.7 and adds features like type-first declarations, null safety, structs, interfaces, traits, namespaces, generics, and expressions. The reviewer walks through installing it as an add-on, writing a .gate file, and seeing it compile to a .gd file, while noting a persistent Godot editor caching bug that fails to refresh the generated GDScript file automatically (though it does update on disk). Benchmarks show performance within about 2% of plain GDScript, with some operations faster and SoA structures notably slower to build but faster to iterate. Limitations include dropped comments, no debug source mapping yet, no type narrowing, and namespace classes that cannot be attached to nodes as scripts. No shipped game has used it yet.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=V9WaNyRxbNg>

## Questions this post answers

### What is Gate for GDScript and what version of Godot does it require?

Gate is a new open-source superset language for GDScript that compiles down to standard GDScript, similar to how TypeScript relates to JavaScript. Any valid GDScript file works unchanged as a .gate file. It requires Godot 4.7 and adds type-first declarations, null safety, structs, interfaces, traits, namespaces, generics, and expressions.

_Godot developers evaluating new GDScript tooling like Gate can track its evolution on daily.dev._

### How much slower is GDScript code compiled from Gate compared to normal GDScript?

Benchmarking found Gate-generated GDScript performs within about 1.6% to 2% of hand-written GDScript, so it is not meaningfully slower overall. Vector packing optimizations can make some operations faster, though Structure-of-Arrays (SoA) usage is about 2.4 times slower to build while being 1.9 times faster to iterate, paying off only with multiple passes per rebuild.

_Anyone weighing GDScript language extensions against raw performance can follow benchmarks like this on daily.dev._

### Why doesn't my compiled GDScript file update in the Godot editor when using Gate?

This is a known caching issue in the Godot editor itself, not a bug in Gate. Gate correctly writes the updated GDScript file to disk, but the Godot editor sometimes fails to refresh the open file view, even after closing and reopening it. Manually reloading the file from disk resolves the display, since the underlying file is accurate.

_Developers debugging editor quirks in Godot add-ons can find troubleshooting context like this on daily.dev._

## Similar posts on daily.dev

- [GDScript: The Good, Bad, and Ugly Parts](https://daily.dev/posts/gdscript-the-good-bad-and-ugly-parts-ueflx4oba) · Lobsters · 9 upvotes · 1 comments
- [New Godot Editor With Performance & UX Improvements](https://daily.dev/posts/new-godot-editor-with-performance-ux-improvements-w8g7eqavi) · 80 LEVEL · 19 upvotes · 2 comments
- [Experimenting with Godot](https://daily.dev/posts/experimenting-with-godot-gpgpvuaoc) · Matt Massicotte · 0 upvotes · 0 comments
- [GitHub - htdt/godogen: Claude Code skills that build complete Godot 4 projects from a game description](https://daily.dev/posts/github---htdt-godogen-claude-code-skills-that-build-complete-godot-4-projects-from-a-game-descripti-sqpvdlmgt) · Hacker News · 2 upvotes · 0 comments

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#godot](https://daily.dev/tags/godot)

[View this post on daily.dev](https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Gate ...A Better GDScript?","url":"https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve"},"datePublished":"2026-09-15T15:37:03.016Z","dateModified":"2026-09-15T15:37:26.703Z","description":"Gate is a new open-source superset language for GDScript, similar in concept to how TypeScript relates to JavaScript, that transpiles down to standard GDScript...","image":"https://i.ytimg.com/vi/V9WaNyRxbNg/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/V9WaNyRxbNg/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Gamefromscratch","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Gamefromscratch","logo":"https://media.daily.dev/image/upload/s--EcPfFcSs--/f_auto/v1724391677/logos/gamefromscratch","url":"https://daily.dev/sources/gamefromscratch"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"typescript,godot","timeRequired":"PT11M","video":{"@type":"VideoObject","name":"Gate ...A Better GDScript?","description":"Gate is a new open-source superset language for GDScript, similar in concept to how TypeScript relates to JavaScript, that transpiles down to standard GDScript...","thumbnailUrl":"https://i.ytimg.com/vi/V9WaNyRxbNg/sddefault.jpg","uploadDate":"2026-09-15T15:37:03.016Z","duration":"PT11M","url":"https://api.daily.dev/r/Qtv3z6yve","embedUrl":"https://www.youtube.com/embed/V9WaNyRxbNg"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Gamefromscratch","item":"https://daily.dev/sources/gamefromscratch"},{"@type":"ListItem","position":3,"name":"Gate ...A Better GDScript?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/gate-a-better-gdscript--qtv3z6yve#faq","mainEntity":[{"@type":"Question","name":"What is Gate for GDScript and what version of Godot does it require?","acceptedAnswer":{"@type":"Answer","text":"Gate is a new open-source superset language for GDScript that compiles down to standard GDScript, similar to how TypeScript relates to JavaScript. Any valid GDScript file works unchanged as a .gate file. It requires Godot 4.7 and adds type-first declarations, null safety, structs, interfaces, traits, namespaces, generics, and expressions. Godot developers evaluating new GDScript tooling like Gate can track its evolution on daily.dev."}},{"@type":"Question","name":"How much slower is GDScript code compiled from Gate compared to normal GDScript?","acceptedAnswer":{"@type":"Answer","text":"Benchmarking found Gate-generated GDScript performs within about 1.6% to 2% of hand-written GDScript, so it is not meaningfully slower overall. Vector packing optimizations can make some operations faster, though Structure-of-Arrays (SoA) usage is about 2.4 times slower to build while being 1.9 times faster to iterate, paying off only with multiple passes per rebuild. Anyone weighing GDScript language extensions against raw performance can follow benchmarks like this on daily.dev."}},{"@type":"Question","name":"Why doesn't my compiled GDScript file update in the Godot editor when using Gate?","acceptedAnswer":{"@type":"Answer","text":"This is a known caching issue in the Godot editor itself, not a bug in Gate. Gate correctly writes the updated GDScript file to disk, but the Godot editor sometimes fails to refresh the open file view, even after closing and reopening it. Manually reloading the file from disk resolves the display, since the underlying file is accurate. Developers debugging editor quirks in Godot add-ons can find troubleshooting context like this on daily.dev."}}]}
```

