You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed arti
Submission declined on 30 June 2026 by Stuartyeates (talk).
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
|
| Zen C | |
|---|---|
| Paradigm | Multi-paradigm: Imperative, data-oriented, procedural |
| Family | C |
| Designed by | Zuhaitz Méndez Fernández de Aránguiz[1] |
| First appeared | January 2026 |
| Stable release | v0.4.4
/ March 21, 2026[2] |
| Typing discipline | Static, strong, inferred |
| OS | Windows, macOS, Linux, FreeBSD |
| License | MIT License |
| Filename extensions | .zc |
| Website | www |
| Influenced by | |
| C, Rust, Zig | |
Zen C is a modern general-purpose, statically typed, compiled systems programming that compiles to human-readable GNU C/C11 code.[3][4] It was created by Zuhaitz Méndez Fernández de Aránguiz, who is from Spain. Zen C has advanced features like type inference, pattern matching, generics, traits, and async/await (with 100% C ABI compatibility).[4][5] It emphasizes: systems programming, manual memory management with RAII-like mechanisms (e.g. defer and autofree), and metaprogramming capabilities.[5]
Zen C was created by the desire to have access to the C ecosystem, but with high-level language ergonomics and keeping C level raw performance. More expressive code can be written, that compiles to efficient human-readable C, allowing full integration with existing C tools and libraries. Modern features, without losing the desired control and compatibility that many developers want.[6][5][3]
Zen C uses manual memory management, combined with certain features to prevent leaks. There is no use of a garbage collector.[5][6]
autofree automatically frees a variable upon scope exit.defer is used for cleanup code, when the current scope exits.Drop trait.let d = fopen("doc.txt", "r");
defer fclose(d);
Zen C can create custom structures and methods.[5][6]
traitimpluse keyword, instead of traditional inheritance, which allows developers to mix in fields from other structs.struct Point {
x: int;
y: int;
}
impl Point {
fn new(x: int, y: int) -> Self {
return Point{x: x, y: y};
}
fn dist(self) -> float {
return sqrt(.x * .x + .y * .y);
}
}
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- provide significant coverage: discuss the subject in detail, not just brief mentions or routine announcements;
- are reliable: from reputable outlets with editorial oversight;
- are independent: not connected to the subject, such as interviews, press releases, the subject's own website, or sponsored content.
Please add references that meet all three of these criteria. If none exist, the subject is not yet suitable for Wikipedia.