You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is confusing that the Titan compiler generate a .so by default.
Suppose this use case: a user want a single titan module to be embedded to his C program. He have his own build system, so all he wants is to generate a .c from a .titan and his build system will manage the rest of the compilation.
We could have a separate program that have the current behavior and call titanc (titanc will only generate a .c). I believe this approach will make the code more modular.
The text was updated successfully, but these errors were encountered:
@mascarenhas I was talking with @hishamhm and @hugomg and we came to the conclusion that having an easier behavior for the average user might be better.
We still need a better internal separation of what is compilation versus what is build to implement the -c option.
I think it is confusing that the Titan compiler generate a
.so
by default.Suppose this use case: a user want a single titan module to be embedded to his C program. He have his own build system, so all he wants is to generate a
.c
from a.titan
and his build system will manage the rest of the compilation.We could have a separate program that have the current behavior and call
titanc
(titanc
will only generate a.c
). I believe this approach will make the code more modular.The text was updated successfully, but these errors were encountered: