#cprogramming — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cprogramming, aggregated by home.social.
-
Oh, the horror! 🤦♂️ Why would anyone want to write #BPF programs in #Go instead of that glorious C language? It's like choosing a tricycle over a sports car! 🚴♂️➡️🏎️ But sure, let's add another layer of abstraction so we can all feel extra tech-savvy while achieving absolutely nothing. 🌟
https://github.com/boratanrikulu/gobee #CProgramming #TechAbstraction #SoftwareDevelopment #HackerNews #ngated -
Write your BPF programs in Go, not C
https://github.com/boratanrikulu/gobee
#HackerNews #BPF #Go #Programming #GoLang #CProgramming #TechNews
-
Write your BPF programs in Go, not C
https://github.com/boratanrikulu/gobee
#HackerNews #BPF #Go #Programming #GoLang #CProgramming #TechNews
-
Ah yes, because what every C developer craves at 3 AM is a 15,000-line monolith jammed into a single header file. 🙄 Behold the "innovation" of reinventing the wheel with a side of baseball libraries, because obviously that's what the C standard library was missing. ⚾💥
https://spader.zone/sp/ #CProgramming #Monoliths #SoftwareDevelopment #Innovation #BaseballLibraries #HackerNews #ngated -
Most Ruby developers think JSON is “just a gem”.
Under the hood, Ruby’s JSON stack is a highly optimized native C engine with:
• recursive parsers
• SIMD optimizations
• specialized float serialization
• buffer management
• UTF-8 handling
• native Ruby object generationhttps://rubystacknews.com/2026/05/18/inside-rubys-json-library-complete-deep-dive/
#ruby #rubyonrails #programming #webdev #opensource #cprogramming #json #rails #softwareengineering #performance #rubylang #coding
-
Most Ruby developers think JSON is “just a gem”.
Under the hood, Ruby’s JSON stack is a highly optimized native C engine with:
• recursive parsers
• SIMD optimizations
• specialized float serialization
• buffer management
• UTF-8 handling
• native Ruby object generationhttps://rubystacknews.com/2026/05/18/inside-rubys-json-library-complete-deep-dive/
#ruby #rubyonrails #programming #webdev #opensource #cprogramming #json #rails #softwareengineering #performance #rubylang #coding
-
Most Ruby developers think JSON is “just a gem”.
Under the hood, Ruby’s JSON stack is a highly optimized native C engine with:
• recursive parsers
• SIMD optimizations
• specialized float serialization
• buffer management
• UTF-8 handling
• native Ruby object generationhttps://rubystacknews.com/2026/05/18/inside-rubys-json-library-complete-deep-dive/
#ruby #rubyonrails #programming #webdev #opensource #cprogramming #json #rails #softwareengineering #performance #rubylang #coding
-
Most Ruby developers think JSON is “just a gem”.
Under the hood, Ruby’s JSON stack is a highly optimized native C engine with:
• recursive parsers
• SIMD optimizations
• specialized float serialization
• buffer management
• UTF-8 handling
• native Ruby object generationhttps://rubystacknews.com/2026/05/18/inside-rubys-json-library-complete-deep-dive/
#ruby #rubyonrails #programming #webdev #opensource #cprogramming #json #rails #softwareengineering #performance #rubylang #coding
-
Most Ruby developers think JSON is “just a gem”.
Under the hood, Ruby’s JSON stack is a highly optimized native C engine with:
• recursive parsers
• SIMD optimizations
• specialized float serialization
• buffer management
• UTF-8 handling
• native Ruby object generationhttps://rubystacknews.com/2026/05/18/inside-rubys-json-library-complete-deep-dive/
#ruby #rubyonrails #programming #webdev #opensource #cprogramming #json #rails #softwareengineering #performance #rubylang #coding
-
Embedded Rust or C Firmware? Lessons from an Industrial Microcontroller Use Case
https://arxiv.org/abs/2604.25679
#HackerNews #EmbeddedRust #CProgramming #Microcontrollers #FirmwareDevelopment #IndustrialTech
-
FireJam for F256K2 Adds OPL3 Support with Live Instrument Import from Adlib Tracker
#F256K2 #FireJam #OPL3 #AdlibTracker #FMchip #RetroComputing #SIDchip #HomebrewAudio #CProgramming #AnyBitFeverDreams #FoenixRetroSystems
https://theoasisbbs.com/firejam-for-f256k2-adds-opl3-support-with-live-instrument-import-from-adlib-tracker/?feed_id=2941&_unique_id=6808e63c34007 -
A single-file C allocator with explicit heaps and tuning knobs
https://github.com/xtellect/spaces
#HackerNews #CProgramming #MemoryManagement #Allocators #HackerNews #GitHub
-
🎩 Ah yes, the classic "I discovered something cool in C and now we're going to awkwardly jam it into Java" maneuver. 😂 Spoiler alert: it's a 14-minute read that will make you question life choices more than it will optimize your hash table. 🚀
https://bluuewhale.github.io/posts/building-a-fast-and-memory-efficient-hash-table-in-java-by-borrowing-the-best-ideas/ #CProgramming #JavaIntegration #LifeChoices #TechHumor #14MinuteRead #HackerNews #ngated -
🚀 NEW on We ❤️ Open Source 🚀
Jim Hall takes us on a journey through C compilers! Explore the unique quirks of TurboC and Open Watcom, and see why “not everything is GNU C.”
Read now:
https://buff.ly/3E4vhib -
🚀 NEW on We ❤️ Open Source 🚀
Jim Hall's latest guide explores stack-based programming through the Unix dc calculator. Learn RPN and build your own calculator in C!
Read and download the free guide: https://allthingsopen.org/articles/starter-guide-stacks-command-line-calculators
#WeLoveOpenSource #Unix #OpenSource #CProgramming #RPN #TerminalTools
-
Are you a developer looking for a new role? @FreeBSDFoundation has an opening for a remote Graphics Stack Developer. Learn more now on @osjobhub
https://opensourcejobhub.com/job/28636/freebsd-graphics-stack-developer-position/?utm_source=mlm
#FreeBSD #RemoteWork #OSJH #OpenSource #developer #laptop #unix #CProgramming -
@suprjami
`make --dry-run` prints but doesn't run the commands. Bear wraps the compiler calls to intercept them, so it requires you to actually call the compiler.The whole problem is that there's no way to get the includes and dependencies unless you do all the preprocessing, which is a portion of the way into compiling. You could add the compiler flag to only do pre-processing, but you'll only save a little time versus a full compile.
-
@suprjami
`make --dry-run` prints but doesn't run the commands. Bear wraps the compiler calls to intercept them, so it requires you to actually call the compiler.The whole problem is that there's no way to get the includes and dependencies unless you do all the preprocessing, which is a portion of the way into compiling. You could add the compiler flag to only do pre-processing, but you'll only save a little time versus a full compile.
-
@suprjami
`make --dry-run` prints but doesn't run the commands. Bear wraps the compiler calls to intercept them, so it requires you to actually call the compiler.The whole problem is that there's no way to get the includes and dependencies unless you do all the preprocessing, which is a portion of the way into compiling. You could add the compiler flag to only do pre-processing, but you'll only save a little time versus a full compile.
-
Donut-shaped #C #code that generates a #3D spinning #donut
https://www.youtube.com/watch?v=DEqXNfs_HhY&ab_channel=LexFridman
#Math #Maths #Mathematics #Geometry #Animation #Coding #Programming #CCode #CProgramming #Program
-
Ah yes, because what could be more exhilarating than "fun" with undefined behavior and C libraries? 🤔 Just when you thought C couldn't get any more "entertaining," here comes a blog post to remind you that the real circus is in the code you *didn't* know was breaking things. 🎪🔧
https://keithp.com/blogs/sanitizer-fun/ #CProgramming #UndefinedBehavior #FunWithCode #CodeCircus #TechHumor #HackerNews #ngated -
🚀 Behold! An opus of existential dread wrapped in a thin veneer of C language #angst, where the author heroically battles imaginary dragons of undefined behavior while attempting to reinvent the square wheel of systems compilers. 🤔 Spoiler: C compiles without warnings, and the universe remains unaltered.
https://blog.xoria.org/expr-stmt-c/ #existentialdread #Cprogramming #compiler #imaginarydragons #systemscompilers #HackerNews #ngated -
🚀 Behold! An opus of existential dread wrapped in a thin veneer of C language #angst, where the author heroically battles imaginary dragons of undefined behavior while attempting to reinvent the square wheel of systems compilers. 🤔 Spoiler: C compiles without warnings, and the universe remains unaltered.
https://blog.xoria.org/expr-stmt-c/ #existentialdread #Cprogramming #compiler #imaginarydragons #systemscompilers #HackerNews #ngated -
🚀 Behold! An opus of existential dread wrapped in a thin veneer of C language #angst, where the author heroically battles imaginary dragons of undefined behavior while attempting to reinvent the square wheel of systems compilers. 🤔 Spoiler: C compiles without warnings, and the universe remains unaltered.
https://blog.xoria.org/expr-stmt-c/ #existentialdread #Cprogramming #compiler #imaginarydragons #systemscompilers #HackerNews #ngated -
🚀 Behold! An opus of existential dread wrapped in a thin veneer of C language #angst, where the author heroically battles imaginary dragons of undefined behavior while attempting to reinvent the square wheel of systems compilers. 🤔 Spoiler: C compiles without warnings, and the universe remains unaltered.
https://blog.xoria.org/expr-stmt-c/ #existentialdread #Cprogramming #compiler #imaginarydragons #systemscompilers #HackerNews #ngated -
🚀 Behold! An opus of existential dread wrapped in a thin veneer of C language #angst, where the author heroically battles imaginary dragons of undefined behavior while attempting to reinvent the square wheel of systems compilers. 🤔 Spoiler: C compiles without warnings, and the universe remains unaltered.
https://blog.xoria.org/expr-stmt-c/ #existentialdread #Cprogramming #compiler #imaginarydragons #systemscompilers #HackerNews #ngated -
(good reading) Introducing Early Cascade Injection: From Windows Process Creation to Stealthy Injection:
#codeinject #reverseengineering #programming #windowsinternals #cprogramming #informationsecurity #cybersecurity
-
hellwal — это альтернатива pywal написанная на языке C.
Одно из преимуществ hellwal, это скорость — на компьютере вычисление обоев занимает около 100 мс.
src: https://github.com/danihek/hellwal
#blacktriangle #opensource #github #cprogramming #pywal #hellwal #linux
-
Programming Like It’s 1986, For Fun and Zero Profit - Some people slander retrocomputing as an old man’s game, just because most of thos... - https://hackaday.com/2025/07/09/programming-like-its-1986-for-fun-and-zero-profit/ #softwaredevelopment #conwaysgameoflife #retrocomputing #macintoshplus #cprogramming #retro
-
#C23 has support for "pure" functions. Less powerful than the `const` function attribute in GCC, but still pretty awesome.
#cprogramming #cpp #functionalprogramming
https://en.cppreference.com/w/c/language/attributes/reproducible.html
-
#Cprogramming #C2y The paper of Javier Múgica (with a little bit of co-authorship by myself) about array subscripting has now been accepted into C2y. It has only marginal direct consequences for your everyday code (except perhaps if you use `register` or `constexpr`), but it helps to make arrays in C a little bit less weird.
-
Consequences of passing too few register parameters to a C function
https://devblogs.microsoft.com/oldnewthing/20260427-00/?p=112271
#HackerNews #CProgramming #RegisterParameters #FunctionPerformance #ProgrammingTips #DevBlogs
-
Want to learn more about ELF files? 🧝♂️
My new blog post "Wherein We Look At An ELF".
In this post we will explore:
🖥️ The anatomy of ELF files—what makes them tick
🔍 Relocatable but not yet Executable—more compilation shenanigans
🧩 To Strip or not to Strip—is that the question?
🔐 Some ELF tools—readelf, objdump, gdb, ...https://dreaming-of-dragons.blogspot.com/2024/12/wherein-we-look-at-elf-executable-and.html
#ReverseEngineering #BinaryAnalysis #MalwareAnalysis #Cybersecurity #Programming #Debugging #InfoSec #CProgramming #GDB #objdump #Assembly
-
🚦 Ah yes, because "Parse, Don't Validate" is totally going to save you from C's foot-gun tendencies. 😂 Let's all pretend that throwing conceptual correctness at C won't lead to a spectacular explosion of memory leaks and buffer overflows! 🔥
https://www.lelanthran.com/chap13/content.html #CProgramming #MemoryLeaks #BufferOverflows #SoftwareDevelopment #HackerNews #ngated -
Re Discovering 3D Graphics the Way Early Games Did
This video is my journey through learning how early games drew 3D graphics before 3D APIs and modern GPUs existed. In fact, before old 3D APIs like OpenGL and old GPUs existed, too.#3dmodeling #3dgames #programming #retro #cprogramming #gamedev #gamedevelopment
https://ncot.uk/videos/re-discovering-3d-graphics-the-way-early-games-did/ -
#include <stdio.h>
Is this what the "printf" function is supposed to do? -
I think this is pretty neat, and a bit different than most c-style language implementations: any number of initial arguments can be factored out of a group of functions:
https://mocompute.codeberg.page/item/2026/2026-05-08-tess-receiver-blocks.html
#c #programming #programminglanguages #cprogramming #compiler
-
Finally finished a post with some initial motivations and reflections about a programming language project I've been working on for nearly the past year: https://mocompute.codeberg.page/item/2026/2026-04-26-practical-additions-to-c.html #c #programming #programminglanguages #cprogramming #compiler
-
Lib0xc: A set of C standard library-adjacent APIs for safer systems programming
https://github.com/microsoft/lib0xc
#HackerNews #Lib0xc #CProgramming #SaferSystems #APIs #Microsoft
-
So, you thought passing too few register parameters to a C function was a good idea? 🤔 Surprise! Now you're knee-deep in a jargon soup of Microsoft Dev Blogs trying to untangle your mess. 🥴 But hey, at least you've got a PhD in reading buzzwords now! 🎓
https://devblogs.microsoft.com/oldnewthing/20260427-00/?p=112271 #CProgramming #JargonSoup #MicrosoftDevBlogs #DeveloperHumor #CodingStruggles #PhDInBuzzwords #HackerNews #ngated -
Ah yes, the thrilling world of #FilC, where we simplify a "memory safe" version of C by rewriting everything with the grace of a toddler with finger paints. 🎨💻 Because nothing says #innovation like rehashing old concepts with more buzzwords than a Silicon Valley power lunch. 🚀
https://www.corsix.org/content/simplified-model-of-fil-c #MemorySafety #CProgramming #TechBuzz #HackerNews #ngated -
🚀 Wow, solving #primality with deterministic flair, while the rest of us plebs just use "is it divisible by 2?" 🤔✨ Enjoy this riveting saga of counting zeroes and modular math, because nothing screams #excitement like an inline function and a C code snippet! 🙃🔢
https://www.jeremykun.com/2026/04/07/deterministic-miller-rabin/ #modularmath #coding #Cprogramming #inlinefunctions #HackerNews #ngated -
↱"cdecl"
A tool to help understanding or writing complex declarations in C! 🙂
Online version: https://cdecl.org/
Install on #LinuxMint / #Ubuntu / #Debian with:
> "sudo apt install cdecl"
Thank you for the tip, @sirwumpus , and thank you for all the other related tips, @xexyl ! 🧡
-
Testing my framework MiniFrame on a new CodinGame tournament, reached 4th/137 right from the first try. Feels good, and feel even better because it's the first tournament I join which includes AI coding agents (gpt, gemini, claude, ...), and they only rank from 14th to 21st. Take that, AI slop 🖕
#programming #cprogramming #codingame #ai -
I have released the version 0.14.0 of my C library LibCapy.
* CapyPpmFormat. Class to manipulate file in PPM format (P3 and P6). Load/save an image.
* Cext. Add CapyStrlenUtf8.
* CapyColor. Add RGB2Greyscale.
* CapyImg. Add applyDitheringMap, CapyImgCreateDitheringMap (create Bayer matrix for ordered dither map of order 1, 2 and 3). Refactor fromRGBToGreyScale using CapyColor.RGB2Greyscale. Add addRadialShadow, getClipped.
* CapyImgKernel. Add setToSobelX, setToSobelY, setToLaplace.
* CapyFocusMeasure. Add getLaplacianVariance, getTenengrad, getBrenner, getSymmetricVollathF4, getVariance, getNormalizedVariance, getDFTShannonEntropy.
* CapyPhotometricStereo. Basic method, variance method. -
🥱 Ah, yet another book that dares to resurrect the fossilized language of C. What's next? A thrilling sequel on COBOL? 📚 Let's all gather to marvel at the revolutionary concept of "Installing a C Compiler" as if we're in 1985! 🤦♂️
https://little-book-of.github.io/c/books/en-US/book.html #CProgramming #FossilLanguages #TechNostalgia #SoftwareDevelopment #ProgrammingHumor #HackerNews #ngated -
Random thought: Some people and companies are against C because it's easy to shoot yourself in the foot, and then they praise "vibe" (sh*t) coding, go figure.