Go-set type-safe sets for Go, generics in practice

3 points by hankzter ↗ HN
Go-set is a type-safe, zero-allocation set implementation for Go.

https://github.com/scylladb/go-set

At Scylla we are long time users of https://github.com/fatih/set and after it’s discontinuation we wanted to still use it. We therefore created an enhanced clone with a typesafe API and high performance.

We like generics a lot so we used the Google tool “go_generics” from the gVisor [1] code base to generate the concrete implementations. Most of the simple language builtin types are supported.

If you enjoy go-set come work with us, we are hiring Go Developers. Learn more at https://www.scylladb.com/company/careers/

[1] https://github.com/google/gvisor/tree/master/tools/go_generics

0 comments

[ 2.4 ms ] story [ 7.4 ms ] thread

No comments yet.