Unofficial Hacker News companion — get notified on comment replies, and more.

Borland's DOS compilers, rebuilt from their own binaries (opens external site)

260 points by frostbyte7 2 days ago | github.com | 95 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. Emulators: turns out that the IBM z-architecture is difficult to emulate, all emulators I've tried (zpd&t and other free and commercial ones) have bugs; i.e. "z" has a instructions not available in arm64/amd64 land (i.e. "Load floating-point integer equivalent, rounded" (FIEBRA)); for comparison "z" has 1000-1300 instructions while amd64 has a few hundreds; those therefore need to be rewritten in software, and those implementations sometimes have bugs (I've found many*).

    This is the tip of the iceberg, there are other bugs in the handling of network interfaces, dasds etc. They also have limitations which real hardware do not have. I recommend emulators (free and commercial) for developing, but I'd say, unless you are a hobbyist, stay away from those to run production software; it will work until it breaks.

    (*) Some are not fixed to this day, and I've lost hope that they ever will be.