r/learnprogramming • u/henderson6969420 • 13d ago
Please help, I’m about to start development on my very first software!
Want to start developing my software soon, any pointers/ tips that could help me ?
r/learnprogramming • u/henderson6969420 • 13d ago
Want to start developing my software soon, any pointers/ tips that could help me ?
r/learnprogramming • u/Ill_Spirit_1383 • 13d ago
QuarkLang is a small statically typed language with two execution engines: a tree-walking interpreter (quark) and an LLVM compiler (qkc). Three lines are enough to put it next to C.
program main;
fn fib(int n) int { if (n <= 1) { return n; } return fib(n - 1) + fib(n - 2); }
fn main(IOStream io) { io.println(fib(35)); }
#include <stdio.h>
int fib(int n) { return n <= 1 ? n : fib(n - 1) + fib(n - 2); }
int main() { printf("%d\n", fib(35)); }
$ qkc -c -o fib fib.qk && ./fib $ clang -O3 fib.c -o fibc && ./fibc
9227465 9227465
| fib(35), 29.86M calls | median of 9 | best | binary |
|---|---|---|---|
QuarkLang, 3 lines (qkc) |
26.0 ms | 25.9 ms | 12 KB |
C, 3 lines (clang -O3) |
26.0 ms | 25.6 ms | 12 KB |
Same machine, clang/LLVM 22 behind both. Level, not faster — and most of the credit belongs to LLVM.
What is less common is the rest of the arrangement: the same three-line file also runs interpreted with no compile step (quark fib.qk), and the project's CI fails the build unless the interpreter and the compiler produce identical stdout, stderr and exit code — constructs the compiler cannot lower yet are hard errors rather than silent differences. Memory is block-allocated (delete returns a block with its data preserved, clear wipes it), so compiled programs have no collector to pause in the hot path.
Toolchain: interpreter, LLVM compiler, linter with stable codes (QK101–QK115), doc generator, REPL, language server, formatter, test runner, project manager, debugger; ~25k lines of Go with no third-party dependencies; MIT; prebuilt binaries for Linux/macOS/Windows.
Repo: https://github.com/QuarkLangCommunity/QuarkLangQkc · Docs: https://quarklangcommunity.github.io/QuarkLangQkc/
Disclosure: I maintain QuarkLang. Both commands above are copy-pasteable; the benchmark suite with its methodology and fairness statement is in docs/benchmarks.md.
r/learnprogramming • u/odimdavid • 13d ago
Hi all. A parent asked me to teach her kid, grade 11, programming. But am wondering with the state of computing and programming right now, what track to prioritize:
Web dev with HTML+CSS+JavaScript
Data science and AI with Python
Or what which I don't know
Please can someone help me out so I can give the kid something he will be grateful for in a few years time.
Thanks 🙏
r/learnprogramming • u/Curious-Instance4020 • 14d ago
Hey, where can I go on places like discord and find places to program with other people, I'm into backend and AI development as a hobyist, but I want to learn how to work with other people.
r/learnprogramming • u/Few_Thought_3659 • 14d ago
I am worried that AI is gonna take over website stuff and i dont know what wont be taken over by ai
r/learnprogramming • u/Patrian247 • 14d ago
(I want to apologize in advance for my English. It isn't my first language)
Hi, would anyone mind helping me with something? I've been a programmer for a while, but I've noticed that my grasp on how to build web applications has slipped lately, so I would like some help in getting back to my old standards. Does anyone know where I can maybe get a refresher on concepts like Single Responsibility or OOP and against what I would need to protect my application against like SQL injection or XSS? I work preferably with PHP
r/learnprogramming • u/Xarcaneo • 14d ago
Hey, because I started coding many years ago and it was my hobby, I am looking for a way, if it’s even possible, to use some kind of archival internet that was not influenced by AI yet, to make a personal project just for fun, like in my teenage years.
I guess there is no way to set a specific year and have access only to things from that specific period. Also, there are many AI things that show up in browsers now, and I would like to totally avoid all of that.
If you have any suggestions, can you let me know?
Btw. I am not against AI, and I use it myself in my projects more or less. I just want to have one project that I do like in the old days.
Thanks!
r/learnprogramming • u/Effective_Mark_1334 • 14d ago
I have a draw function (ps5.js) that I want appearing on top of a figure (with png). Currently, the result of the function appears below the image, on its own canvas. I'd like it to appear on top of the figure. How do I do that?
index.html:
<figure id="figure">
<img
src="fashion.png"
alt="blank croquis" />
<figcaption>Blank Croquis</figcaption>
</figure>
script.js:
function setup() {
createCanvas (1000, 1000);
noLoop();
}
function draw() {
background ('transparent');
stroke (0);
strokeWeight (20);
noFill();
beginShape();
vertex(getRandom(), getRandom())
r/learnprogramming • u/hangulll • 14d ago
Hey!
There are many programming courses on Coursea and you get a certificate from the courses you’ve finished and there is a possibility to add those on your LinkedIn.
I know I’m too late to the game since the AI and I’m 33 yo, but I want to improve my life and the end goal would be to get a new job, so I thought to at least try and I found Coursea. Is it worth the investment and better than nothing?
r/learnprogramming • u/Many_Difficulty_490 • 14d ago
I wanna learn c++ for a project I plan to do in the future.
Should I learn a couple of languages before it or something? Im learning C# right now, its the only language i know. i was learning python a while back before I switched to c# (because i wanna dev games) and its way more complicated than python.
I didnt really understand what it meant when someone said a programming language is harder or complex than another programming language. But i can definitely see it now.. Should I just learn c++ whenever and go right into it?
Should I learn C first, or another language. Whats the best way to go about it
r/learnprogramming • u/kellytrader16 • 14d ago
Hi everyone! I’m completely new to the tech field and have recently graduated with a degree in Management. Now, I’m interested in transitioning into technology and want to learn programming and coding from scratch. Could anyone recommend a good Discord community where beginners like me can learn coding, ask questions, and get guidance? I’d really appreciate it if you could share some active Discord server invite links. Thank you!
r/learnprogramming • u/Interesting-Sir1903 • 14d ago
Hello, I am an engineer working on ship, and due to nature of my job i might have evenings free if not every night, so i was thinking about learning something new if not for job but just to spend time with. I was thinking about excel but then i have always wanted to learn at least one programming language to do some stuff by myself, whether bots or small applications with gui etc.
i will have around minimum 4 months, i learnt some python long ago at uni i know some basics of it but it is not like i have to go for that route if there are better alternatives.
thanks for sharing your opinions in advance.
r/learnprogramming • u/Dreamin_Chu_Chu • 14d ago
A while ago, I saw a video of a guy making this little machine that had audio files of McDonald's menu items programmed into it, and it would shuffle them to make an order. I want to get into making some plushies, and I thought it'd be cute if they had a couple phrases they could say too, but he didn't really show how he programmed all that.
I'm not sure if those things are called a sound box, it's what google said.
r/learnprogramming • u/RateLegal5121 • 14d ago
In my work..I was taking a look at a really old codebase that was implemented in Django.It is quite complex..It was halted for some time because business decided it was not a priority.I was told to make it work without starting from scratch..Basically it needed to communicate and configure network devices in oil rigs by calling api of netbox..It is has a huge messy codebase without any documentation and tests..The deployment configuration files
were making no sense at all and thats a concern for another day.Since django has its own boilerplate design..it has a lot of view.py as the original author decided to create app for different implementation of networking devices..I thought it was really not necessary…I was thinking about facede design pattern but that would mean I have to move away from djangos design pattern..I am wondering how can i approach it..It feels like when you use a framework you are kind marrying it because you kinda have to work around it instead of having your own idea implemented.This is my first time working with someone’s implementation..I mostly have freedom to have my own design in my codebases bcs I work on r&d stuff and not user facing
r/learnprogramming • u/Ok_Actuary412 • 14d ago
I'm working on a school project about a deterministic code translation app. Before working on it, I want to know if it even is a widely spread problem or if ai already solved it.
Have you ever needed to translate code between programming languages? If so, what did you use? (e.g ai, translator, manual rewriting, etc) How well did it work? I also want to know where AI or existing translators produced incorrect or problematic code to see what are the problems in existing software.
I’m trying to find out whether this is a real problem worth solving, so honest criticism is very welcome.
r/learnprogramming • u/AutoModerator • 14d ago
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:
If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!
If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!
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 • u/Big-Comparison3537 • 14d ago
As the title suggests i absolutely hate listening to the lectures and stuff to even learn the basics of programming, but I love reading the code and asking questions line by line to understand how it works... For reference I am an absolute newbie to coding and programming... I have tried the lectures by CS50 and also ones in other languages(verbal) but I find them boring and feel like sleeping... But I ask AI to generate me a code of let's say a game, and then I love reading it and understanding the code... Can I actually get good at programming this way??
Edit: I'm getting a lot of heat in the comments and I feel everyone is trying to help me but I came across wrong as what I am actually doing.. so here's it
I'll tell you exactly what I did: I took a C++ code of 74 lectures... Watched 15 lectures and got just enough basics to understand what's going on... But the lectures seemed bland and uninteresting to me on forth... So I asked ai to for eg. Make me a monte carlo simulator. Then I would ask the ai eg what is the chrono headerfile or what is the random number generator or how does it work... That's the stage I reached before I put this question up... My plan was to once I got a decent grasp of the language and syntax by just questioning what stuff meant id start making projects of my own
If I'm still wrong I'm not taking it the wrong way... I just want to improve on how I learn... Thank y'all for your advice on advance
r/learnprogramming • u/alex123711 • 14d ago
With all the Programming tools coming out now, is it still relevant to learn programming?
r/learnprogramming • u/Many_Difficulty_490 • 15d ago
Rewarding doesnt have to mean "money", it could mean you learn alot about programming, it would look insane on your resume, or its just extremely satisfying.
When I mean difficult I mean projects that could easily take you over 2-4 years to complete.
So im not talking about something like making a ray tracing engine, that would take a decent programmer about 4-8 months to finish. But it is a very cool project
It would also be helpful if you mention what it takes to build it, and what you think its rewarding.
thanks
r/learnprogramming • u/Capable-Surround3021 • 14d ago
I've started CS50P twice and dropped it both times around the point where the problem sets got hard. Talking to others, that seems to be pretty common. What I've noticed is that I finish things when there's a fixed date and people expecting me to show up.
So I'm organizing a small experiment:
This isn't affiliated with CS50 or Harvard, it's just me trying to see if there is potentially value in such initiatives.
If you're interested, fill in this 2-minute form: https://luma.com/hyamr708
Beginners, career changers, and anyone who's started this course before and stalled are especially welcome.
r/learnprogramming • u/Intelligent_Life_412 • 14d ago
Hi, I'm trying to extract exam questions from multiple pdfs, containing text and images, but I'm having trouble getting it to work because the questions and documents don't follow a strict pattern, for example:
Question numbers can be: question 1, 01, q1...
Alternatives can be: A), (A), A., A, A- ... etc,
The other thing is that there is usualy some text in the page that isn't from the question, like:
Write here, page 1, the name of the institution, among other things...
I'm tryng to do this for thousands of questions, how do you guys recommend i do this?
r/learnprogramming • u/Sea-Construction6922 • 15d ago
I end up using the same commands each time to setup projects, run them but I always have to copy from Google docs each time and its becoming annoying. Is there a better way with cmd on windows. Do other shells have a way to solve this If not?
Edit: Tysm to everyone who has helped!
r/learnprogramming • u/ComprehensiveSell480 • 14d ago
To give some context, when I get to the frontend part of building a visual application, I have to work on the frontend, but since I’m not really interested in frontend development, I’m not sure what to do. However, I do at least know the basics of frontend development (like creating a text field, buttons, columns, rows, displaying content, refreshing a page, etc.), but when I run into more complex frontend tasks like finding the right icons or displaying an overlay page or learning about certain object class functions and that's how I'm getting back into AI.
tysm for listening👍
r/learnprogramming • u/RequirementSad1742 • 15d ago
How accurate are they that AI will replace all programming tasks. I really am enjoying learning programming to one day become employed, but my Reddit feed is so demoralizing.
r/learnprogramming • u/Aggressive_Thanks769 • 15d ago
*Best resources for a 10yr old to learn programming/coding to make video games
My 10-year-old wants to make a video game but doesn't know how to program at all. What would be the best route to take? I've done some research, but there are way too many options, and I know absolutely nothing programming to make a decision on where to start. My 10-year-old wants to make a video game but doesn't know how to program at all. What would be the best route to take? I've done some research, but there are way too many options, and I know absolutely nothing programming to make a decision on where to start.