#cpreprocessor — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cpreprocessor, aggregated by home.social.
-
🚀 Oh joy! Another deep dive into the C Preprocessor authored by Kafka's ghost, promising #enlightenment once the tears of despair dry up. 🤡 Spoiler alert: It's just another way to make you question your life choices while hopelessly entangled in recursive macro spaghetti. 🍝🔄
https://h4x0r.org/big-mac-ro-attack/ #CPreprocessor #RecursiveMacros #LifeChoices #Kafkaesque #HackerNews #ngated -
Ah, the C preprocessor—because nothing screams "optimize" like using a tool meant for text substitution to interpret #Brainfuck 🧠💩. GitHub's cutting-edge #innovation has finally made it possible to over-engineer obsolescence. Next up: using Excel macros to land rockets 🚀📉.
https://github.com/camel-cdr/bfcpp #CPreprocessor #Overengineering #GitHub #ExcelMacros #HackerNews #ngated -
Optimizing Brainfuck interpreter in the C preprocessor
https://github.com/camel-cdr/bfcpp
#HackerNews #Optimizing #Brainfuck #interpreter #in #the #C #preprocessor #HackerNews #Brainfuck #Cpreprocessor #Optimization #Programming
-
C++ isn't a serious language.
today's bullshit:
template<typename T, typename U, U T::* Member>
struct get_offset {
static constexpr size_t offset = offsetof(T, Member);
};struct Example {
int x;
};const size_t N = get_offset<Example, int, &Example::x>::offset;
This doesn't compile with clang. because...
1/2
-
I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.
for example, it would be nice if you could say
#namespace FOO
#include "foo.h"
#endnamespaceand then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL
-
I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.
for example, it would be nice if you could say
#namespace FOO
#include "foo.h"
#endnamespaceand then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL
-
I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.
for example, it would be nice if you could say
#namespace FOO
#include "foo.h"
#endnamespaceand then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL
-
I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.
for example, it would be nice if you could say
#namespace FOO
#include "foo.h"
#endnamespaceand then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL
-
I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.
for example, it would be nice if you could say
#namespace FOO
#include "foo.h"
#endnamespaceand then all the preprocessor defines from foo.h are brought into your file with names like FOO###BOOL