G – A modern .NET language with Go, Kotlin, and Swift ergonomics

serial_dev1 pts0 comments

G# — A modern .NET language with Go, Kotlin, and Swift ergonomics | G#

Skip to main content<br>Modern, familiar syntax<br>Packages and imports, func declarations, sealed classes and discriminated enums, arrow lambdas, if let nullable handling, and pattern-based switch. Recognisable from Go, Kotlin, Swift, and TypeScript.

🔷<br>Runs on .NET<br>G# compiles straight to managed assemblies and runs on the modern .NET runtime. Import any CLR type, call its methods, and ship a normal executable.

🧵<br>Concurrency built in<br>Structured concurrency with scope, async/await over Task[T], and async sequence[T] async streams. Channels and goroutines ship as an opt-in extension.

🔢<br>Precise numeric types<br>Width-bearing primitives like int32, uint64, and float64 make the size of every value explicit — no guessing.

🛠️<br>Real tooling<br>A command-line compiler (gsc), an MSBuild SDK, a VS Code extension, a language server, and Portable PDB debugging.

📘<br>A complete specification<br>Learn the language from a single, implementation-grounded specification, plus tutorials and an "Effective G#" idioms guide.

modern language kotlin swift async ergonomics

Related Articles