News for hackers. Stuff that matters.
Re:Goenums: Type Safe Enum Generator for Go by ironmagma on Saturday April 26, 2025 @08:15PM (#43808373)
Compilation time is fast, and it’s debuggable. Typescript would be the main competitor in my mind, but compilation with TS is slow and you have no parallelism without native extensions.
Re:Goenums: Type Safe Enum Generator for Go by niux on Sunday April 27, 2025 @02:09PM (#43813924)
Not anymore, since the Typescript compiler has been re-written... in Go.
Re:Goenums: Type Safe Enum Generator for Go by ironmagma on Sunday April 27, 2025 @07:36PM (#43816070)
That’s still a work in progress. And is it really faster than Go compilation? Just because it’s written in Go doesn’t guarantee that.