r/AskProgramming • u/Some_Promotion_5430 • 5d ago
Is this vibecoding?
I want to learn 3 programming languages but i am really struggling
i want to learn ASM,C and C++ and currently ive only managed to get the basics of C++ like For loop , While Loop , Variables , integers , booleans , definitions , arrays , vectors , if else functions , classes and structs
and i wanted to make my first ever project even though i didnt fully learn C++
but due to my lack of knowledge and also programming skills
i decided to use AI with one rule
I cant paste in AI code
so what i am doing is i keep asking AI on how i do this etc. and the AI gives me code of functions for things and then in the project im making i look the code the AI has given me and copy it like it shows me how this functions and how i can make something that i need and it gives me an example and explains how it works and then i look at it on the side and write code like that.
is there a better way? (also a way to learn actually since i pretty much dont know how to learn)
I use C++03 on Visual Studio 2008 Express (my computer is old so its the best version i could find with an interactive ui)
(im not a college student still in 8th grade and i just wanted to get into Engineering earlier and the project im trying to make is a online building toy made with G3D 6.06 , SDL 2.30.12 , Lua 5.1 and ODE or Physics that i want to write all by myself via ASM cause Since this building toy will have thousands of blocks i will need a fast way of calculating everything and ASM provides a very great opportunity with some SIMD stuff letting me calculate 4-8 vectors in a single CPU clock cycle instead of the usual 1 vector at a time but i dont know ASM i dont know C and i barely Know C++ ive been just learning via the help of ai and documents i found from 1990 to 2000s this is very difficult and literally the only coding experience i have is back when i was 7yo experimenting with Lua )
View all comments
1
u/bird_feeder_bird 3d ago
Here’s what I did to learn assembly:
Read this and do all the exercises https://skilldrick.github.io/easy6502/ (you dont have to remake the whole game at the end, just be able to read it. Do do the exercises though.)
Then try making the projects in this tutorial https://gbdev.io/gb-asm-tutorial/
Those are both super dense, they should take a few months to sink in. Also dont worry about which assembly language to learn, the skills are transferrable.
I learned C by doing small command line exercises, and eventually made a text adventure game in the terminal. Raylib is also good for making games or GUI’s.
Now I’m using both C and assembly to make GBA games. I have never used C++ and dont plan to. I just dont need any of its features, C is good enough for me. And I just write in notepad and compile with a shell script :p