Compile with Fil-C #422
mSparks43
started this conversation in
1 New Ideas
Replies: 2 comments
-
|
Thank you for sharing this idea! This xlibre-filc ($4871725) · Snippets · GitLab might be interesting in this context. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
some other relevant discussion (links your snippet) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the idea
During a recent discussion over apt switching to rust, fil-c came up
https://github.com/pizlonator/fil-c
Looking into it, it might offer significant benefits without requiring much changes to the code base?
It should be done because
Fil-C catches all of the stuff that makes memory safety in C hard, like:
Fil-C comes with a reasonably complete POSIX libc and even supports tricky features like threads, signal handling, mmap/munmap, longjmp/setjmp, and C++ exceptions.
What are the alternatives?
Switch to rust, stay as is.
Additional context
Not affiliated, dont even have experience with it, but on paper it looked like a useful discussion
Extra fields
Beta Was this translation helpful? Give feedback.
All reactions