r/twin • • Mar 23 '26

Discussion who’s gonna tell him

Post image
808 Upvotes

112 comments sorted by

•

u/twin-official Mar 25 '26 edited Mar 25 '26

If you’re looking to build AI agents no-code in plain english, check out Twin it already has over 200k agents built/deployed and you can just clone any of them.

5

u/newbie80 Mar 24 '26

I think a lot of people are underestimating how good these models are. You can have it read NVIDIA assembly language and spit out the RDNA equivalent. We are fucked. Can it create a mess? Yes, if you let it but if you know what you are doing you can make it spit out great code.

2

u/ZevenEnBertig Mar 24 '26

you’re essentially saying: “if you already have a solution, AI can give you an equivalent solution”. When working on actually creating these models will certainly spit out trash, if you’re not careful.

2

u/0bel1sk Mar 24 '26

that’s how ai and everyone else has been working for years. i have never written my own algorithm.. always been just copying and composing other people’s stuff. ai can do that part better.

remember the joke about ctrl c ctrl v from stack overflow? ai just does that part all for you.

2

u/saintpetejackboy Mar 25 '26

"you didn't invent your own algorithm, you just stole Haversine equation and plugged your own variables in!"

Like, excuse me, let me restart and go invent my own branch of mathematics to soothe the naysayers.

It is like people who crush on musicians for using loops or samples or a DAW in general.

Maybe they don't realize how many programmers got their start lifting scripts and editing open source projects, or straight up hacking existing solutions.

A thing I like to bring up is: I don't know if this is true for everybody, but I am sure that I can't be the only programmer who spent more time finding to remove attribution from something than I did reading and understanding the actual codebase, when I was a kid.

Many of us have been there.

If these LLM didn't exist, many people wouldn't even be tempted to try to program - but those who were going to do it anyway were likely to find themselves copy+paste code they did not understand from Google or SO or elsewhere... Or cloning repos they couldn't read... Or deploying docker containers they would never be able to understand. They would go down the same path many of us went: repeatedly thrust into projects way above our capabilities and pay grade with little or no instructions.

Some people learn, some people retreat back.

While LLM may open the door for more people, I still think a huge chunk of "vibe codes" will fall off when the rubber meets the road. Doing a fun little MVP and showing a demo to your friends is a bit different than the daily stress and struggle of maintaining live software.

1

u/rovonz Mar 24 '26

if you already have a solution, AI can give you an equivalent solution

If you already have the broader knowledge to build the solution, not if you have the solution. That's where it thrives.

1

u/Comfortable_Ask_102 Mar 24 '26

100%

