11 comments

  • noahbp 12 minutes ago
    This is going to be very helpful for any project to decompile binaries that were compiled with these compilers.

    I'm working on something similar though shot of a full decompilation for Microsoft Visual C++, to trace and report the knobs to tune in the internal register allocation algorithm (among other things) to make reversing and decompiling binaries that were compiled with MSVC a much easier task: https://github.com/NoahBPeterson/c2scope

  • abecedarius 10 minutes ago
    I'd love to run this for the nostalgia value, and I did buy the original software but left it behind long ago. Oh, well. ("You need the original Borland programs" -- very reasonably.)
  • codazoda 51 minutes ago
    I've been building a web based editor inspired by the Borland Turbo Pascal/Basic editors. It uses an optional GitHub token to save files directly to your repo. You can try it here:

    https://codazoda.github.io/blue

  • Waraqa 28 minutes ago
    To clarify, 'rebuilt' in the title means reverse-engineered and reconstructed by AI.
  • smallerfish 25 minutes ago
    Watch the use of the word "own" - it's an AI giveaway.
  • Tenrion618 14 minutes ago
    [dead]
  • humblefly 8 minutes ago
    Sincere question: why? Source like this is a notch better than raw decompiler output in the pre-AI era, but what's the expectation / use case?

        if((ES_B(_BX,MEMB_FLAGS)&3)==3) {
            _DI=ES_W(_BX,MEMB_VALUE);
            _ES=SYMBOL_POOL_SEG;ES_W(0,SYM_TYPE)=base;
            if(ES_W(_DI,SYM_FUNC_KIND)==2) {
                while(!TYPES_COMPATIBLE(TYPE_W(SYM_W(_DI,SYM_TYPE),TYPE_TARGET),TYPE_W(base,TYPE_TARGET),0)) _DI=SYM_W(_DI,SYM_NEXT_OVERLOAD);
            } else {
                while(!SAME_SIGNATURE(SYM_W(_DI,SYM_TYPE),base)) _DI=SYM_W(_DI,SYM_NEXT_OVERLOAD);
            }
            if(_DI==0) {_DI=_DI;goto next_param;}
    
    I grant you that it's a thing you can do with agents, and it's impressive that it works, but once the tokens are spent, what does anyone get out of it? I guess I wonder if AI projects are becoming a bit of a "social proof of money spent".
    • AshamedCaptain 0 minutes ago
      Is it even better than raw decompiler output? Frankly, I have been saying this forever but always criticized: getting C output that compiles has always been the easy part, getting stuff that is readable is actually where the problem is, and franky these "AI decompilers" are hardly an improvement so far.

      But people act as if "well we got something that compiles down to the same binary, this must be the actual C source!" Welp. It couldn't be more different than the original source. In fact, it's probably even distracting if your goal is to reconstruct the original source.

      Not to mention the licensing aspect of all of this. One should be wary of Watcom because of its terrible license, even though it is technically Open Source.If as a consequence Watcom is kind of a minefield, I don't even know how to start describing this. The trenches at Verdun?

    • ape4 1 minute ago
      Oh, that's basically assembler
  • squarefoot 38 minutes ago
    Since we live in the age of vibe recompilation, reverse engineering etc where everything seems possible, let me drop a wish for a "Turbo Zig" CLI IDE + compiler that covers most well known microcontrollers.
  • Skyfall106 26 minutes ago
    [dead]
  • supersimpleguy 19 minutes ago
    [dead]
  • infralog77 1 hour ago
    [dead]