Parameterized packages: an alternative Go generic design ideagithub.com1 points·by dotaheor·6 lat temu·0 comments
A Go contract design combining the strong points of official draft v1 and v2github.com66 points·by dotaheor·7 lat temu·6 comments
Unify Go 2 custom generics and Go 1 builtin genericsgithub.com1 points·by dotaheor·7 lat temu·0 comments
A solution to unify Go builtin and custom genericsgithub.com1 points·by dotaheor·7 lat temu·0 comments
A Go generic idea which looks like the builtin genericsgithub.com1 points·by dotaheor·7 lat temu·0 comments
dotaheor·6 lat temu·discussIt looks the "install.sh" script must be executed by an admin to install the tools in some system folders. Setting the bin folders in PATH doesn't work, and error message is totally useless to explain why the way doesn't work.
dotaheor·6 lat temu·discussA silly question: how to build the examples? I haven't found a build tutorial in the project.As a rust newbie, I guess I should run in "cargo build" in the example folders. But both output the errorerror[E0463]: can't find crate for `std`What I missed here?
dotaheor·6 lat temu·discussThis really depends on what job a program does and how well the C program is implemented.
dotaheor·7 lat temu·discussThe constraint expressions are expected to be used in generic declaration body scopes instead of top package scopes. For example: https://github.com/dotaheor/unify-Go-builtin-and-custom-gene..., so I think the ambiguity should not happen.
dotaheor·7 lat temu·discusssort by date: https://hn.algolia.com/?query=generics&sort=byDate&prefix&pa...
dotaheor·7 lat temu·discussYes, I think. Now, the kubernetes project uses too many code generators, which makes it is to extend.