nesdev.com
http://forums.nesdev.com/

Is it possible to program Raspberry Pi in assembly?
http://forums.nesdev.com/viewtopic.php?f=5&t=16516
Page 7 of 7

Author:  Kasumi [ Tue Sep 26, 2017 5:04 pm ]
Post subject:  Re: Is it possible to program Raspberry Pi in assembly?

tepples wrote:
Or someone doesn't care about micro-optimizations for speed but does care about them for size in an NROM-128 project.

That's not perceived bloat just from reading documentation, which is what the person I was responding to seemed to say. I feel like a hypothetical NROM-128 project is outside that context. But I still disagree with the premise. If you're making an NROM-128 project you could still get more mileage for size out of assembly than the "bloated" by comparison C, right? "But someone could care less about the size benefit of assembly and care more about the time it takes to write in an NROM-256 project." Yes. Sure. Okay.

I guess in general, I feel that while the information presented may add to the thread, I feel that because it's posted as a reply to me, but not as a reply to what I feel like I said that confuses me about how to respond. I answered about features from C++ I use that aren't templates, it doesn't mean there's never a reason not to use them. I can see how that can maybe be gotten from "I don't have a reason to use Y", but I'd have said "There's no reason to use Y" if I meant that.
thefox wrote:
This library is pretty sweet: https://github.com/fmtlib/fmt

Heheh! I know of it. It might be interesting to start a C/++ resource thread, but there's not much I can personally cosign as "used in an actual project".

Author:  Sogona [ Wed Sep 27, 2017 6:39 pm ]
Post subject:  Re: Is it possible to program Raspberry Pi in assembly?

I mean the whole point of high level languages is to abstract away from the underlying asm, so when I'm coding in C I'm only worried about optimizing on a macro scale. Unless I was doing something time-critical/embedded, the amount of time/effort it would take to either A.) write inline-asm that doesn't break the rest of the program (and doesn't gcc force you to use the ugly AT&T syntax for x86?) or B.) writing C code that translates into optimal asm isnt worth it, to me at least.

Page 7 of 7 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/