Major standard library changes in Go 1.20

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • warg

    Declarative and Intuitive Command Line Apps with Go

  • Very useful! I'll be playing with the error tree additions and studying the HTTP interface extension to see if I can replicate the pattern for https://github.com/bbkane/warg values. Id like to be able to have value-specific output for different types of --help , even ones not in warg

  • errcode

  • I wrote a package to attach codes to errors via wrapping rather than a shared error type: https://github.com/gregwebs/errcode

  • 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
  • proposal

    Go Project Design Documents

  • As far as I can tell, the consensus for generics was "it will happen, but we really want to get this right, and it's taking time."

    I know some people did the knee-jerk attacks like "Go sucks, it should have had generics long ago" or "Go is fine, it doesn't need generics". I don't think we ever needed to take those attitudes seriously.

    > Will error handling be overhauled or not?

    Error handling is a thorny issue. It's the biggest complaint people have about Go, but I don't think that exceptions are obviously better, and the discriminated unions that power errors in Rust and some other languages are conspicuously absent from Go. So you end up with a bunch of different proposals for Go error handling that are either too radical or little more than syntactic sugar. The syntactic sugar proposals leave much to be desired. It looks like people are slowly grinding through these proposals until one is found with the right balance to it.

    I honestly don't know what kind of changes to error handling would appear in Go 2 if/when it lands, and I think the only reasonable answer right now is "wait and find out". You can see a more reasonable proposal here:

    https://github.com/golang/proposal/blob/master/design/go2dra...

    Characterizing it as a "lack of vision" does not seem fair here--I started using Rust back in the days when boxed pointers had ~ on them, and it seemed like it took Rust a lot of iterations to get to the current design. Which is fine. I am also never quite sure what is going to get added to future versions of C#.

    I am also not quite sure why Go gets so much hate on Hacker News--as far as I can tell, people have more or less given up on criticizing Java and C# (it's not like they've ossified), and C++ is enough of a dumpster fire that it seems gauche to point it out.

  • distroless

    πŸ₯‘ Language focused docker images, minus the operating system.

  • One of my favourite Go security features is the single binary output, it means I can build my binaries into a distroless base image container for running in K8S. It removes a huge attack and vulnerability surface that containers introduce.

    My team uses Go whereas the rest of the company heavily uses Python. Our vulnerability scanner tool detects hundreds of high score CVEs just in their container images. Comparably there have been times I haven’t updated our distroless base image for a year and there isn’t even a single vulnerability (this one: https://github.com/GoogleContainerTools/distroless/blob/main...)

    In terms of defending your software supply chain, eliminating the cruft that is required to run an interpreted language in a container make a a huge difference.

  • RCIG_Coordination_Repo

    A Coordination repo for all things Rust Cryptography oriented

  • https://cryptography.rs/

    I would still like to have a more comprehensive or high level stdlib for Rust that is maintained by a core Rust team.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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

  • Modern Java/JVM Build Practices

    9 projects | news.ycombinator.com | 4 Jan 2024
  • How can someone who has primarily worked in Web/Mobile development break into systems engineering?

    1 project | /r/ExperiencedDevs | 18 Aug 2023
  • fn main() at the top or bottom?

    1 project | /r/rust | 3 Jul 2023
  • Announcing οΈβ€πŸŒˆ erdtree v3.1 οΈβ€πŸŒˆ

    1 project | /r/commandline | 30 Jun 2023
  • Announcing οΈβ€πŸŒˆ erdtree v3.1 οΈβ€πŸŒˆ

    4 projects | /r/rust | 30 Jun 2023