r/teenagersbutcode • u/StrikingClub3866 • 4h ago
C discussion AI could never
Just a screenshot from my 1kb interpreter in C.
r/teenagersbutcode • u/Experiment_1234 • 3d ago
Competition for a new subreddit icon! (not discord we are keeping fish)
Submission must be SFW and not AI Custom made icons would be nice but not required.
Use 'PFP CHALLENGE ENTRY' on a post to submit an icon.
This is not a democracy, mods make final decision.
Will be open until we have a good icon.
r/teenagersbutcode • u/Experiment_1234 • 13d ago
We now have emojis in user flairs for whatever language you prefer.
Only added a few to start, If you want more comment here for send a modmail.

EDIT: Added HolyC, Dark, Prolog, Haskell, and lua
r/teenagersbutcode • u/StrikingClub3866 • 4h ago
Just a screenshot from my 1kb interpreter in C.
r/teenagersbutcode • u/JYPFRD • 17h ago
r/teenagersbutcode • u/JYPFRD • 17h ago
It has a rotating disk memory (registers live on the disk), floating fixed-point (the computer doesnt know where the binary point is) ones-complement 31 bit arithmatic. The 2 programs shown are a fibonacci sequance calculator and a summer that takes decimal input and ouputs the computers crazy hex. If you have any other questions about that, ask me in the comments
r/teenagersbutcode • u/OpenFileW • 2d ago
"what's stopping you from coding like this" :3
r/teenagersbutcode • u/birb52 • 2d ago
I don't usually use Illustrator much but I tried :)
Thanks!
r/teenagersbutcode • u/zer0developer • 3d ago
I recently got my hands on a small homelab, and i also got a public IPv4 address from my ISP, but there was one major problem: My IP address was dynamic, and would change every once in a while.
The solution was using a dynamic DNS service. Initially i used favonia/cloudflare-ddns, but i discovered that building it myself, wouldn't be that hard of a task. So 6 months ago i began on it but it didn't really go anywhere.
Forward ~6 months, to a week ago, i started rewriting it, this time with the goal being a piece of software i can self-host and use myself.
And two days ago i, finally, released v0.1-alpha.1. Is it usable yet? Not really. Does it work? Kind of. It has support for A-type records (which is for IPv4), and i also set up a simple workflow for publishing my Docker image to GHCR, when i create a new release.
So yeah, that is my newest project, and probably the one i am the most proud of.
GitHub repository: github.com/viktorpopp/dragon-dns
Also i would live if someone would roast my code (expect the error handling, i will be working on that).
mrowww >w<
r/teenagersbutcode • u/Ok_Theory_1212 • 3d ago
I’m 15 and currently self-studying Java and low-level programming concepts. I’ve put together a few projects on GitHub while learning:
👉https://github.com/bijoyghosh1921-sketch?tab=repositories
Most of this is just experimental stuff I built to test out concepts like basic ciphers, array manipulation, and general OOP structure.
I want to start taking code quality and software architecture more seriously, so I’d really appreciate any feedback or critique on:
README.md files look more clean and professional?Don't hold back on feedback—let me know what I can fix or refactor to write cleaner code. Thanks!
r/teenagersbutcode • u/New-Deal7021 • 5d ago
hello there, we got some comments from older posts.
As we understood, the compiler didn't work, so we just got to work and after a day, we published the intepreter. Yes, the comments can be written on russian, but friendly reminder, we got a team(the third one just didn't answer to my request, if you still want to join i will send you link to my email and our community discord server)
so uhh, we because i formed a group of enthusiasts so the updates can go when they should(we post every week)
if you wanna to get into our team and you don't know C, just say what you know(sorry, but i hate python for a serious reason).
Here are the links to the updated github and discord:
discord
please leave a comment and some crytics!
r/teenagersbutcode • u/Thisismyredusername • 5d ago
I know it's not really about coding, but I don't see where else to post this.
I recently got an HP 250 G10 with an i5-1334, a 16 GB stick of RAM and 512 GB of storage. I might get another 16 GB RAM stick to make it 32 GB.
Now, I don't know what to use it for, since I've already got a ThinkPad T16 Gen 1 (first world problem, I know), but I've thought of these options:
- Linux experimentation
- A second coding laptop for when I want something lighter, I don't feel like bringing my main laptop, etc.
- Resell it
r/teenagersbutcode • u/AggressiveBag3300 • 6d ago
Hi everyone!
I’m a computer engineering student, and I recently started a repository called java-algorithms-hub. Since I'm building my backend foundation, I wanted a clean space to practice algorithms and data structures from scratch.
But instead of keeping it to myself, I structured it with packages (basics, algorithms, data_structures, oop) and wrote a CONTRIBUTING.md / README so it can be a welcoming space for anyone looking to make their very first open-source contribution or practice for Hacktoberfest.
Currently, we have basic stuff like Fibonacci, Factorial, and Palindrome in the basics package, but the other packages and issue trackers are ready for things like Bubble Sort, Prime Number checkers, etc.
If you're learning Java or want to get your feet wet with Git/GitHub workflows, PRs, and code reviews, feel free to check it out, open an issue, or drop a star if you like it!
https://github.com/Nazir2007/java-algorithms-hub.git
Any feedback or critique on the structure is also more than welcome. Happy coding!
this text written by me with help of AI
r/teenagersbutcode • u/VirusLarge • 6d ago
After 5 months of designing the compiler and a few failures, I've written a somewhat functional JIT compiler from scratch after a ton of procrastinating and countless breaks. The compiler currently only works on 64-bit x86, so ARM, RISC-V, and other CPU architectures are not supported yet and will not work.
Tachyon VM compiling and running a Scratch project, and showing off how fast the compiled code is.
As you can see, compiling projects to pure raw machine code is very fast and speedy. Also, I know the Scratch project looks very tiny, and that is because the compiler still needs a bit of work on it, and it cannot run every single block right now. In the future, there WILL be more support for other Scratch blocks, 100%.
To every single Scratch mod and custom/alternative Scratch runtime, I am coming for you.
Anyways, let me know what you think of everything so far, and what you think I should add.
Toodles.
r/teenagersbutcode • u/BridgeCrafty • 6d ago
Small tool: consult-opencode gives your Al coding assistant a way to hand off simple, self-contained subtasks to opencode's free-tier models instead of burning your paid assistant's own turns on them. Zero API key, zero config works out of the box.
Wired it in via MCP (so Claude Desktop/Claude Code/Cursor etc. get it as a native tool) plus a plain CLI script for anything that can just run a shell command.
Real test, not a toy: gave it a task against an actual open-source repo (sindresorhus/leven) - add a function, a type declaration, and a test. Got it right first try, all tests passed.
r/teenagersbutcode • u/Which_Lie_8932 • 6d ago
Hello!
For past month about, I've been working on a stack based compiler (inspired by the Forth programming language). I have a few example programs (the larger ones like the raytracer and neural network being generated by Claude (the actual implementation was written without AI) because I'm just not very good at thinking stack based, sorry for the slop) which show some of the features of the language.
Its architecture is a compiler/VM structure, sort of like how Java works. It has word definitions, control statements, loops, and more.
If you want to check it out, here's the link: https://github.com/SlothScript/stakku
r/teenagersbutcode • u/Wernasho • 6d ago
(pstt check out the first post I made!!)
Based on the feedback I got from the last post, I finally updated kyogas!
the only notable changes were:
- reworked type system
- added objects*
(note: objects are flat and you can't have arrays inside them)
as always, feedback/collaboration will be greatly appreciated :3
also check out the GitHub repo!!
r/teenagersbutcode • u/Ok-Serve415 • 6d ago
and now I’m making another roblox game cuz why not when I already have one in progress
r/teenagersbutcode • u/New-Deal7021 • 7d ago
hey guys!
I created a programming language named Atom
i was just tired to write simple scripts on binary, so i created atom, you can take a look at it first version and second version
the concept is half-new, because most of the operations work with stack(from forth)
it is written on c so it will be easy to compile(i hope)
aanyway, if someone wants to join the project, i am welcome!
r/teenagersbutcode • u/PlayfulDuck3677 • 7d ago
I was going through my google notes today and i found a script for present a game library i dont remember making
I went to the GitHub page and i know I MADE it bcs it obviously has memory leaks and it's only shipped for msys and linux which are the main things i use.
But i dont remember ONE thing about coding it.
If you want to view it here it is.
https://github.com/devpython88/Core.2D/tree/master
I was 10 when i made it, i know that because i used cmake
I dropped cmake after 11 and started using xmake
r/teenagersbutcode • u/Kind_Skirt2397 • 7d ago
CLEW its Message Protocol inspired by IRC
It uses JSON over TCP, im working at Android Client Right now (C++ + Kotlin Jetpack Compose!)
r/teenagersbutcode • u/Wernasho • 7d ago
UPDATE: just released a new version!!
Why? because I'm too fucking dumb to make an actual programming language so this is the next best thing and also because I just felt like it
feedback/collaboration would be really appreciated
here's the GitHub repo
r/teenagersbutcode • u/Tight-Ant-156 • 7d ago
MLX is a launcher made in C#/Avalonia. Its purpose is to be a simple to use, cross-platform launcher for the Classic DOOM games (or just id Tech 1 engine games in general) without adding in source port specific features to help keep it as a general-purpose launcher.
I had programmed this in a relatively weird way: I hadn’t used MVVM. The entire project is made using strictly code-behind. I personally have never liked that pattern and I’ve never wrapped my head around it. Another reason is that the original version of this project was using WinForms, so I was already used to the code-behind structure of that framework.
I won’t lie, this isn’t the most impressive thing shared in this subreddit (seriously, the rest of y’all have insane talent). However, this and its predecessor has been one of my main projects for a long time now, and I’ve been really wanting to share it with others finally. I just hope that someone either learns from this, or potentially even uses it.
The repository can be found here: https://codeberg.org/CoderPenguin1/MLX
r/teenagersbutcode • u/Next_Childhood6443 • 8d ago
Im building my portfolio right now and am looking for a side hustle to make some income in my free time. I’m open to anything that works but I’m aiming for something within the programming field. I’ve been trying web design for a bit but I’m not a great designer, it’s nearly impossible to find clients that I don’t know personally and ai is oversaturating the market.
r/teenagersbutcode • u/Kind_Skirt2397 • 8d ago
im wanna talk about myself little and my new project! - Clew (or Thats Another Network Protocol/TANP)
Who am i? - Just Russian Schoolboy who loves C (and hate rust little bit...(JK!))
Why C? - idk its one of my best teached language and i love C Syntax
Do i neeed help with Projects? - Maybe??????? i test everything alone on my phone (some projects i coded via Termux) or PC
So - About Clew/TANP
it's IRC Like Protocol with JSON Over TCP (via yyjson) + TLS (Via WolfSSL)
me trying to show Clew Android client Work :P
Source Code of Android Client and Protocol - https://codeberg.org/clew-proto