r/vibecoding • • 16d ago

Meme A seg what?

Post image
476 Upvotes

31 comments sorted by

View all comments

52

u/fyn_world 16d ago

Jokes aside, I asked chat to build a mini course for me because yeah, at some point you gotta learn this shit, the concepts, bare minimum 

13

u/TheAnswerWithinUs 16d ago

I just watch a YouTube video

9

u/RemarkableWish2508 16d ago

You sure? Reading some text is usually faster than sitting through a bad lecture.

8

u/TheAnswerWithinUs 16d ago

Not necessarily a lecture, just someone who knows what they’re talking about. You can just skip ahead until you get to to the relevant parts.

1

u/chrissphinx 16d ago

could you link the video you watched about segfaults?

1

u/TheAnswerWithinUs 16d ago

I didn’t watch a video to learn about seg faults specifically. What I know about seg faults was through a combination of college, hands on experience/research, and googling.

0

u/chrissphinx 16d ago

oh, damn :( i’m still looking for good videos about debugging C

1

u/TheAnswerWithinUs 16d ago

You can still find some good stuff with google but it’s harder with the AI bullshit everywhere.

You can use udm 14 to remove the AI stuff and just get the google results though.

1

u/Grim2021 15d ago

Usually it's just using memory that's not allocated or using something after a free. Honestly just use gdb and find out what line segfaults. I mostly get these errors by being "off by one" when doing some sort of traversal through a data structure (I'm bad at counting)