[HN Gopher] Prep: Golang Comptime
___________________________________________________________________
Prep: Golang Comptime
Author : Seb-C
Score : 27 points
Date : 2024-09-27 17:23 UTC (2 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| andyferris wrote:
| The cool thing that zig comptime does is that it interacts with
| the type system. This seems geared around computations, more than
| e.g. defining structs.
| pa7ch wrote:
| I wonder what Go would look like if it had generics removed but
| something like comptime added.
___________________________________________________________________
(page generated 2024-09-29 23:00 UTC)