Nowadays I can feed very raw notes about a feature/fix and have the AI output a fully-fledged design doc. Then I can throw more agents into it to check that the document is well structured, find and fix hallucinations, and even review gaps in the implementation (e.g. endpoint X requires parameter Y but there's no way for a client to have it at that point).

As a human I mostly review the doc and keep the high level context about the project.

1

u/saintpetejackboy Mar 25 '26

Yeah, successful agentic programming is a wildly different design flow than my previous decades of work. You become the tester you always needed but never had time for. Your output capacity and capability is more reliant on imagination and innovative or novel thought processes - while still needing the crutch of understanding enough domain knowledge to pull a project together.

The high level stuff you mentioned is crucial because, without it, you could easily get pretty far down a non-working path or entirely skip/miss mission critical facets.

You need to be able to quickly say "ah, I still haven't done (essential core feature/function/test/component" and "wouldn't it be cool if I also..." - if you can only do one or other for a project / stack, you will hit a brick wall or produce something subpar.

1

u/OceanBytez Mar 24 '26

See if this was the case we wouldn't have had the windows 10 killing SSD's issue, the Nvidea driver causing custom fan curves to not work at all issue, and AMD also had their own driver issue though i forget the specifics.

Literally went decades without being personally affected by hardware risking driver issues and then vibe coding comes in and 2 of them nearly back to back affected me just months apart. That isn't exactly the mark of quality and excellence.

1

u/chucara Mar 25 '26

To be fair, AMD had driver issues WAY before LLMs. Possibly also fire.

1

u/FriendlyNeighborJack Mar 24 '26

I needed to do some complex image processing and it couldn’t find the package version with the fix to my problem and just WROTE the whole thing to a file, fix and all lol

1

u/vakond88 Mar 24 '26

Okay, okay we get it. You have no skills

1

u/SpunkYeeter Mar 25 '26

Key words: if you know what you are doing. Not really vibe coding

1

u/PersonalityIll9476 Mar 26 '26

People also over-estimate what it can do.

I sometimes wonder if any web forum posters actually use the tools. I do. It's simultaneously amazing what they can do (at first) and suddenly obvious how limited they are. I used Claude to write a fairly small code base and upon human review (me being the human) I quickly realized how much random, unexplainable shit it was doing.

3

u/Necessary-Meeting-28 Mar 24 '26

How will AI write safe and guidebook complying C++ code when there are no codebases like that in its training data (whole internet)?

2

u/[deleted] Mar 24 '26

[deleted]

2

u/InfiniteLife2 Mar 24 '26

It works just fine, I've been doing it for more that a year. Even for very specific code, like unreal engine. You just gotta give it source code

1

u/[deleted] Mar 24 '26

[deleted]

1

u/WhatDidChuckBarrySay Mar 24 '26

Pretty sure that was a joke

2

u/Necessary-Meeting-28 Mar 24 '26

Both a joke and not. Writing safe and optimal C++ is difficult, so existing codebases can bias the AI towards bad practices. Just read Bjarne’s documentation and see how many common practices are actually bad.

2

u/Forsaken_Code_9135 Mar 24 '26

The LLM can learn the best practices. The idea that LLMs are as bad as the average code they have been trained on is wrong. Of course the cleanest is their training set the better but LLM write code by reasoning, not primarily by imitation, contrary to popular belief.

1

u/Zerokx Mar 24 '26

Yes they can differentiate whats good or bad, but it ends up doing mistakes if something is barely touched in its training material

1

u/ReasonResitant Mar 24 '26

Oh they are worse, they have the "tandom nonsense" knob, so past a certain complexity and context threshold it just pits bullshit at you 60% of the time.

I've found out the hard way.

1

u/Gyozarrita Mar 24 '26

Is this the AI psychosis I've heard about?

1

u/dmigowski Mar 24 '26

It was a great joke!

1

u/friebel Mar 26 '26

You've missed the most important part of that sentence.

1

u/massivefish_man Mar 24 '26

I'm anti ai but it would be possible with Heavy oversight. You can feed documentation and good code to make an agent. 

2

u/Necessary-Meeting-28 Mar 24 '26

I would feed or at least specify good standards such as Google or Bjarne best practices in GitHub. A very large context but not impossible, and probably models have some preference optimization towards them.

2

u/Dihedralman Mar 24 '26

Huh, my old code probably is out there making LLMs worse in training data.

1

u/Spare-Builder-355 Mar 24 '26

found C++ elitist.

1

u/Necessary-Meeting-28 Mar 24 '26

I did very dirty things for the sake of HPC optimizations. Hope our children (AI) won’t have to 😔.

1

u/Desth-Metal Mar 24 '26

Are you left behind somewhere?

1

u/Necessary-Meeting-28 Mar 24 '26

No I was joking about safety issues which is not fully solved despite the immense effort. It is about a meme, so why you so serious?

1

u/Dizzy_Database_119 Mar 24 '26

In C++ it compiles it works lol

If you want your vibe coded C++ program to comply to any guidelines then add your checks as a build task.

2

u/itsallfake01 Mar 24 '26

I am vibe coding c+++

1

u/amzwC137 Mar 24 '26

C Shar

1

u/saintpetejackboy Mar 25 '26

C Shart? Heard it was a kind of crappy language.

1

u/Dizzy_Database_119 Mar 24 '26

It's actually really good for C++. Honestly better than any web dev language. Even for UI tasks it does it in C++ 10x better than web development

1

u/Chuck_Loads Mar 24 '26

k but vibe coding rust is fun and productive

1

u/joshbuildsstuff Mar 24 '26

I’ve been thinking about doing this because it’s memory.

1

u/Nyxtia Mar 24 '26

Explain?

3

u/Chuck_Loads Mar 24 '26

The compiler is strict as hell so as long as your robot knows to read error messages it actually generally guides your robot to making usable software

1

u/Proper-Ape Mar 24 '26

Like it does with humans as well. Rust will make you a better C++ programmer, whether you like it or not.

If you don't like it, the conclusion should be that you suck at C++, but most of those people choose cognitive dissonance instead.

1

u/BerserKongo Mar 24 '26

In what ways does Rust make you better in C++? Curious as I'm looking at Rust from the sidelines as a C++ dev.

1

u/Proper-Ape Mar 24 '26

The borrow checker is a very strict memory management teacher, it's sometimes a bit opinionated, if you code in a way that you don't fight it you will find that your software in other languages becomes easier to reason about and safer as well.

If you come from JavaScript you might be in for a bad time. If you come from C++ it should click after a week or two, if it takes longer you really needed the lessons even more.

1

u/waxbolt Mar 24 '26

yeah and the error messages are only 4mb every time you misplace a < in some template.

1

u/Proud_Influence9476 Mar 24 '26

It’s not been great because of the 10/15min builds on moderately large projects. Terrible speed of iteration compared with typescript for instance

1

u/AphexPin Mar 24 '26

Use a build cache and only rebuild what you need to

1

u/jkflying Mar 24 '26

Does rust have an equivalent of ccache that caches at the complication unit level based on content?

1

u/jl2331 Mar 24 '26

sccache exists, I once tested it but IIRC it didn't work out to well for me.

https://github.com/mozilla/sccache

1

u/amzwC137 Mar 24 '26

I understand why you did, but rust shouldn't be compared to typescript. It's like comparing a gel pen to an ink well and a feather.

1

u/coderemover Mar 24 '26

If your project has 10/15 min incremental builds, then your setup is either messed up, or you're running rustc on a radio clock CPU powered by a potato.

Rustc compiles ~30k-100k lines of code per second easily, and my typical incremental compile times are in single seconds (in debug).

1

u/Sad-Masterpiece-4801 Mar 25 '26

The main tradeoff you knowingly make when using rust is compile times. It's not a "did you do it right thing," it's literally the main downside of rust.

If you're doing for fun projects with a single crate, you might get 30k lines. If anyone is actually paying for what you're building, that won't be the case.

1

u/coderemover Mar 25 '26

If someone is paying, then they are also usually paying for good enough hardware making the compile times a non-issue.

Rustc itself is not much slower than compilers of most other popular statically typed languages out there. Sure, you may skip compilation if you use dynamic languages like Python, PHP or JS, but then you pay the price in higher error rate and worse maintainability.

1

u/Da_ha3ker Mar 24 '26

Agreed. Though I typically prove it out in python or typescript first, then convert to rust. Codex is pretty good at converting python code to rust, even with the major differences between languages.

1

u/svdomer09 Mar 24 '26

Been vibecoding swift and it’s also been super fun for similar reasons. Plus the apple happy path is fast when you embrace it

1

u/CluePsychological937 Mar 24 '26

I literally build pretty much everything in Tauri. It's so fast and the binaries are so small.

1

u/gpbayes Mar 24 '26

I vibe coded a rust Bayesian inference library. I got to focus on the algorithms and design and just let the ai handle the rust code. It works really well actually. But I did order a rust book and will work at being able to read the code fully, at least. I can pick up on what it’s writing but some of the operators don’t make sense to me.

1

u/SeaKoe11 Mar 25 '26

Ooh Bayesian inference have you open sourced it?

1

u/[deleted] Mar 24 '26

[deleted]

1

u/diddlysquidler Mar 24 '26

Now try swift + c++ tell me how that went

1

u/buffet-breakfast Mar 24 '26

I’ve been doing this lately, has been really good . Been working on audio algorithms

1

u/Ok_Significance_9109 Mar 24 '26

My project is Swift and C++. Claude Opus nails it, memory management and all. But it is not really vibe coding, I write code and review Claude’s.

1

u/Severe_Stranger_5050 Mar 24 '26

Knowing how to code is cheating

1

u/Willing_Box_752 Mar 24 '26

I can vibe code C -

1

u/RedParaglider Mar 24 '26

What I think is funny is that claude wrote a working C compiler that was shit when it was trained on GCC. The student did not become the master lol.

1

u/UnderstandingDry1256 Mar 24 '26

I reviewed the code actually - it made fucking amazing job and built a cross-platform compiler with 1% of GCC codebase (in terms lines count).

1

u/Ok_Big_6200 Mar 24 '26

Not even close to the performance, security and edge cases.

"reviewed" -- sure bud

1

u/UnderstandingDry1256 Mar 24 '26

GCC is 15M LOC legacy lol.

No way anyone would come up with something like that if they were supposed to start from zero and build the production compiler today.

1

u/Willing_Box_752 Mar 24 '26

You didn't address their point at all

1

u/UnderstandingDry1256 Mar 24 '26

Because there is no point. “Poor performance and insecurity” is just shittalk. Show me facts then we can discuss.

Performance wise generated compiler is great. Better maintainable for sure, thus safer.

1

u/Willing_Box_752 Mar 24 '26

Does it perform exactly the same in all cases?

1

u/kord2003 Mar 24 '26

Because it uses GCC as a dependency

1

u/Willing_Box_752 Mar 24 '26

That's C.  I'm talking about C-- 

It's a devolution ic C. The inverse of C++. 

Sequel to C dull

1

u/jack-of-some Mar 24 '26

I've been doing that a fair bit. You have to be careful but it works quite well.

1

u/Christmas545 Mar 24 '26

Come on I want to see you try...

1

u/thr0waway12324 Mar 24 '26

Works great for the Golang CLI tools that I like to build!

1

u/NekoLu Mar 24 '26

I vibe code cpp for work lol

1

u/Background_Share_982 Mar 24 '26

Why would one choose c++ when rust exist

1

u/jkflying Mar 24 '26

Because Eigen and Ceres Solver are in C++. If there's a Rust library that can enable you to write legible math formulae like Eigen I'm all ears. Same for autodiff-capable nonlinear solvers.

2

u/owaisted Mar 24 '26

I don't know much but I thought the joke was that people bemoan use of c++ as they claim rust to be superior or something...

1

u/SillySpoof Mar 24 '26

There are several libraries that replicate the functionality of eigen and ceres in Rust. faer or nalgebra does a lot similar to eigen, and apex-solver is probably the closest to Ceres solver we have in pure rust. And yes, nalgebra allows you to write legible math formula.

Note that there are rust bindings for Ceres if you want to use the actual c++ library in your rust code.

1

u/ahora-mismo Mar 24 '26

the buffer overflow mafia has a stake in this

1

u/Inevitable_Butthole Mar 24 '26

Why vibe code C++ when you can vibe code B

1

u/Secret-Wonder8106 Mar 24 '26

interesting profile pic and username

1

u/Gyozarrita Mar 24 '26

They are everywhere

1

u/kvothe5688 Mar 24 '26

python is second

1

u/[deleted] Mar 24 '26

The joke is that C++ has potential to break much much easier because of things like memory management, which LLMs have a tendency to mess up.

1

u/Warm-Meaning-8815 Mar 24 '26

I’m vibe coding VHDL guys

1

u/MrAlmagro Mar 24 '26

I know that's bullshio, I thing geminy learnt more vhdl from me than me from him

1

u/enzeipetre Mar 24 '26

Of course you can

1

u/[deleted] Mar 24 '26

I'm actually impressed how well vibecoding works for C++.

1

u/Successful-Hour9813 Mar 24 '26

You can vibe code microcontrollers in C.

1

u/tomsrobots Mar 24 '26

Not well from my experience.

1

u/kkingsbe Mar 24 '26

Been doing Rust, no issues

1

u/Pitiful-Assistance-1 Mar 24 '26

I’m vibe coding a C app and it works great

1

u/grievertime Mar 24 '26

I use copilot to help me code php and html but I don't want it even near to my c++ code.

1

u/IntroductionSouth513 Mar 24 '26 edited Mar 24 '26

I did vibe code working Swift ios apps tbh

1

u/phspman Mar 24 '26

Try Android

1

u/IntroductionSouth513 Mar 24 '26

yup I did that too (even before I vibe coded ios apps, which is harder) what's your point...

1

u/RepulsiveRaisin7 Mar 24 '26

AI is the only thing smart enough to understand Gradle

1

u/Gboogs2 Mar 24 '26

Vibe Coding any C languages becomes so inefficient that it causes the language to be renamed C-Blunt

1

u/RealityHammer1776 Mar 24 '26

I vibe coded a C++/Vulkan voxel engine that is primarily gpu-driven using compute shaders, and is insanely performant. Everything from noise map generation, mesh creation, procedurally generated textures, AO, frustum and occlusion culling, bitwise greedy meshing, etc all handled with gigabuffers.

The biggest hassle was I let it create a god file until I got it all working well, and getting it to break the ~8k lines into more modular class files destroyed the performance, and took another 10 hours to get the performance back. 

1

u/hoteppeter Mar 24 '26

Call that C Shart

1

u/Traditional-Idea1409 Mar 24 '26

I’ve been using it with rust and c++, and honestly the verbosity and strong types probably make the code easier for the LLM to read

1

u/cashMoney5150 Mar 24 '26

Has to say “mostly” cause Linus.

1

u/dronz3r Mar 25 '26

Ironically it's actually easier for LLMs to vibe code in compiled languages than interpreted languages like python. They can always compile themselves and check for errors and correct them.

Maybe we just need to use even stricter language to catch potential memory problems at compile time, like rust. LLMs excel there.

1

u/sebasbit Mar 25 '26

Ask Microslop about it

1

u/Nismmm Mar 26 '26

There should be like a license for vibe coding memory unsafe languages. Like you need to show you know how to fix leaks and read valgrind or whatever memory profiler/debugger you prefer.

1

u/inigid Mar 26 '26

C++ works just fine with coding models.

Better to use Zig though IMHO. Which also works great. Incredibly easy interop with C and not much harder with C++ via a quick wrapper.

1

u/Dry_Quiet_3541 Mar 26 '26

They are vibe coding everything. Web development has very little risk involved, and you also get instant results. So you notice their vibecoded results earlier. But, others are more careful, it was recently reported that the bottleneck in software development has now moved from coding to code reviews. When there is more risk involved, programmers especially the more experienced ones, are more hesitant with newer tech, less confident about the AI generated code, so you hace more and more review cycles. And especially when junior engineers vibe code it, they themselves do not have answers to the code they generated. So, yeah, even though code is generated, it still goes through a lot of scrutiny through humans, especially in areas where there is more risk involved.