sunfishcode / c-ward

An implementation of libc written in Rust
Other
187 stars 11 forks source link

Make a list of all implemented libc functions? #98

Open yerke opened 8 months ago

yerke commented 8 months ago

Hello @sunfishcode.

Thanks for working on this project!

Is it possible to add a list of all implemented and unimplemented libc functions? I think it will make it easier for people to see if c-scape supports the ones that they need. It should also allow to easily calculate the percentage and maybe graph it over time.

It's just a suggestion. Thanks.

sunfishcode commented 8 months ago

Here's a rough list of the 841 libc functions Eyra currently implements: https://gist.github.com/sunfishcode/f4a94eecd24bf7e5a6facd1cd97b8d5b. That said, not everything in that list fully works.

I'm really not focused on "percent complete". I think there are thousands of libc functions not implemented yet, which may never be :shrug:. I just implement functions when I find a need for them.

In my experience with recent versions of Eyra:

yerke commented 8 months ago

Wow, that's a lot. I counted 1731 libc functions from https://www.gnu.org/software/libc/manual/html_node/Function-Index.html. Not sure if this the correct resource to use for that purpose or not. Here is the list after slight massaging: https://gist.github.com/yerke/0761770172b2a3cc97a1c942c573a96e