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 (3)

  1. The fun thing with TP3 is that it's not optimizing at all. When reverse engineering a COM file created by it (pre-AI), I ended up writing an automated matching decompiler.
    Replies (1)
    1. I would be very interested in studying your work. I have manually decompiled several programs written in TP3 and TP7 using only a disassembler (ndisasm). In my opinion, these compilers are optimizing, but the optimizations are opportunistic.
      Replies (1)
      1. I'm pretty sure TP3 isn't optimizing, it also says so in the page you linked above.

        I dumped my decompiler source here: https://github.com/ashdnazg/obrut

        It's an unreadable mess, but if you find anything interesting/useful, do tell.