functools VS async

Compare functools vs async and see what are their differences.

functools

Functional tools in Go 1.18 using newly introduced generics (by rakeeb-hossain)

async

experimental promises in go1.18 with generics (by nkcmr)
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
functools async
4 3
177 63
- -
0.0 1.8
over 1 year ago over 2 years ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

functools

Posts with mentions or reviews of functools. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-22.

async

Posts with mentions or reviews of async. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-22.
  • Retrofitting Async/Await in Go 1.18
    1 project | dev.to | 22 Mar 2022
    // Taken from: https://github.com/nkcmr/async/blob/main/async.go type syncPromise[T any] struct { done chan struct{} v T err error } func (s *syncPromise[T]) Await(ctx context.Context) (T, error) { select { case <-ctx.Done(): var zerov T return zerov, ctx.Err() case <-s.done: return s.v, s.err } } func (s *syncPromise[T]) Settled() bool { select { case <-s.done: return true default: return false } }
  • Go Generics Facilitators
    6 projects | news.ycombinator.com | 22 Dec 2021
    I made this: https://github.com/nkcmr/async so I can experiment with the idea of Promises in Go. Keep in mind it's experimental and I've only lightly played around with the pattern.
  • Async: Experimental Promises in Go1.18 with Generics
    1 project | news.ycombinator.com | 18 Nov 2021

What are some alternatives?

When comparing functools and async you can also consider the following projects:

modern-cpp-features - A cheatsheet of modern C++ language and library features.

PIE - A behavior for Internet Explorer allowing it to recognize and render various CSS3 box decoration properties

gogu - A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.

generic - A collection of generic data structures written in Go.

fut

pie - 🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.

go2funk - Simple Golang API to use functional types in Golang, such as immutable List, Options, Try, Either...

genfuncs - Go 1.18+ polymorphic generic containers and functions.

async.go - A collection of utilities for async code in Go.

dogs - Make Go functional with dogs