Questions tagged [differential-execution]

What is differential execution and what is it good for?

Differential execution is a way of executing a procedure repeatedly in which it does simultaneous serialization and deserialization. This enables it to know at every step how it's current execution differs from the prior execution. This enables it to automatically detect and respond to changes, for example changes in program state variables.

One use for this is to dynamically maintain complex interactive UI dialogs, in which it results in a source code savings of roughly an order of magnitude, and functions with provable correctness.

Here's a sourceforge project, Dynamic Dialogs with a complete implementation in Visual C++ with MFC.

4 questions
86
votes
4 answers

How does differential execution work?

I've seen a few mentions of this on Stack Overflow, but staring at Wikipedia (the relevant page has since been deleted) and at an MFC dynamic dialog demo did nothing to enlighten me. Can someone please explain this? Learning a fundamentally…
Brian
  • 25,523
  • 18
  • 82
  • 173
24
votes
2 answers

What is differential execution?

I stumbled upon a Stack Overflow question, How does differential execution work?, which has a VERY long and detailed answer. All of it made sense... but when I was done I still had no idea what the heck differential execution actually is. What is it…
Derek Adair
  • 21,846
  • 31
  • 97
  • 134
3
votes
1 answer

Is it possible to perform differential linking?

I have a binary which is linked using a large number of object files with many interdependencies. Whenever I recompile even one of these, I need to link the entire binary. Do linkers (specifically, those of GCC or Clang) support some method of…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

reflecting record deletions / additions between two datasets

I currently have a table of 3m records that needs updating nightly. The data that populates this table comes from ~100 APIs that all get normalised into one jumbo table. Problem: How to reflect new records being added, and records being deleted at…
jimi
  • 45
  • 4