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

add c3 #531

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add c3 #531

wants to merge 1 commit into from

Conversation

hwchen
Copy link
Contributor

@hwchen hwchen commented Feb 12, 2025

Add c3 language.

https://github.com/c3lang/c3c
https://c3-lang.org/

Followed the zig implementation.

@hwchen
Copy link
Contributor Author

hwchen commented Feb 12, 2025

On my 10-year-old laptop:

Running c3
Program linked to executable 'related'.
c3:

        Processing time (w/o IO): 19ms
        total: 0.07s memory: 26344k
        Processing time (w/o IO): 19ms
        total: 0.07s memory: 26420k
        Processing time (w/o IO): 20ms
        total: 0.07s memory: 26356k
        Processing time (w/o IO): 20ms
        total: 0.07s memory: 26340k
        Processing time (w/o IO): 20ms
        total: 0.07s memory: 26280k
        Processing time (w/o IO): 19ms
        total: 0.07s memory: 26292k
        Processing time (w/o IO): 19ms
        total: 0.08s memory: 26408k
        Processing time (w/o IO): 20ms
        total: 0.08s memory: 26288k
        Processing time (w/o IO): 19ms
        total: 0.07s memory: 26276k
        Processing time (w/o IO): 19ms
        total: 0.07s memory: 26272k
Checking output
Success: related_posts_c3.json is valid!

Docker is untested. I just noticed there's separate Dockerfiles now, I'd be willing to test with that, should I make one?

@hwchen hwchen force-pushed the hwchen/add-c3 branch 2 times, most recently from 1d65b58 to 6209883 Compare February 14, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant