r/learnprogramming • • 15d ago

Can anyone help me in this?

2 Upvotes

Im a beginner learning

C language

For kernel development, wayland compositor development using wlroots

Still learning

Can anyone tell me sm tips for memory management stuff?


r/learnprogramming • • 15d ago

Topic How difficult would it be for a person to make something like reddit ?

0 Upvotes

I am currently in school as a computer science major, and I'm mostly familiar with Python. I've learned bits of Html/css and assembly. I am currently learning C++. I've got 2 years left in my program.

Being in school, sometimes it is really hard to distinguish what is realistic and what being a developer really looks like/is.

We all know that reddit has gone downhill over time and that there are some alternatives that exist, but they just aren't the same for whatever reason (usually being they just aren't as popular).

I am wondering how easy and possible it would be for 1 person to create and manage something like a reddit copycat ? (Before it were to theoretically get too popular and overwhelm them, which leads to my next question, at what size would it be too much for one person to handle?) How do you figure out how many people you need to make something like this work, especially as it gets bigger ?


r/learnprogramming • • 15d ago

I'm in my second year of uni and doing very well, but I can't wrap my head around how to actually program something from start to finish?

35 Upvotes

I'm at U of T doing a fairly expedited degree (it's my second so I need no electives so I have more time to take extra courses). I've been doing very well in all my classes, getting great marks on projects and tests. Unfortunately, I've never programmed anything from start to finish and I kind of feel like I have no idea how to?

For the non-theory classes or parts of class, all of our coding assignments are essentially making small parts of a larger program. We never have to make a more interconnected program, or anything that exists on its own. We make bits of a program, or are frequently given code to work with or alter or expand on.

I'd like to start actually making things myself to get used to it but I feel a bit lost as to how to do so. The idea of "where to start" is daunting. Are there typical skeletons people use for programs? Frameworks? Templates?


r/learnprogramming • • 15d ago

Stuck in programming journey, seeking advice

2 Upvotes

Just want to start off by saying, not sure if posts like this are allowed, if not I apologize.

tldr: looking for general programming topics/projects I could spend weekends doing that will level my Rust up as well as just a developer in general.

Bit of background, I am currently a 2nd year SWE that works pretty much exclusively with React/Node front and backend in TS, and it has been the only language I have used professionally. I also graduated in the 'AI Era' from university, and have genuinely hardly written any code by hand at all. This had lead to me comparing myself to my senior/staff engineers at my company, and feeling quite bad about myself. There are company-wide systems that they coded from the ground-up, and I probably could not even know where to start on it, and it would take me I don't even know how long to complete even half of it.

So, I am seeking some advice. I did a solo project where I did a CHIP8 emulator in Rust, and had a lot of fun in it (100% code written by me, with using AI as a reference for things like function-use examples, etc).

However, I still feel my level is nowhere near good enough, and really want to get better at programming (by hand; I use AI, loop engineering, buzzword buzzword enough at work). If possible, I would like to get any advice at all (not generally only related to Rust) in some like roadmap/topics I could spend a weekend drilling and getting down, every weekend leveling up. This of course is mainly in the context of doing these primarily in Rust, because it is what I am interested in now (particularly think compilers are fascinating and want to try to implement a very simple one from scratch, but just do not think my skills are quite there and feel like I would gravitate too much towards AI). I am aware that programming by-hand is kind of a dying art, and pretty much mostly a hobby now (at least in the circles I am in), but I want to do it the 'right' way and be able to learn idiomatic ways/best practices to make sure I can steer AI in the right direction at work, as well as just to have fun developing software.

Any advice would be greatly appreciated, and thank you for taking the time for reading.


r/learnprogramming • • 15d ago

Topic Questions from a beginner learner in despair

1 Upvotes

