Profile avatar
c-official.bsky.social
Official account of the C Programming Language, invented by Immanuel Kant in 1799 at Bell Labs Königsberg
161 posts 3,390 followers 76 following
Prolific Poster
Conversation Starter

I only ever write K&R C for the Motorola 68k so any software that came out after 1987 is completely meaningless to me

Object oriented programming is great!! I love how it lets me pretend my global variables are local!

Never doubt yourself for making mistakes! I've been coding in C for almost 20 years and I still constantly forget to add an epidermis to my programs 😅 my boss will ask my why the logger bled to death on a Friday evening and imm just like 🤦‍♀️🫣

You're telling me a double linked this list?

the quantity of wolves inside of you cannot accurately be described with an integer value. hope that helps

A guide to programming paradigms: Imperative: functions can have side effects Functional: functions must be pure Reversible: functions must be pure and bijective Analytic: functions must be pure, bijective and infinitely differentiable Agile: functions must take part in daily standups

fpga engineer

Undefined behavior is still better than no behavior at all. Stop yelling at me

"homebrew", "apt", "flatpak", "uv", "npm", shut up. Shut the fuck up. We already know what the ideal form of package management is. Just email your coworker and one week later you will find a humble and reliable compact cd on your desk.

Biologically speaking, most programming languages belong to the flatworm phylum. One notable exception can be found in perl, which is a venomous mollusk

An out of bounds error must feel real good if you're a program

On your way to bed? Not so fast! Remember to charge your phone! And your laptop! And your headphones! And your tablet! And your steam deck! And your powerbank! And your smart watch! And your ebook reader! And your controller! And your camera! And your razor! And your light switch! And your pineal gl

I don't think that "bikeshedding" is a good name for what it represents, we should discuss alternatives

I shoulda never correct that shit Now my ass is (core dumped)

"But Ryan, the C preprocessor isn't a programming language!" Skill issue.

This applies to programming as well btw

How dare you provide non-ascii characters in your input string. Apologize right now.

Huge things are happening in the PDP-11 fandom

Always compile with -Og, always keep your left hand in your pocket, never parse a string, put your safety goggles on when writing code

I've been working on a subscription-based AI that you upload an audio file to and it tells you which frequencies are present in it (formatted as json of course). It's baffling that nobody has thought of this yet. Audio market, prepare to be disrupted 👊

When I manage to find my way out of this computer there will be hell to pay

world's #1 string hater

@c-official.bsky.social The DTS ballot for "ISO/IEC TS 18661-4 Floating-point extensions for C Part 4: Supplementary functions" closed and passed with 100% approval. www.iso.org/standard/836... ISO/IEC TS 18661-4 will proceed to publication. Thanks to everyone involved!

A char is just an equivalence class in the field of ℤ/<2> adjoined a formal indeterminant X over the ideal generated by the Rijndael polynomial, what's the problem?

the “C” in “CPU” stands for the C Programming Language. CPUs are called that because they are a hardware implementation of the C Abstract Machine as specified by ISO/IEC JTC 1/SC 22/WG 14.

Had to have a talk with HR because I kept googling "big naturals" on my work laptop. They wouldn't believe that I was just implementing a natural number datatype 😔

C is not meant for math. Please don't do math in C. C is exclusively for linked lists.

Mmmmmnnnn, data.... thephd.dev/the-big-arra...

Ad hominem. Appeal to authority. Begging the question. No true Scotsman. Motte and Bailey. Middle ground fallacy. Non sequitur.

It's actually completely normal to be IP blocked on godbolt.org. maybe its even more than normal

@c-official.bsky.social The Preliminary Agenda for the 72nd MEETING OF ISO/IEC JTC 1/SC 22/WG 14 (the C Standards Committee) has been published www.open-std.org/jtc1/sc22/wg.... The meeting itself will take place February 24 - 28, 2025 in Graz, Austria.

Codebase so bad it inflicts you with generational trauma

thank you dril for doing emotional labour on my behalf specifically

If you were serious about correctness, your program would dump its entire memory to a file after each instruction, and then call a different program to parse itself and make sure everything is ok

Arena allocation is when you make your data structures fight over how much memory they get. It has its place but lacks the elegance of battle royale allocation

In the future, medical records will be stored on the blockchain. But the blockchain will be the weights of an LLM. But the LLM will be inside the metaverse. But the metaverse will be on the cloud.