-
Notifications
You must be signed in to change notification settings - Fork 1
Compile 'n' run
decltype(auto) edited this page Apr 3, 2020
·
4 revisions
A source ISO/IEC 14882:2017 compliant file can be programmatically compiled into a shared library and its symbols then executed.
Functional requirements:
- The system shall support any ISO C++17 compliant source that all of GNU GCC >= 8, Clang/LLVM >= 8, and MSVC >= 16.24 compile
- The system shall cancel further processing of the source upon compilation error
- The system shall never invoke undefined behavior if a user-provided function is looped through in system code
- The system shall not attempt to run a shared library with undefined symbols that cannot be immediately resolved.
Non-functional requirements:
- Any latency induced by running this feature should not be significantly perceptible by the user
- The API for this feature should be straightforward
ItJustWorks™