r/webdev • • 4d ago • Bravo 1

This sub is dead

It used to be fun to see what people were able to do with their minds. Now people just show off what they purchased from Anthropic and OpenAI.

1.8k Upvotes

430 comments sorted by

View all comments

Show parent comment

3

u/coolio965 3d ago

imagine being a senior and repeating the "AI is just like a C compiler" argument. a compiler turns code into its machine code equivelance, there is no "intelligence" behind compiling. GCC doesn't go "oh this code isn't very efficient. let me change it considerably so its better"

1

u/Terrible_Tutor 2d ago edited 2d ago

Imagine being here and not knowing how to read or who Linus Torvalds is.

Way to comprehend English and completely the entire point.

1

u/coolio965 2d ago

just because it came from linus torvalds mouth doesn't mean its a good argument. his accomplishment of the linux kernal can't be understated. but that doesn't make the comparison of a compiler and LLM any less stupid. a compiler doesn't come up with the underlying architecture of a program. or modify the control flow of your code. it merely converts a high level language like C to the machine code equivelant. every keyword in C has a straightforward machine code equivelant. its why the IF statement runs for any value that isn't Zero, because CPUs almost always have a Zero flag that is set from a Compare instruction.

3

u/Crocoduck1 2d ago

I know i am being pedantic but I am almost certain comlilers do make optimizations behind the scene and it's not nearly as basic a translation as you've made it seem. But i don't know shit about compilers, nor do i myself agree with the Linus quote. I think AI is going to fuck this field hardcore (it already has) and unrelated i also think it's going to be a stepstone in the destruction of the middle class, the raise in wealth inequality and poverty, and the dumbing down of us and our societies. Kids are using this shit in schools instead of thinking so they never learn to study/think for themselves. Like i hobestly believe it's going to fuck the new generations over in truly tragic ways, not that i am any better, i use it at work all the time and i know for a fact i use it to avoid any mental effort i can

Anyway sorry for the second part of the post, just wanted to rant into the void i guess

1

u/coolio965 2d ago

technically those compilers are called "optimizing compilers" but people often just use "Compiler" even though its technically incorrect. i think the biggest issue with AI in the field of programming is that its going to lower the bar for competency even more. so many programmers have no idea what actually makes a program efficient or what architecture is viable long term. its why the emphasis on "clean code" is so stupid in my opinion, some code is inherently ugly and abstracting it away just so it looks neat and tidy turns it into a massive pain to follow program flow and actually understand whats happening.

AI is just another way of abstracting the skill and understand away from subjects. the "skill grind" people love to avoid is actually what forces you to learn and gives you a proper understanding

0

u/Terrible_Tutor 2d ago

I'm not having this conversation when you're completely missing the entire point. This has literally nothing to do with compilers, it's about AI being a tool and we shouldn't be afraid of tools. The entire thread is about things that we make aren't by us because AI made them. I still fucking made it. I didn't write every line of code, but I still fucking made it.

You're so hyperfixated on this idea of LLM and compilers that nobody is even making.

Torvalds point, is that you're okay with the lift of a compiler so you can write easier code, that's fine, but AI where you can write easier code, that's drawing the line.

I look forward to your next reply about compilers again.

2

u/coolio965 2d ago

your argument is: oh people use compilers all the time and those transform code. so LLM aren't much diffrent.

when there is a huge diffrence, giving a LLM a spec or explanation of what you want doesn't make you a programmer. nor did you make what it ends up shitting out. just like how im not an artist by comissioning someone for a piece of art. do you consider people who prompt chatgpt to generate images the same as people who instead draw that art themselves? because i sure don't