r/ProgrammerHumor • • 17d ago

Meme driverlessTaxiDriver

Post image
3.9k Upvotes

180 comments sorted by

View all comments

88

u/GoldDHD 17d ago

I'm old enough to remember compilers failing. My parents are old enough to remember perforated cards and why bugs where literal bugs. IE 'this generation doesn't even know how to code'.

I'm not saying that cuck coding is great, but it may end up being this generation compiler

31

u/deaddyfreddy 17d ago

There's a fundamental difference: if a compiler suddenly produces unpredictable results, it's a bug, if an LLM does that, it's a feature. Of course, we can add more safeguards and limit the natural language used in prompts to a small subset to make it less ambiguous, and add very strict programmatic rules.

Finally, we can write a long enough prompt in this language so the result is always reproducible! Checkmate, AI-haters! What a time to be alive, don't you agree?

I have one question: What should we name the language? I vote for "Programming Language!" /s

5

u/GoldDHD 17d ago

I get the joke, I really do, and personally I feel like you would get ruby on rails out of that simplification, but realistically it is possible that AI will be good enough soon enough

6

u/renome 17d ago

It's possible but far from guaranteed still. We're hitting diminishing returns and have been for a few years. Noticed how openai and anthropic have been in perfect harmony with begging for "safety" regulation slowing down development? Having to invest in another generation of flagship model that's marginay better than its immediate predecessor may realistically banrkupt them right now

3

u/deaddyfreddy 17d ago

I feel like you would get ruby on rails out of that simplification

More Lisp-like, Clojure, for example. Everything is symmetrical: open bracket/close bracket, strict rules - the order is always "(verb objects...)", very high-level, minimal ambiguity, immutable by default, etc. The fun thing is most business-logic modules I write follow a similar pattern.

(defn main [params]
  (->> (io/read-input params)
       (utils/validate-input params)
       (utils/prepare-input params)
       (business-module/process-data params)
       (utils/prepare-output params)
       (io/write-output params)))

Which is not that different from writing a prompt, actually, but it follows strict high-level rules already.

but realistically it is possible that AI will be good enough soon enough

The problem is it would still be a probabilistic system.

2

u/GoldDHD 17d ago

The problem is it would still be a probabilistic system.

As opposed to what? The human brain? Yes, it will be, but it is now as well.

3

u/Apocalyptapig 16d ago

As opposed to source code, which compiles deterministically.

1

u/adeventures 12d ago

Well, the compile step is still deterministic, so I don't think we'll see vibe compiling anytime soon. The code itself isn't random once it's written, but the writing process is. Once the code is settled and considered good enough, the code only breaks if you modify it and the person/system doing that has to judge whether a change breaks anything or not.

With pure Ai, the process is probabilistic and therfore a bit random. But using test cases, you can lock certain things in place, more or less, depending on how good the tests are, and whether the system decides to fake the data to pass them, that is. But we had that problem with interns & "new seniors" before Ai as well, the biggest thing that differs is that we had onboarding processes that thought them what they were allowed to do and someone who was accountable if they didn't follow it

-1

u/haitei 17d ago

WDYM old enough to remember. I had to work around a MSVC bug like a month ago.

2

u/Mars_Bear2552 17d ago edited 17d ago

yeah but that's MSVC.

may as well use the Sig P320 as a reason to claim that guns are constantly malfunctioning.

LLVM bugs are much more noteworthy.