This question already has an answer here:
- How are bytes counted in assembly? 4 answers
It's been my understanding that answers in code golf competitions should generally be given as source code. But lately I've seen a few answers specified as x86 assembly, counting the size as the number of bytes in the compiled binary blob. For example this answer.
Firstly, it seems like this way of counting is only valid if the language is x86 machine code, rather than assembly language, as assembly language is source code that can produce a certain machine code output, rather than the machine code being submitted. But naming and byte counting aside, is it even acceptable (for code golf questions with standard rules) to post non-source code answers in the first place? Should this be considered acceptable for other languages and formats as well? Should we, for example, allow Java
.class and gzip encoded
.py files as well, in the name of consistency?
Edit to try to clarify: I'm not asking a question about scoring, which is the main point of the suggested duplicate question. I'm asking whether a certain class of answers are valid in the first place.