Switching to C over 'Modern' Programming Languages
1–10 of 170 posts
Re: Switching to C over 'Modern' Programming Languages
#2I'm happy to use Python or JavaScript or something else when appropriate, but coming back to C++ is like sitting on your porch, enjoying a cool breeze and the relaxing after a hard day of juggling magic.
Re: Switching to C over 'Modern' Programming Languages
#3I find understanding certain abstractions hard going because they don't mesh well with my view of the problem domain and my design for solution's implementation.
Re: Switching to C over 'Modern' Programming Languages
#4Other than assembly language, all languages embody abstractions. I find understanding certain abstractions hard going because they don't mesh well with my view of the problem domain and my design for solution's implementation.
You think C is "low level", but it was once considered "high level", and the compiler does many things you don't want, and the standard's ambiguously-worded, and implementers have their own interpretations about the ambiguity, and also bugs in their compilers, and you eventually arrive at:
"If you really want those instructions to happen in this function, without fear of magic, write them in assembly."
Re: Switching to C over 'Modern' Programming Languages
#5Whoah, I was convinced there is no way to write and run apps on these older iPhones - I wonder how difficult the whole process is.
Re: Switching to C over 'Modern' Programming Languages
#6Other than assembly language, all languages embody abstractions. I find understanding certain abstractions hard going because they don't mesh well with my view of the problem domain and my design for solution's implementation.
Even assembly itself has symbols and labels, which are themselves abstractions.
Re: Switching to C over 'Modern' Programming Languages
#7Other than assembly language, all languages embody abstractions. I find understanding certain abstractions hard going because they don't mesh well with my view of the problem domain and my design for solution's implementation.
Yep. You think C is "low level", but it was once considered "high level", and the compiler does many things you don't want, and the standard's ambiguously-worded, and implementers have their own interpretations about the ambiguity, and also bugs in their compilers, and you eventually arrive at: "If you really want those instructions to happen in this function, without fear of magic, write them in assembly."
Re: Switching to C over 'Modern' Programming Languages
#8Other than assembly language, all languages embody abstractions. I find understanding certain abstractions hard going because they don't mesh well with my view of the problem domain and my design for solution's implementation.
Essentially the processor reads a while bunch of instructions at once, splits each in the raw microinstructions, arranges them in a graph of dependencies, and then solves an optimization problem to find the best way to schedule nodes from that graph onto its internal execution pipelines. In real-world execution, you can't even tell what assembly instruction(s ) are the ones being executed at a partocular time - disparate parts of various instructions. Some instructions, like "mov ax, 0", don't even execute: they just serve to mark which the tens of real registers is now free to use for another symbolic register like bx.
Re: Switching to C over 'Modern' Programming Languages
#9Re: Switching to C over 'Modern' Programming Languages
#10> After looking up compatibility for SDL, I noticed it is able to run on iOS 6 and greater, meaning it supports iOS devices all the way back to iPhone 3GS. Whoah, I was convinced there is no way to write and run apps on these older iPhones - I wonder how difficult the whole process is.
Can't find current info on it online.