BetterSPICE is a free, open-source SPICE circuit simulator

(bspicesim.com)

94 points | by zdw 4 hours ago

10 comments

  • runningmike 2 hours ago
    This title is misleading. This is not a valid osi open source license. Its Commons Clause. With a strange mix of agpl.

    But great software and great example of using AI to create a nice tool.

  • astahlx 2 hours ago
    I like it a lot and it would be an important addition to the agent loop. Hope the project will keep its pace up and find some contributors. It can definitely benefit from some better harness focusing on code quality. Still want good readable and well maintainable, for me but also for the agents.
  • hn_submit 1 hour ago
    The only thing I'm missing is a THD analyzer. Would it be feasible to add it?
  • Joel_Mckay 2 hours ago
    One may also download the upgraded LTSpice next generation, to use full granularity QSpice GPU simulation for free.

    https://www.qorvo.com/design-hub/calculators-simulation/qspi...

    A very nice tool if you like to learn about electronics, and want to avoid nonsense. =3

    • werediver 1 hour ago
      It's a pity QSPICE is Windows-only. LTspice also runs on macOS (not sure about Linux).
  • cosmicgbp 2 hours ago
    [dead]
  • kennywinker 50 minutes ago
    Seems like A vibe coded ripoff of falstad's circuitjs... they didn't even bother to change the look, just made the whole thing horribly cluttered and slopified.

    Just use https://www.falstad.com/circuit/circuitjs.html

  • dionyziz 3 hours ago
    You passed on the opportunity to call it SPICIER?
  • bowsamic 2 hours ago
    At least write the stuff on your landing page by hand. This is intensely and offputtingly LLM written
  • AIShill101 3 hours ago
    Hmm, the website and GitHub repo trigger my ai-slop filter unfortunately.

    Tho I really was looking for a nice circuitsim.

    • kennywinker 50 minutes ago
    • pbmonster 2 hours ago
      QUCS Studio has a python API. It's so ancient, not only is it certainly not slop, it comes with years of FOSS drama pre-build.

      No, but seriously. QUCS works for most projects, it's pretty impressive.

      • Joel_Mckay 2 hours ago
        The key feature in QUCS, is using NanoVNA or LiteVNA64 to model actual stock components. It can often hit below 12% error on the first try if done right. =3
    • noah32 3 hours ago
      I cooked up this slop a little while ago. https://turbospice.net/ It's still slop and probably not as good but maybe less chaotic looking
    • johnwheeler 3 hours ago
      [flagged]
      • Haven880 3 hours ago
        AI wrote significantly better. But not so if it is system architecture type of multi component software. But if the setup is in a continous loop, then it blows thru what human can do in that amount of time. This is already well known in senior engineers circle in big tech. You can just look at vectorcraft. Hard to find anyone with 20 years experience to manually code that out even if given them 5 years to do so.
      • gobdovan 3 hours ago
        Could you show some AI code that you consider better than human code + in which way is it better?
        • Haven880 3 hours ago
          Vectorcraft? You have to factor in time contraint. If you use an enginer working on the software for 20 years and vs a 1mth old software AI generated, it isnt a fair comparison. Or if one work in cybersec doing software analysis, no humans able to code better than AI when it comes to exploit+loop.
          • gobdovan 2 hours ago
            Is Vectorcraft considered better than Illustrator? I like the cybersec one, because if AI finds same vuln as human, if AI found it faster AI is just better. There's not much difference in how the exploit code looks like or how performant it is. Probably why AI seems so nice for math proofs as well.
          • cwillu 2 hours ago
            > You have to factor in time contraint.

            You really don't.

        • rurban 3 hours ago
          rurban/rcc is definitely better in the target features, than similar human code. The goal was to be faster in compilation, and having less bugs than gcc and clang
          • gobdovan 2 hours ago
            But aren't you responsible for the target features? Is there a particular piece of code or algorithm the AI came up with that you consider better than what you or another competent programmer would have written?
            • rurban 2 hours ago
              Yes, I favored correctness over execution speed.

              I also favored compile-time speed, because I couldn't compile my own huge library anymore on a 32MB laptop with gcc or clang, only with tcc, which has huge holes still.

              Special pieces:

              builtin preprocessor tokenizes only once, and interns all the identifiers. So not much strcmp needed later. And -E synthesizes the code from the tokens.

              Much simplier and faster codegen without the optimizer. Heuristic optimizer, compared to the exact cost-based optimizer in the huge compilers. Like, much easier inliner. No auto-vectorizer, the user can vector his code very easily by himself. No silent dead-code removal, which is safety critical.

              Compile-time conversion of large sparse switch cases to perfect hashes is unique. The AI wouldn't have come to it by itself, it needed to be guided.

              The test runner is much better and much faster than anything else. I hate waiting for regression test results. Gcc is perf horror, clang way overarchitectured.

              Simple -g avoids libdwarf overhead.

              • gobdovan 1 hour ago
                Thanks for the elaborate response. It seems AI is better at building software for small user base. Clang may be better for general usecases, but AI made it possible to build software around your specific preferences without spending years developing it.
                • rurban 1 hour ago
                  Nonsense. AI is better at building software in general as long as you follow proper software development principles.

                  AI slop coders, like ccc, dont do that, so their code sucks. They cannot even maintain it.

                  gcc decided against AI, so they are outpaced and are doomed. More and more bugs creeping on, it will only get worse.

        • johnwheeler 2 hours ago
          [flagged]
          • tomhow 2 hours ago
            Please stop with the sneering and swipes. HN is for curious conversation, not whatever this is. https://news.ycombinator.com/newsguidelines.html
            • johnwheeler 1 hour ago
              Sorry. Although I can argue that calling someone's hard work AI slop isn't cool either.
              • tomhow 1 hour ago
                We don’t like shallow dismissals, and they’re against the guidelines too. But it’s important for project creators to present their work in a way that engenders respect from the audience they’re asking to give them time and attention (and maybe money).

                I haven’t looked at this project so I don’t know if the critique is fair or valid. But on HN we are awash with projects that haven’t had much time or effort put into building them, and it’s understandable that a lot of people are succumbing to some fatigue.

                Really we want everyone to be kind and respectful, but that includes project creators being respectful towards the audience.

          • gobdovan 2 hours ago
            It was and still is a genuine question.
  • hizlikovboy27 2 hours ago
    [dead]