Does anyone have any goals they are hoping to achieve this year?

I’m planning to try and learn Raku but probably not use it as my primary solution language. I always prefer to do a secondary implementation in the new language so I’m not stuck on syntax and how to solve the problem.

As always my goal is to finish all the stars ✨🌟✨

  • mykl@lemmy.worldM
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    I first started going through my solutions from last year because I was intrigued by the interesting new language Uiua (pronounced wee-wuh) which is described as a “general purpose, stack-based, array-oriented programming language with a focus on simplicity, beauty, and tacit code.” (think APL meets FORTH!) But I soon realised that although I could solve some of the problems in Uiua, for others I don’t think a day will be long enough!

    So it will be back to Dart this year with the goal of having every solution runnable in DartPad in well under one second, and ideally without having to search for hints online. I made it to day 19 last year before I got stumped; you’ll see more about that on Sunday!

    • hal9001@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      Uiua sounds super interesting. I remember day 19 last year being very finicky.

      I’m the same way I want to solve the problem and not have to also solve the problem of writing in a new language.

      Here is my day 19 in clojure (not sure of that helps at all)

      • mykl@lemmy.worldM
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        Thanks, I’m not that familiar with Clojure, but I can read it okay. How fast did that run for you? I tried it in an online Clojure editor and it took more than 10 seconds for me, which from memory is comparable with my solution before I started hacking in some terrible shortcuts…

          • mykl@lemmy.worldM
            link
            fedilink
            arrow-up
            2
            ·
            8 months ago

            Haha, I bit the bullet and installed Clojure… and Calva… and Leiningrad… and eventually got it to run locally. Looks like it’s quite slow via the REPL, but I get similar times to you when I run it with plain old "clojure -M”. That looks like a nice REPL though. I might pick through your code a bit more and see if I can improve my solution before Sunday!

              • mykl@lemmy.worldM
                link
                fedilink
                arrow-up
                1
                ·
                8 months ago

                That’s probably going to be a bit much for me to get my head around any time soon, but it actually inspired me to complete the automation around my own solutions :-)