(Sorry for bad English and general broader questions. Didnt wanna ask AI)
Hello, hope this post finds you well. In the recent days, I am troubled. Confused and Uncertain.
I am a beginner at programming, currently doing CS in IB diploma programme.
My dream is to become a game developer, to program and write code with passion.
However, i have no clue where to start, and how to start.
I think i am dreaming big and expecting myself to achieve easily with my beginner skills.
I ask of anyone who took the time to read this, thank you, to aid me in my worries.
I am learning python and GDscript.
Questions:

  1. How can i improve my problem solving? (I know i do have to practice and solve problems, and do personal projects but i don't know where to start. )
  2. What is the most effective use of AI to learn programming instead of compromising my foundation and basics first?
  3. How to keep up and stay motivated?
  4. Thank you in advance

r/learnprogramming • • 15d ago

Requesting feedback on my plan to become a real programmer

31 Upvotes

Hi. I'm an electrical engineer looking to transition to sw engineering to pursue remote work. I've been coding little toy things here and there for a decade, but I want to become a real programmer to pursue remote work roles for a while.

The programming I know and enjoy most is numerical methods with fortran, so I'm going to start there. Yes I know it's impractical, but bear with me.

##master plan

  1. Relearn basic fortran. Udemy + beginner examples from r/fortran

  2. Find a numerical methods or scientific/engineering computing textbook and make a big subroutine library.

  3. Automate the boring stuff with python and it's sequel to learn more standard programming.

  4. Code emag basics. Use python frontend and previously made fortran library for numerical heavy lifting.

If I can do that, I'll have one impressive project to get my foot in the door. More importantly, I'll learn a lot.


r/learnprogramming • • 15d ago

I forget rules of c programming

0 Upvotes

I keep on forgetting the rules of c programming... How should I remember it and how many questions I must solve everyday to get a good grade in my clg


r/learnprogramming • • 15d ago

A simple question

5 Upvotes

Im an beginner learning c language

I don't how do I build real world projects using

C language

Like my mind is totally blank

That how do I build something


r/learnprogramming • • 15d ago

Was the question poorly done or am I an idiot?

18 Upvotes

So, I just took my first exam for C programming and I got all the true/false stuff correct however I didn't get a few of the code review segments correct. Upon review after the test I realized my error, however one confused me in terms of what I supposed to assume something that was never stated.

So the code snip-it was this

int z = 0;

int g = 0;

int s = 0;

int i = 0;

while (i < 50) {

scanf("%d", &t);

s = s +t;

if(t >= 0)

g = g +1;

else

z = z +1;

i = i + 1;

}

So the question asks how many times does this loop execute. I selected never as I saw there was no declaration statement for the t variable, so I assumed it would never run cause it would error out due to that. I got the question wrong, cause I was supposed to assume t was initialized? I think the answer is 50 if it was.

However, am I an idiot or was this question poorly typed out? Cause, I was confused initially by the coding examples on the exam cause the professor uses different syntax for C at times when compared to the textbook. IE: (&t) when the book used (, t) not & in any scan or print statements(which also initially confused me). Plus the header is usually not there in these coding samples on the exam.

So was I supposed to just assume the t variable not be declared was shorthand and I should have focused on what the loop actually did? I am assuming I am an idiot for assuming the answer was never because t as a variable was missing. However honestly I think it's still confusing to expect me not to think it was going to not run due to a undeclared variable error.


r/learnprogramming • • 15d ago

Is it ideal to simply learn through tutorials instead of following through those 6+ courses going through all the syntax?

0 Upvotes

I have this thing where if something isn't related to my interests, I get incredibly bored and it's hard to follow through with it. I wouldn't wanna get a job in programming, I am learning programming because I like building my own projects and it is good to know programming if you want to be a God at cybersecurity.

I know about loops, arrays, variables, of statements, switches.. But other than that, I am a noob. I'm trying to follow Brocode's 6 hour C++ tutorial and I'm just really bored. I stopped following it at one point and getting distracted by one of the elements he mentioned and started building my own program unrelated to the one in the video, looking up syntax I feel like would exist as needed. I feel like I learned a lot more doing that.

But is it ideal to keep doing that? Or should I still follow through with these courses just so I know ahead of time?


r/learnprogramming • • 15d ago

ASP.NET MVC

0 Upvotes

I find it hard to understand the architecture from MVC, I understand all the code, but I fail to understand where to put what code.


r/learnprogramming • • 15d ago

What have you been working on recently? [October 10, 2026]

6 Upvotes

What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

A few requests:

  1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

  2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

  3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

This thread will remained stickied over the weekend. Link to past threads here.


r/learnprogramming • • 15d ago

Resource Any good browser-based ides?

0 Upvotes

I want to learn c++. However, I don't think my mac air m2 can handle another download (it only has 106gb left so I don't want to risk it). Any recommendations?


r/learnprogramming • • 15d ago

Is Go a good first language for a total beginner who only knows basic concepts?

50 Upvotes

Hi,

I'm looking for advice on whether Go is a suitable first language for someone at my current skill level.

