Dead code elimination

David Bovill david.bovill at gmail.com
Sat Mar 2 04:07:07 EST 2019


I’ve searched around but still nothing I can find regarding tree shaking /
dead code elimination in C++.

What I want to be able to do is not compile the whole engine, just the code
needed for the execution of the cgi. Is this possible? Is this on the road
map?

On Sun, 24 Feb 2019 at 18:38, David Bovill <david.bovill at gmail.com> wrote:

> I understand that Livecode uses the LLVM compiler infrastructure to create
> llvm bytecode that for instance emscripten can use to transpile to
> javascript. I'm wandering if it is possible to do things like:
>
>    - Export the server engine to llvm bytecode?
>    - Take a some livecode script, do some tree shaking and get some nice
>    compact bytecode export that uses only the bits needed by the livecode
>    script?
>
> Is any of this possible now, is it planned for or looks like it may be
> possible in the nearish future / next couple of years?
>



More information about the use-livecode mailing list