FPC for DOS / FreeDOS (DOSX)
> You're obviously on the
> latter side,
That's a horribly biassed assumption. Everybody that doesn't agree with you, of course can't think for himself, and just goes with the flow.
And of course I'm sparring a bit for fun, and exaggerating the parallels (the desert example). But the point of this is to separate actual, valid reasons from "we are a little minority that is always right" principle. The smaller the minority, the more extreme the opinions.
> but be warned: you're in a DOS forum, where some participants
> might believe that "the majority is always wrong" (or, more popular, that
> "one million flies might be wrong when sitting on a pile of sh*t").
Well, stuff me in a third category, since I have programmed assembler for a living. And still am in contact with others that do. Some even fulltime, and not on the side like I did. (our microcontroller is only for support of the PC).
However if you ask them, they have very sane reasons, and can back this up by actual facts. _ALL_ of them have the same application also in a HLL btw.
> so to choose ASM intentionally as
> implementation language might sound absolutely unreasonable for you - size
> and speed usually don't matter.
Correct. However what worries me more in these kinds of discussions is the failure to come up with any sane reasons. Everybody talks about "embedded", but if you ask further, it turns out they use yesteryears PC, which were never embedded in the first place.
> However, I'm doing just this, and I'm neither a masochist nor
> unreasonable.
Well, a lot of loons don't realise that they are. But ok, let's have your reasons. Even "it is just a hobby, and I like the puzzle aspect" is a better reason that what I have heard thus far.
> There are some advantages of HLLs compared to ASM, portability is the most
> important one, but very often portability isn't an issue at all, and to a
> large degree portability is - as far as HLLs are concerned - a "myth" with
> few relation to reality.
Well, at least we agree on that. The portability _is_ important, but not blackwhite over the border of a HLL/asm border.
> *((dir_node *)dir->sym)->e.constinfo->is_this_true = FALSE;
>
> fortunately aren't possibly in ASM and therefore ASM hasn't the bad
> "write-only" image like some HLLs.
Well, that is for me one of the fundamental reasons. And then I don't mean the above mess per se, but the ability to abstract a datatype from its memory layout, and in general the syntax check of the compiler.
I know, you can give fields of records an offset, you can workaround some stuff with macro systems that systematically get more complex (though that is not strictly assembler anymore), and in fact C's history is much in the same space (some of the C predecessors were closer to a complex macro assembler than to C). You can even do a bit of a kind of "assembler lint" to detect often made flaws.
But it remain workarounds, and the processing program (the assembler/compiler) has way less information to work with (and to check things) in the assembler case then in the compiler case. And that already assumes you plugged the other defects.
Moreover, C is known as the assembler of HLLs. So you comparing already to rock bottom.
> Even more, ASM programmers tend to add comments in their source, a habit
> which many C (and Pascal?) programmers seem to ignore - possibly because
> they're believing their language is "self-documenting"?
Depends. In general, people still doing asm are doing that for a very specifical reason, and they (or their boss) are typically not paid directly in proportion to their output, like e.g. a contract programmer.
In those kinds of niches, people can do pretty much anything they want, not hampered by any competition (since not assembler, but their often long experience with the company is the main factor).
Complete thread:
- HX-DOS Extender & Virtual Pascal 2.1.279 - ho1459, 14.03.2008, 14:28
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- HX-DOS Extender & Virtual Pascal 2.1.279 - Japheth, 15.03.2008, 11:26
- HX-DOS Extender & Virtual Pascal 2.1.279 - Rugxulo, 16.03.2008, 19:15
- HX-DOS Extender & Virtual Pascal 2.1.279 - ho1459, 17.03.2008, 21:07
- HX-DOS Extender & Virtual Pascal 2.1.279 - marcov, 07.04.2008, 11:45
- HX-DOS Extender & Virtual Pascal 2.1.279 - Rugxulo, 07.04.2008, 23:27
- HX-DOS Extender & Virtual Pascal 2.1.279 - marcov, 08.04.2008, 13:28
- HX-DOS Extender & Virtual Pascal 2.1.279 - Rugxulo, 08.04.2008, 15:58
- HX-DOS Extender & Virtual Pascal 2.1.279 - marcov, 10.04.2008, 10:02
- FPC for DOS / FreeDOS - Rugxulo, 11.04.2008, 07:14
- FPC for DOS / FreeDOS - marcov, 11.04.2008, 13:08
- FPC for DOS / FreeDOS - Rugxulo, 11.04.2008, 15:50
- FPC for DOS / FreeDOS - Japheth, 11.04.2008, 17:22
- FPC for DOS / FreeDOS - marcov, 11.04.2008, 19:50
- FPC for DOS / FreeDOS - Rugxulo, 12.04.2008, 00:43
- FPC for DOS / FreeDOS - marcov, 12.04.2008, 14:38
- FPC for DOS / FreeDOS - Rugxulo, 12.04.2008, 20:52
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 23:36
- FPC for DOS / FreeDOS - Rugxulo, 14.04.2008, 20:40
- FPC for DOS / FreeDOS - marcov, 14.04.2008, 21:59
- FPC for DOS / FreeDOS - Rugxulo, 15.04.2008, 01:45
- FPC for DOS / FreeDOS - marcov, 15.04.2008, 16:11
- FPC for DOS / FreeDOS - Rugxulo, 16.04.2008, 02:23
- FPC for DOS / FreeDOS - marcov, 15.04.2008, 16:11
- FPC for DOS / FreeDOS - Rugxulo, 15.04.2008, 01:45
- FPC for DOS / FreeDOS - marcov, 14.04.2008, 21:59
- FPC for DOS / FreeDOS - Rugxulo, 14.04.2008, 20:40
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 23:36
- FPC for DOS / FreeDOS - Rugxulo, 12.04.2008, 20:52
- FPC for DOS / FreeDOS - marcov, 12.04.2008, 14:38
- FPC for DOS / FreeDOS - Japheth, 12.04.2008, 07:33
- FPC for DOS / FreeDOS - marcov, 12.04.2008, 13:27
- FPC for DOS / FreeDOS - Japheth, 12.04.2008, 16:18
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 02:54
- FPC for DOS / FreeDOS - Japheth, 13.04.2008, 09:50
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 23:17
- Compiler debate - Steve, 14.04.2008, 05:51
- FPC for DOS / FreeDOS - Japheth, 14.04.2008, 08:49
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 23:18
- Compiler debate - Steve, 14.04.2008, 06:00
- FPC for DOS / FreeDOS - Japheth, 14.04.2008, 08:21
- FPC for DOS / FreeDOS - marcov, 14.04.2008, 11:12
- FPC for DOS / FreeDOS - Japheth, 14.04.2008, 12:52
- FPC for DOS / FreeDOS - Steve, 14.04.2008, 15:05
- FPC for DOS / FreeDOS - marcov, 14.04.2008, 11:12
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 23:17
- FPC for DOS / FreeDOS - Japheth, 13.04.2008, 09:50
- FPC for DOS / FreeDOS - marcov, 13.04.2008, 02:54
- FPC for DOS / FreeDOS - Rugxulo, 12.04.2008, 20:34
- FPC for DOS / FreeDOS - Japheth, 12.04.2008, 16:18
- FPC for DOS / FreeDOS - marcov, 12.04.2008, 13:27
- FPC for DOS / FreeDOS - Rugxulo, 12.04.2008, 00:43
- FPC for DOS / FreeDOS - Rugxulo, 11.04.2008, 15:50
- FPC for DOS / FreeDOS - marcov, 11.04.2008, 13:08
- FPC for DOS / FreeDOS - Rugxulo, 11.04.2008, 07:14
- HX-DOS Extender & Virtual Pascal 2.1.279 - marcov, 10.04.2008, 10:02
- HX-DOS Extender & Virtual Pascal 2.1.279 - Rugxulo, 08.04.2008, 15:58
- HX-DOS Extender & Virtual Pascal 2.1.279 - marcov, 08.04.2008, 13:28
- HX-DOS Extender & Virtual Pascal 2.1.279 - Rugxulo, 07.04.2008, 23:27
- HX-DOS Extender & Virtual Pascal 2.1.279 - ho1459, 17.03.2008, 20:56
- HX-DOS Extender & Virtual Pascal 2.1.279 - Rugxulo, 16.03.2008, 19:15
- HX-DOS Extender & Virtual Pascal 2.1.279 - Laaca, 15.03.2008, 18:56
- HX-DOS Extender & Virtual Pascal 2.1.279 - rr, 16.03.2008, 19:12
- HX-DOS Extender & Virtual Pascal 2.1.279 - Japheth, 15.03.2008, 11:26
Mix view