dysfun@treehouse.systems ("gaytabase") wrote:
still getting my head around things, but so far i seem to have managed to steal some bits off some pointers, a thing that nobody seems to have written about in zig. or at least not that i can find.
there isn't strictly polymorphism, instead what you have are functions with comptime parameters that return
typeand duck typing structs that it returns.i'm... kinda okay with this in principle, though it remains to be seen what i can do with it in practice.
one thing i consider a bit of a problem for my purposes is lack of simd intrinsics. i could write it all in assembly, but i'm not going to, which i suppose leaves writing those bits in C and hoping LTO will pick up the slack?