Better HN
topnewbestaskshowjobs
Log inSign up

dotaheor

31 karma · joined Jul 2, 2019 (7y ago) · 12 submissions

Submissions

1.

Parameterized packages: an alternative Go generic design idea(github.com ↗)

1 points · by dotaheor · 6y ago · discuss

comment 6y ago · link · parent

It 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.

comment 6y ago · link · parent

A 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 error

error[E0463]: can't find crate for `std`

What I missed here?

comment 6y ago · link · parent

This really depends on what job a program does and how well the C program is implemented.

comment 7y ago · link · parent

The 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.

6.

A Go contract design combining the strong points of official draft v1 and v2(github.com ↗)

66 points · by dotaheor · 7y ago · 6 comments

7.

Unify Go 2 custom generics and Go 1 builtin generics(github.com ↗)

1 points · by dotaheor · 7y ago · discuss

8.

A solution to unify Go builtin and custom generics(github.com ↗)

1 points · by dotaheor · 7y ago · discuss

comment 7y ago · link · parent

sort by date: https://hn.algolia.com/?query=generics&sort=byDate&prefix&pa...

comment 7y ago · link · parent

Yes, I think. Now, the kubernetes project uses too many code generators, which makes it is to extend.

11.

A Go generic idea which looks like the builtin generics(github.com ↗)

1 points · by dotaheor · 7y ago · discuss