-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.libcIssues related to libzigc and Zig's vendored libc code.Issues related to libzigc and Zig's vendored libc code.
Milestone
Description
Some libc functions can obviously share a common implementation. For example, right now, musl, mingw, the zig standard library all have independent implementations of the math functions, such as sqrt
.
Instead, the canonical implementation should be in Zig, and even when providing musl or mingw libcs, the zig code should be built and used to fulfill those dependencies.
Other examples of functions would be memcpy
and strcmp
.
Functions that would be tricky to have common implementations would be, e.g. fopen
. But that's worth investigating as well.
Mouvedia, LewisGaul, yaymalaga, fogti, luehmann and 21 moremaxmilton
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.libcIssues related to libzigc and Zig's vendored libc code.Issues related to libzigc and Zig's vendored libc code.