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

A modern .NET language with Go, Kotlin, and Swift ergonomicsG# brings Go-, Kotlin-, and Swift-style ergonomics — packages, func, data class, nullable handling with if let, structured concurrency with scope — to the .NET runtime. Source compiles directly to managed assemblies.Get startedTake the tour
G# brings Go-, Kotlin-, and Swift-style ergonomics — packages, func, data class, nullable handling with if let, structured concurrency with scope — to the .NET runtime. Source compiles directly to managed assemblies.Get startedTake the tour
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.
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.
Structured concurrency with scope, async/await over Task[T], and async sequence[T] async streams. Channels and goroutines ship as an opt-in extension.
Width-bearing primitives like int32, uint64, and float64 make the size of every value explicit — no guessing.
A command-line compiler (gsc), an MSBuild SDK, a VS Code extension, a language server, and Portable PDB debugging.
Learn the language from a single, implementation-grounded specification, plus tutorials and an “Effective G#” idioms guide.