{
  "id": 21397800,
  "title": "GPP -- Build on Go with classes, generics, exceptions, and more",
  "url": "https://urgent.news/2026/11/23/gpp-build-on-go-with-classes-generics-exceptions-and-more",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-23T13:10:31.000Z",
  "source": {
    "name": "Lobsters",
    "slug": "lobsters",
    "url": "https://gpp.telga.in/"
  },
  "original_language": "en",
  "account": "GPP is an independent open source project designed to add higher-level language features to Go while preserving its familiar tools, packages, and runtime. It introduces features such as classes, multiple inheritance, overloading, exceptions, and built-in serialization, drawing a playful parallel to the evolution of C++ from C.\n\nGPP is not affiliated with or endorsed by Google or the Go project. However, it compiles to ordinary Go, allowing projects to utilize existing Go packages and interoperate with Go code. Users can compile .gpp files using the gpp CLI, and the Go toolchain handles the subsequent build and execution of the generated Go code.\n\nGetting started with GPP is straightforward. Users can begin with familiar Go syntax and compile .go files using the gpp run command. As they become more comfortable, they can incorporate GPP features like classes or named arguments when they prove beneficial. Existing Go code can coexist with GPP code, providing a seamless integration.\n\nIt is crucial to note that GPP is still an experiment and has not undergone extensive community review. Users are advised not to adopt it casually for production systems until it has matured. The project is actively moving forward while refining the language and API surface. As features stabilize and are locked down, breaking changes should become less frequent.\n\nTo install the latest version of GPP, users should consult the Getting Started guide. If they encounter any issues, they are encouraged to report them through GitHub Issues, providing their current GPP version, the last version that worked, a small reproducer, and the complete error output. GPP operates under the same BSD 3-Clause license as Go, allowing users to use, modify, and redistribute the project in source or binary form, including commercial use, provided they adhere to the license conditions.\n\nEngaging with the GPP community is encouraged through GitHub Issues or GitHub Discussions. Users can share questions, ideas, and bug reports to contribute to the project's development. For larger feature ideas, starting a Discussion allows for collaborative design exploration. The project may open pull requests from outside contributors as it matures, and existing work has already incorporated contributions made using large language models.\n\nAnyone interested in contributing should follow the Getting Started guide to install GPP and create their first project. By participating in the GPP community, users can help shape the future of this innovative project, pushing the boundaries of what is possible with Go while maintaining its familiar tooling and runtime.",
  "summary": null,
  "key_points": [
    "GPP adds classes, generics, exceptions to Go",
    "Works with existing Go packages, interoperation",
    "Still experimental, not for production use"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}