r/linux • u/rastermon • Aug 16 '14
Yet another C object model
https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
53
Upvotes
r/linux • u/rastermon • Aug 16 '14
View all comments
Show parent comment
9
u/[deleted] Aug 16 '14
C is a syntax definition. C defines what the programmer should write to get the program to do something. C does not define how that program should compile, or if it should compile, how the C code translates into machine code or how most data types should be represented.
You can't "build in" shit. You want multiplatform support? That's the compiler's job. You want to distinguish between pointer and array types? That's the compiler's job.
And hey, you want to "clean up" the syntax? As in, dump some old C syntax as invalid and replace it with something new, hip and swanky? You want a different fucking language. If you're going to invalidate some ~30 years of code don't waste everyone's time calling an apple an orange.