I am working on a project that allows users to describe financial model using DSL, which is interpreted. I am looking for a way to speed up the model speed. I am thinking about translating the model to “c”, and compiling it on the fly using tcc. Few questions:
1. Is it possible to use tcc to create shared libraries (.so) that can be dynamically linked into existing program using dlopen, dlsym ? 2. Does tcc support the ‘cleanup’ variable attribute - to run cleanup function when variable get out of scope (gif extension). 3. Is it possible to use tcc to introspect variables - make it possible to print current variables (subset) from the simulation at specific point ? This is needed to debug the model. Thanks, yair Sent from my iPad _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
