r/code • • 1d ago

C++ inplace_vector: new collection data structure of C++26 | rangakrish

Thumbnail rangakrish.com
2 Upvotes

r/code • • 4d ago

Help Please Insertion sort

2 Upvotes

Hello!! First time on here. I'm a beginner at coding and was wondering if someone with more coding experience could confirm if my insertion sort implementation is correct. I ran it ofc but i just wanted to make sure it's 100% correct!!

code (python):


r/code • • 5d ago

My Own Code Looking for feedback on a Rust-based messaging project

3 Upvotes

I'm working on OnyxChat, a messaging project with components written in Rust, C, C++, Lua, and Python.

I'm interested in feedback on the Rust side of the project, particularly the boundaries between components, error handling, testability, and how clearly the implementation reflects the documented architecture.

The repository also contains protocol, security, privacy, and testing documentation. The project is under development and has not received an independent security audit, so I'm not presenting it as a production-ready or independently verified secure messenger.

One detail that may be relevant to contributors: the repository's documentation, comments, and language-consistency tests currently use European Portuguese (PT-PT). That convention can be discussed and refactored collaboratively if justified.

Repository: https://github.com/Shega-PT/OnyxChat

If this kind of review is appropriate for this community, I'd appreciate pointers to specific design choices or implementation details worth examining. I'll follow the community's self-promotion rules.


r/code • • 7d ago

Blog Why Can't We Use English as a Programming Language? The Ambiguity Problem Explained

Thumbnail docs.bswen.com
5 Upvotes

r/code • • 9d ago

Jai Debugging Memory Leaks in Jai

Thumbnail youtu.be
2 Upvotes

r/code • • 9d ago

Resource c++ scene graph

Thumbnail youtu.be
1 Upvotes

r/code • • 9d ago

Java OOP vs. Data-Oriented Programming: Which One to Choose?

Thumbnail youtu.be
3 Upvotes

r/code • • 11d ago

Resource c++ math - did someone say math

Thumbnail youtu.be
4 Upvotes

r/code • • 12d ago

My Own Code Dio: Small Programming language made in C version 0.1.0 release

9 Upvotes

Hi, I'm working on my own programming language, I've release first stable version (v 0.1.0), I'd like to get feedback. It's on most OS platforms (even Andoird and in the future IOS).

Repo: https://github.com/Treechcer/DIO


r/code • • 12d ago

API c++ bounding volume hierarchy

Thumbnail youtu.be
3 Upvotes

r/code • • 12d ago

Blog mktemp: stop inventing your own temporary files | davlgd

Thumbnail labs.davlgd.com
2 Upvotes

Every shell script eventually needs somewhere to put something. The usual answer looks reasonable and has three separate problems... mktemp is on macOS, Debian and Ubuntu.


r/code • • 16d ago

Guide c++ source code review - some useful graphics primitives

Thumbnail youtu.be
3 Upvotes

r/code • • 18d ago

C C's Flexible Integer Sizes were Not a Design Mistake

Thumbnail pikuma.com
17 Upvotes

r/code • • 18d ago

Guide HashMaps & Dictionaries, Explained Simply

Thumbnail youtu.be
1 Upvotes

r/code • • 25d ago

C++ Static C++ composition engine

Thumbnail github.com
7 Upvotes

MIT C++ header only lib


r/code • • 26d ago

Blog lsof: everything is a file, and here is the proof | davlgd

Thumbnail labs.davlgd.com
3 Upvotes

r/code • • 27d ago

My Own Code i made a C library

Thumbnail github.com
16 Upvotes

so this link is to my own library called mathplus which i use it to enhance my knowledge in C and math by converting ant possible topic i learn into function that doesn't exist in the normal libraries in C.
i am planning to add the flowing functions:
combination(calculate the combination between n and r)
isprime(a function to check if the number is prime)
isieve(a function to check if the number is a sieve number)
and many more in the future.

right now it only has a factorial function and a permutation function.

feel free to contribute or fork it, i really appreciate any help weather it is a contribution to the code or advice on the README.md file or any other.
thanks in advance


r/code • • Sep 13 '26

Blog Microcode in Intel's 8087 floating-point chip: the scale instruction | Ken Shirriff

Thumbnail righto.com
7 Upvotes

The 8087 implemented its instructions in complex low-level code called microcode. The Opcode Collective is reverse-engineering this microcode for computer history and greater knowledge.


r/code • • Sep 10 '26

Blog Fatty Structs: Casey Muratori’s Approach to Data Structure Design

Thumbnail freedium-mirror.cfd
2 Upvotes

r/code • • Sep 09 '26

C++ micron.cpp: C++ implementation & redesign of libc and the standard library | rfgplk

Thumbnail github.com
6 Upvotes

r/code • • Sep 08 '26

Blog Apache Iceberg Table Cleanup: A Production Guide

Thumbnail lakeops.dev
3 Upvotes

r/code • • Aug 28 '26

Guide Making computers multiply FASTER! (matrix hacking) | LaurieWired

Thumbnail youtu.be
6 Upvotes

r/code • • Aug 28 '26

C++ C++23: Slicing with std::views::chunk | Rangakrish

Thumbnail rangakrish.com
2 Upvotes

r/code • • Aug 21 '26

My Own Code Beginner code

Post image
56 Upvotes

What’s wrong with my code I’m so confused this hard a freak. I’m just trying to make a weapon shop simulator as practice to help learn code but I can’t even get it to ask if the user wants to start the game by type yes as the their answer


r/code • • Aug 20 '26

C xr0: The Xr0 Verifier for C | xr0-org

Thumbnail github.com
2 Upvotes

Xr0 is a verifier for C that aims to guarantee the safety of C programs at compile time