Will there be anyone doing the challenges in Zig this year? I find
learning the language in isolation is difficult, and it would be nice to
see what some more idiomatic Zig code looks like :)
> Will there be anyone doing the challenges in Zig this year? I find learning the language in isolation is difficult, and it would be nice to see what some more idiomatic Zig code looks like :)
Time and work schedule permitting (hectic days around here), I’d love to do it. I’m a complete beginner, though, and I fully subscribe to this. Having a chance to follow a seasoned dev as they go through the challenge would be awesome.
J.
On Thu, Dec 1, 2022 at 2:53 PM Peter Bridge <peter_bridge@hotmail.com> wrote:
>> Will there be anyone doing the challenges in Zig this year? I find> learning the language in isolation is difficult, and it would be nice to> see what some more idiomatic Zig code looks like :)
I am a beginner too and do plan to attempt at least the initial easy
exercises in Zig.
Ganesan
--
Ganesan Rajagopal
I am doing it in Zig for the third year -- love to exercise my zig
chops. I cannot say if my code is idiomatic or not; let me know if you
want to take a peek and I can share the repo with you.
Cheers and good luck!
On Thu, 1 Dec 2022 at 05:15, Ganesan Rajagopal <rganesan@gmail.com> wrote:
>> On Thu, Dec 1, 2022 at 2:53 PM Peter Bridge <peter_bridge@hotmail.com> wrote:> >> > Will there be anyone doing the challenges in Zig this year? I find> > learning the language in isolation is difficult, and it would be nice to> > see what some more idiomatic Zig code looks like :)>> I am a beginner too and do plan to attempt at least the initial easy> exercises in Zig.>> Ganesan>> --> Ganesan Rajagopal
--
Gonzalo Diethelm
gonzalo.diethelm@gmail.com
On Thu, Dec 1, 2022 at 11:02 PM Peter Bridge <peter_bridge@hotmail.com> wrote:
>> Will there be anyone doing the challenges in Zig this year? I find> learning the language in isolation is difficult, and it would be nice to> see what some more idiomatic Zig code looks like :)
I do not know if my code is idiomatic or not, but here it is anyway:
https://nest.pijul.com/voroskoi/aoc2022-zig
You can find some other years under my account in zig too. I am happy
to answer/help here or in private if You have question.
Have fun!
Hi all, Bit of a strange one, but the format specifier 'X' is showing as
deprecated, however it causes a compile time error, not a warning... So
does that mean it has actually been removed?
I am using vscodium with 0.10.1 and the ZLS plugin (btw which seems to
ignore the 'checkforupdate' flag being set to false, so it might be that
it has somehow changed versions beneath my feet.
Anyway I checked the documentation 'master' version (and 10.1 docs) and
there is nothing at all regarding this change.
The recommendation is to use fmtSliceHexUpper, but I dont find this
mentioned anywhere on modern useless search engines. Any help please?
I could go back a version, but I needed the new packed struct(u32) for
some low level PinePhone programming, what a great feature btw, thanks
:) and I love that I can nest a enum(u2) for some of the register flags
I am using, great work!
Cheers, Peter