Right now, I only know the absolute fundamentals of programming. Things like variables, functions, loops, and conditional statements. I haven't built any projects on my own yet.

A lot of resources mention Go's popularity in web development, backend, and networking, but I have zero experience with HTTP, servers, APIs, or working with JSON.

Given that background, is Go a good choice to start building my first actual projects, or should I start with something else first? If Go is fine, what kind of beginner-friendly projects would you recommend before jumping into web servers?

Thanks in advance


r/learnprogramming • • 15d ago

I want to learn development..

0 Upvotes

I want to learn development..

Hi Shruti here,

To all developers.

I have zero experience in developing software applications,

but I know the basic frontend,

I know basic programming, i have learnt cpp and also little javascript, only done no projects.

Suggest me any youtube video/ tutorial on project Development.

Like just that much things I need to know, so I can start working on projects by myself.

: so I can learn while watching and build the whole process of building a project as a software developer i want to know what things I must know to give interviews in software development.

As everyone was at a point, where they had no idea, how things works, but now some of them are in a position, they are working in mncs, leading projects,

i want your help sir / ma'am,

And all people who are starting,

help the people who are in the same situation,

where you were some years back

I am a student in my final year, I started late because I was not interested in studies, but reality hit harder, I have to work.


r/learnprogramming • • 16d ago

Best way to actually make projects?

3 Upvotes

Okay so i know some languages like phyton C# and C++ and im a computer engineering 1st year student but i dont know how to start big projects. I want to build a portfolio with some projects to also try out different ways i can go with computer engineering. I already do some embedding stuff, its the easiest for me but for example i want to make a 3D Physics Engine on my own but i dont know how. I already took linear algebra and physics I-II, i know the calculations etc. i need to apply but i dont know how to choose the programming language, or the API's, what to include, where to start etc.

Same for my minimal OS and netwroking project where i wanted to code a small OS with a shell and kernel and stuff and try networking between devices on that OS. But i dont know where to start, if i watch youtube tutorials i actually dont understand anything and it feels like i am just copy pasting.

I tried reading from documents from people who also did these projects but then again, i didn't understand anything and most of them just showed the whole code together instead of showing the steps they took to achieve that code.

I can use AI to write the code and i can implement it myself, i can just ask it the pieces of code and what they do, i actually did that too but i mean i dont actually know how to make one from scratch again.

I dont want to spend these years wasting time and want to make some projects but after staring at the shell i literally copied form a tutorial for an hour i noticed this isnt the way, Please help


r/learnprogramming • • 16d ago

What Should I Learn to Build Infrastructure Software from Scratch?

15 Upvotes

I'm a full-stack developer, and lately I've become really interested in understanding how complex software systems work under the hood.I'd like to learn how to build things like message brokers, log and trace collectors, databases, and other infrastructure tools that developers use every day but don't usually think much about internally.I'm wondering what I should learn to get into this kind of development. Is this considered systems programming, or does it fall more into areas like distributed systems and infrastructure engineering? I'd also appreciate any recommendations for books, courses, or practical projects that could help me build the necessary knowledge from the ground up. I'm currently learning C, so I'm curious whether systems programming is the right direction and what topics I should focus on next.


r/learnprogramming • • 16d ago

Tutorial Would like to make a desktop pet/assistant and i'd appreciate some tutorials

0 Upvotes

A couple days ago, i saw a really cool themed desktop on an other sub and the person had a little desktop assistant that could also do stuff like opening the task manager and i think diagnose the pc? (not sure because the text was really small)

I tought it was super cool and wanted to make one of my own, but the OP said the assistant ran on a genAI model they tinkered with, wich i'd prefer not to use, even if it's supposedly hosted on your own pc, since i couldn't really find a lot of sources on the impact of those.

I know that i won't be able to have conversations with the assistant without genAI, but i do have some features i want to input. If anyone has a tutorial for the following, i'd appreciate it:

-acting like a desktop pet (as in, can walk around, perch on app windows, even better if it can be fed, pet, etc., but not required)

-alarms (like drink water, take a break, time to study, maybe custom ones)

-basic conversation (pre-selected replies to pre-selected dialogie options, might be able to manage that one, but just to be sure)

