Samuel Berthe github.com

A Lodash-style Go library using generics  ↦

Samuel Berthe:

This project have started as an experiment to discover generics implementation. It may look like Lodash in some aspects. I used to code with the awesome go-funk package, but it uses reflection and therefore is not typesafe.

As expected, benchmarks demonstrate that generics will be much faster than implementations based on reflect stdlib package. Benchmarks also shows similar performances to pure for loops.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00