Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled standard library #1082

Open
Wiguwbe opened this issue Nov 22, 2023 · 1 comment
Open

Compiled standard library #1082

Wiguwbe opened this issue Nov 22, 2023 · 1 comment
Assignees
Labels
Enhancement Request New feature or request Revisit later Revisit this issue at a later point

Comments

@Wiguwbe
Copy link
Contributor

Wiguwbe commented Nov 22, 2023

Hey there,

Would it make sense (or be possible even) to have the c3's standard library being compiled into either an .so (dynamic library) or a bunch of .a (static library/archives)?

The lib definitions would be just the .c3i files/interface.

Of course that the templates wouldn't be compiled, but I don't know how templating works internally.

@lerno
Copy link
Collaborator

lerno commented Nov 22, 2023

It is possible. I've toyed with the idea several times, but there are some things that need to be ironed out before that. For example, usually you can extend anything. Without the source code that is somewhat limited, so some care must be taken to make it work. Also, the .c3i files should be generated automatically.

@lerno lerno self-assigned this Nov 27, 2023
@lerno lerno added Enhancement Request New feature or request Revisit later Revisit this issue at a later point labels Nov 27, 2023
@lerno lerno added this to the First release (v1.0) milestone Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request New feature or request Revisit later Revisit this issue at a later point
Projects
None yet
Development

No branches or pull requests

2 participants