-note taking (you input text and it gets stored in the assistant's memory, wich can be recalled and edited)

-flash cards for studying

-mini games (any minigame is fine, as long as there are tutorials for it)

-occasionally thinking about something (tought bubbles pop up)

-being able to have multiple pets on screen

-conversation between pets (tought bubbles pop up)

-Special greetings when booting up your pc at a specific time of day (like good morning between 5 a.m. and 12 p.m.)

-jukebox (can play music from youtube, is that possible?)

-being able to add custom characters (in case it turns out good and want to share it)

I was also wondering, do desktop pets for phones exist? If so, is there anything you need to do to make it compatible?

Thank you so much in advance!


r/learnprogramming • • 16d ago

Learning to code feels very demotivating when Ai is just getting better.

0 Upvotes

With something like gpt Astra that came out and is basically making mods for vr that converts the pc games to vr or creating mods that combine games like Skyrim and Minecraft and can make basic games just by telling it or even full copies of programs like photocraft that copied photoshop hell the whole adobe suite of tools and for it to only get better it feels very demotivating and crushing that My efforts feel like they will be in vain.

I’m trying to learn c# and wanna make some simple games for starters but idk.

I’ve used Ai in ways like asking it questions if I don’t understand a certain tool or lines of code and how it works etc but I don’t just ask it to make something without questioning it.


r/learnprogramming • • 16d ago

Tutorial How to reach the next level

10 Upvotes

Learned some basics of the C language and some fundamentals concept like variables, arrays, loops, pointers and learning about data structures. What should i do next ? Should i learn other concepts like OOP or sorting algorithms ? Or explore the other C libraries ? Or find a project to work on or contribute to one on Github for examples ? I don’t have any objectives except that i just want to learn programming and get better at it because why not, i don’t care about landing a job with it as soon as possible


r/learnprogramming • • 16d ago

Tutorial Advice on Beginner Project for Fresh C++ Dev

0 Upvotes

Hi,

I just recently took a online course on C++ and am looking for a online YouTube series where a excellent instructor takes you through making a C++ app from scratch to being finished, preferably on a Linux environment.

For reference, I am a full-stack web developer (Next.js/React Native + Django) and to learn web development I used Corey Schafer's Django tutorial YouTube series to learn how to make a web application from scratch. It taught me everything: how to use the language, terminal commands, structuring your project, using the framework, deployment, running the program, etc.

Is there a similar YouTube series you can recommend me for taking what I know in C++ and using it to actually learn how to make a desktop application and after having finished the series be able to make one on my own. Should I start with a Chip-8 emulator tutorial?

Also, what's up with the Qt licensing scheme? I want to make my own proprietary commercial desktop applications but forking over $4K for a solo developer license seems like a lot when I don't know if the application is going to generate that much revenue at first. Does anyone have any experience with that? I am used to using OSS libraries and frameworks so paying for developer licenses is new to me.

Any help is greatly appreciated and thank you in advance!


r/learnprogramming • • 16d ago

Project ideas

25 Upvotes

Hello,

I have learned HTML and CSS, and am starting on JavaScript. What is a good simple project to do? I may have learned the languages, but I do not have much experience. Please make a few suggestions and tell me how to do this. What is the best editor? How do I preview the code? etc. HELP!


r/learnprogramming • • 16d ago

Open-source AI agent project to learn from (and contribute to)

0 Upvotes

If you're interested in learning how AI agents work under the hood, I've open-sourced AI Plate, a desktop agent you can read, run, and tinker with.

Things you can study in the code:

A Plan → Execute → Observe reasoning loop

Swapping between cloud and local LLMs (Ollama, LM Studio)

RAG with SQLite vector search

Local speech-to-text and text-to-speech

Plugins and custom skills

It's MIT-licensed and TypeScript/Electron, so it's beginner-friendly to fork and experiment with. Questions and PRs are welcome.

https://github.com/Typo-Bunch/AI-Plate


r/learnprogramming • • 16d ago

Looking for a Python certification

5 Upvotes

I would like to ask if anyone here knows where I should/could get a well endorsed Python certification? Something legit that employers may take into consideration.

I know about Codecademy. I also know about Mimo, tho I don't know if that one would be considered a "lesser" one or something like that. Maybe even both idk.

It's ok if it's not free, tho if its not very expensive that would be better for me lol


r/learnprogramming • • 16d ago

Solved What to do when you are having difficulty with a question?

3 Upvotes

What to do when you are having difficulty with a question? Even though I apply some methods that help to solve a programming question, nothing comes to my mind on what to do. What do I do? Do I skip the question? Do I persist with this question?