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.
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.
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
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.
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.
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.
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
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?
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.
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.
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 when asking for their time and attention (and maybe money).
I haven’t looked deeply into 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.
But great software and great example of using AI to create a nice tool.
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
Just use https://www.falstad.com/circuit/circuitjs.html
Tho I really was looking for a nice circuitsim.
No, but seriously. QUCS works for most projects, it's pretty impressive.
You really don't.
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.
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.
I haven’t looked deeply into 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.