Why Golang instead of Rust to develop the Krater desktop app

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ent

    An entity framework for Go

  • The ent orm for golang actually does some useful work for you. https://github.com/ent/ent

  • arel

    A Relational Algebra (by brynary)

  • The property of composable queries is not unique to (or dare I say even characteristic of) ORMs, which are primarily concerned with mapping between relations (in the relational algebra sense) or tables, and in-memory objects.

    It's the modelling of SQL as an AST that gives you that composability, and this does not require an ORM; see for instance arel (even though this was later absorbed into Rails' ActiveRecord as an implementation detail). [0]

    [0] https://github.com/brynary/arel

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • sqlc

    Generate type-safe code from SQL

  • I can't find an equivalent for Go. https://github.com/sqlc-dev/sqlc and https://github.com/sqlc-dev/sqlc look nice, but they are doing codegen, definitely not as sleek as Rust sqlx.

    I guess it's a good example of how powerful Rust is. The "magic" that sqlx does at compile time gets really difficult if not impossible to do without macros.

    Of course you could create a separate parser/builder, and codegen works as well, but definitely not as convenient and flexible.

  • rust

    Empowering everyone to build reliable and efficient software.

  • > I still sometimes get lifetime errors that I donโ€™t understand.

    I'd like to remind people that errors you don't understand are bugs and I'd encourage you all to file a ticket when encountering any: https://github.com/rust-lang/rust/issues/new?assignees=&labe...

  • fyne

    Cross platform GUI toolkit in Go inspired by Material Design

  • Tauri is definitely a hot SEO keyword!

    I had not heard of https://wails.io before for Golang GUIs, only https://fyne.io which renders its own controls.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts