Nimony: A New Compiler for Nim

(nimony.org)

48 points | by Fervicus 1 day ago

7 comments

  • jphoward 27 minutes ago
    I love Nim but my only problem with it previously was support for dictionaries/objects felt really weird? There was some sort of JSON structure as I recall, but it didn't seem anywhere near as easy to use as the analogous structures in Python/JS. Am I misremembering? Has this been improved?
  • polotics 2 hours ago
    This is great! Congrats to the Nim team for keeping the pedal to the metal!

    Sum-types, borrow-checking... Nim 3 is beautiful.

  • aktenlage 31 minutes ago
    Does anyone already have experience, how the developer experience is? Error messages, debugging and so on?
  • pjmlp 1 hour ago
    Looking interesting, I like the improvements over what Nim used to be.

    The big question is naturally the adoption curve, given the breaking changes.

    • DeathArrow 54 minutes ago
      It's not a big issue since Nim didn't have a large following. If anything, it might help Nim to take off if it's good enough and user friendly enough.
  • jimbob45 44 minutes ago
    Nim still has the GC, right? It always seemed like a slightly better Golang, much worse Dlang in that respect.
  • lobf 1 hour ago
    Nim is cool, but holy moly this web design is disgusting. Absolute one-shot prompting.
    • heavensteeth 36 minutes ago

         <button class="nav-btn" onclick="navigateToPage('index.html')">Home</button>
      
         ... 
      
         // Navigation functionality
         function navigateToPage(filename) {
             window.location.href = filename;
         }
      
      What shockingly poor code. Just disgraceful.

      This is bad for accessibility, bad for compatibility, and serves no purpose at all.

      • arcanemachiner 6 minutes ago
        Ha, that is bad. This is what happens when you use the cheap LLMs. (At least, I hope Opus 5.5 isn't pulling stunts that are this bad... It's not that bad when I look at my code.)
    • badsectoracula 47 minutes ago
      Everyone has a different taste.

      Personally i like the site's design, it looks like from late 2000s / early 2010s with its gradient rounded buttons, 1px offsets and chiseled text - i even clicked randomly on buttons because of how "buttony" they look :-P.

      IME this isn't what LLMs make by default, so if nothing else, i doubt it was a single prompt and most likely it was adjusted to fit the author's taste (that it sounds like doesn't align with yours).

    • konart 1 hour ago
      idk, looks like a classic design from 2010. See QIP or AIMP Classic.
    • asibahi 1 hour ago
      Not everything you dont like is LLM-made.
      • brianush1 1 hour ago
        it's definitely LLM-made (if you look at the CSS, there's LLM-written comments) but it doesn't look like a one-shot prompt
        • pjmlp 1 hour ago
          Nowadays the brown background Claude design is everywhere, at least this one is somehow different.

          Just like when HTML templates started to be a business all websites looked the same.

  • DeathArrow 57 minutes ago
    Cool, now we can fight the borrow checker in Nim, too.