Compatibility woes / deprecation (Miscellaneous)
> > The only reason to not use something old is if the new improves in
> > every way, which is hardly typical.
>
> That is not correct. If it works better/easier over the whole line is
> enough. Otherwise I would always remain stuck with something old because
> it is "better" on one not terribly important point.
Well, for instance, I use HHsed a lot, and it's old and not as good as GNU sed, for instance. BUT, it's much smaller, easier to build, and actually faster (no thanks to 16-bit code, though). Doesn't mean I can't still use GNU sed sometimes, but hey, if it ain't broke, why fix it?
> > Pros:
> > + small
>
> Not an advantage per se.
True, I take it back, but it's not exactly a disadvantage either.
> > + fast (even can use EMS or XMS for even faster speeds)
>
> For me 32-bit binaires were always faster.
True again, esp. since even the 486 runs 32-bit code faster. In simple benchmarks, Blair's 16-bit C MD5SUM is lots slower than DOS386's FreeBASIC MD5 tool.
But I actually meant the compiler itself is fast ("turbo").
> > + 16-bit code (which GCC still lacks)
> > + runs on 16-bit cpus
> > + all models: tiny through huge
> > - 186/286 optimizations at most (useless for 99% of the world)
>
> Not a requirement. Don't have anything in use below XP2000+
Well, just saying, GCC doesn't properly support 16-bit code yet (although GAS mostly does, from what I've read). Rask was/is? working on something, and even DJ himself hacked 2.7.2.3 "back in the day" to semi-working 16-bit status. So you have to use something other than GCC.
It's been said that 16-bit is only needed for boot loaders, but obviously some OSes (DOS, ELKS) still use it too. Personally, I think "anything that works" is fine, but some people are offended by 16-bits (although mostly due to segments and their quirks, I think).
> > + supports ANSI C and C++ AT&T 2.0
>
> I'm not a C programmer.
Neither am I really. Note that I also don't know any Pascal, but I wouldn't mind learning some eventually. (IOW, I'm not a purist.)
> > + nice IDE
> > + nice help / function reference
>
> I use FPC's IDE. Works fine. Am improving the help, but it is huge.
I don't actually use TC's IDE much except on rare occasion to look up some function. I like TDE.
> > Cons:
> > - no sources
>
> Less important if it works right. But for runtime parts sources are a non
> negotiable requirement.
Well, if this were a deal breaker, I'd switch exclusively to OpenWatcom. But it's not.
> > - DOS only (no cross compiling supported)
>
> Useless
Less useless with DOSBox, DOSEMU + FreeDOS, 32-bit Windows, etc.
> > - no newer C++ features (generics, templates, etc.)
>
> Those would be the only reason to use C++ in the first place.
Not really. Some (few) people still use C++ as a glorified "C with classes". A C++ subset is realistically better than nothing.
> > Besides, there even a DOS extender that works with it
> >
> (Swallow
>
> Pmode works with FPC too. Likewise untested in recent years.
Too busy porting to Nintendo DS?
Complete thread:
- Compatibility woes / deprecation - Rugxulo, 13.02.2009, 23:38 (Miscellaneous)
- Compatibility woes / deprecation ubiquitous - Rugxulo, 13.02.2009, 23:51
- Compatibility woes / deprecation ubiquitous - rr, 14.02.2009, 18:54
- Compatibility woes / deprecation - marcov, 14.02.2009, 14:02
- Compatibility woes / deprecation - marcov, 14.02.2009, 14:03
- Compatibility woes / deprecation - Rugxulo, 14.02.2009, 23:07
- Compatibility woes / deprecation - Rugxulo, 14.02.2009, 23:08
- Compatibility woes / deprecation - Rugxulo, 14.02.2009, 23:09
- Compatibility woes / deprecation - marcov, 15.02.2009, 13:55
- Compatibility woes / deprecation - Rugxulo, 15.02.2009, 20:55
- Compatibility woes / deprecation - marcov, 18.02.2009, 12:17
- Compatibility woes / deprecation - Rugxulo, 18.02.2009, 21:26
- Compatibility woes / deprecation - ecm, 18.02.2009, 22:21
- Compatibility woes / deprecation - Rugxulo, 19.02.2009, 01:08
- Compatibility woes / deprecation - marcov, 18.02.2009, 23:08
- Compatibility woes / deprecation - Rugxulo, 19.02.2009, 02:19
- Compatibility woes / deprecation - Japheth, 19.02.2009, 08:10
- Compatibility woes / deprecation - Rugxulo, 19.02.2009, 08:57
- Compatibility woes / deprecation - Japheth, 23.02.2009, 10:12
- Compatibility woes / deprecation - Rugxulo, 19.02.2009, 08:57
- Compatibility woes / deprecation - marcov, 19.02.2009, 10:47
- Compatibility woes / deprecation - Rugxulo, 20.02.2009, 00:24
- Compatibility woes / deprecation - marcov, 22.02.2009, 22:11
- Compatibility woes / deprecation - Rugxulo, 23.02.2009, 02:24
- Compatibility woes / deprecation TURBO stuff - DOS386, 24.02.2009, 05:17
- FPC: 7-Zip or UPX ; TC++ pros and cons - Rugxulo, 24.02.2009, 07:06
- 186 or 286 - ecm, 24.02.2009, 10:46
- 186 or 286 - marcov, 24.02.2009, 11:11
- FPC: 7-Zip or UPX ; TC++ pros and cons bloated WATCOM - DOS386, 25.02.2009, 03:18
- FPC: 7-Zip or UPX ; TC++ pros and cons bloated WATCOM - Rugxulo, 25.02.2009, 09:29
- FPC: 7-Zip or UPX ; TC++ pros and cons bloated WATCOM - marcov, 25.02.2009, 12:58
- 186 or 286 - ecm, 24.02.2009, 10:46
- FPC: 7-Zip or UPX ; TC++ pros and cons - Rugxulo, 24.02.2009, 07:06
- Compatibility woes / deprecation - marcov, 24.02.2009, 11:32
- MS-DOS partition limits - ecm, 24.02.2009, 11:56
- MS-DOS partition limits - marcov, 24.02.2009, 18:38
- MS-DOS partition limits - Rugxulo, 24.02.2009, 19:29
- MS-DOS partition limits - ecm, 24.02.2009, 22:41
- MS-DOS partition limits - marcov, 24.02.2009, 18:38
- Compatibility woes / deprecation - Rugxulo, 24.02.2009, 19:46
- MS-DOS partition limits - ecm, 24.02.2009, 11:56
- Compatibility woes / deprecation TURBO stuff - DOS386, 24.02.2009, 05:17
- Compatibility woes / deprecation - Rugxulo, 23.02.2009, 02:24
- Compatibility woes / deprecation - marcov, 22.02.2009, 22:11
- Compatibility woes / deprecation of UPX - DOS386, 20.02.2009, 06:08
- Compatibility woes / deprecation of UPX - marcov, 22.02.2009, 22:12
- Compatibility woes / deprecation of UPX - DOS386, 24.02.2009, 05:07
- Compatibility woes / deprecation of UPX - marcov, 24.02.2009, 10:40
- Compatibility woes / deprecation of UPX - DOS386, 24.02.2009, 05:07
- Compatibility woes / deprecation of UPX - marcov, 22.02.2009, 22:12
- Compatibility woes / deprecation - Rugxulo, 20.02.2009, 00:24
- Compatibility woes / deprecation - Japheth, 19.02.2009, 08:10
- Compatibility woes / deprecation - Rugxulo, 19.02.2009, 02:19
- Compatibility woes / deprecation - ecm, 18.02.2009, 22:21
- Compatibility woes / deprecation - Rugxulo, 18.02.2009, 21:26
- Compatibility woes / deprecation - marcov, 18.02.2009, 12:17
- Compatibility woes / deprecation - Rugxulo, 15.02.2009, 20:55
- Compatibility woes / deprecation - marcov, 15.02.2009, 13:55
- Compatibility woes / deprecation - marcov, 15.02.2009, 13:01
- Compatibility woes / deprecation - Rugxulo, 15.02.2009, 20:36
- Compatibility woes / deprecation - rr, 15.02.2009, 20:47
- Compatibility woes / deprecation - marcov, 16.02.2009, 12:39
- Compatibility woes / deprecation - Rugxulo, 15.02.2009, 20:36
- Compatibility woes / deprecation - Rugxulo, 14.02.2009, 23:09
- Compatibility woes / deprecation - marcov, 15.02.2009, 12:44
- Compatibility woes / deprecation - Rugxulo, 15.02.2009, 20:26
- Compatibility woes / deprecation - rr, 15.02.2009, 20:36
- Compatibility woes / deprecation - marcov, 16.02.2009, 12:37
- Compatibility woes / deprecation - marcov, 16.02.2009, 12:32
- Compatibility woes / deprecation - Rugxulo, 17.02.2009, 01:29
- Compatibility woes / deprecation - ecm, 17.02.2009, 12:25
- Compatibility woes / deprecation - Rugxulo, 18.02.2009, 00:56
- Compatibility woes / deprecation - marcov, 18.02.2009, 11:12
- Compatibility woes / deprecation - Japheth, 18.02.2009, 12:27
- Compatibility woes / deprecation - marcov, 18.02.2009, 13:12
- Compatibility woes / deprecation - Rugxulo, 18.02.2009, 21:36
- Compatibility woes / deprecation - marcov, 18.02.2009, 22:32
- Compatibility woes / deprecation - Rugxulo, 18.02.2009, 21:36
- Compatibility woes / deprecation - marcov, 18.02.2009, 13:12
- Compatibility woes / deprecation - Rugxulo, 18.02.2009, 20:57
- Compatibility woes / deprecation - Japheth, 18.02.2009, 12:27
- Compatibility woes / deprecation - ecm, 17.02.2009, 12:25
- Compatibility woes / deprecation - Rugxulo, 17.02.2009, 01:29
- Compatibility woes / deprecation - Matjaz, 16.02.2009, 17:12
- Compatibility woes / deprecation - rr, 15.02.2009, 20:36
- Compatibility woes / deprecation - Rugxulo, 15.02.2009, 20:26
- Compatibility woes / deprecation - Rugxulo, 14.02.2009, 23:08
- Compatibility woes / deprecation - mr, 14.02.2009, 14:03
- Compatibility woes / deprecation - RayeR, 16.02.2009, 13:52
- Compatibility woes / deprecation - rr, 20.02.2009, 22:06
- Compatibility woes / deprecation - Zyzzle, 21.02.2009, 02:04
- Compatibility woes / deprecation - Rugxulo, 21.02.2009, 04:21
- Compatibility woes / deprecation ubiquitous - Rugxulo, 13.02.2009, 23:51