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 20 June 2026 by DoubleGrazing (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
|
| Sidef | |
|---|---|
| Paradigm | Multi-paradigm: object-oriented, functional, procedural |
| Designed by | Daniel Șuteu and Ioana Făculșan |
| Developer | Daniel Șuteu and others |
| First appeared | 2013 |
| Stable release | 26.06
/ June 2026 |
| Typing discipline | Dynamic, optional static |
| Implementation language | Perl, Ruby |
| OS | Cross-platform |
| License | Artistic 2.0 |
| Filename extensions | .sf .sm |
| Website | GitHub – trizen/sidef |
| Influenced by | |
| Ruby, Raku, Go, Julia | |
Sidef is a high-level, general-purpose, interpreted programming language that combines the expressiveness of Ruby, the versatility of Raku (formerly Perl 6), and a strong built-in computer algebra system for mathematical and number theoretic computing.[1] Designed by Daniel Șuteu and Ioana Fălcușan, it first appeared in 2013 and is implemented in Perl and Ruby, allowing it to run on any platform that supports Perl 5.18 or later.[1][2]
The name "Sidef" is a Romanian word, pronounced "C-def", meaning "nacre" in English.
Sidef was created by Daniel Șuteu and Ioana Fălcușan and was first released in 2013.[1] Its development is actively maintained on GitHub and the interpreter is distributed as a Perl module on the Comprehensive Perl Archive Network (CPAN).[2]
The language draws heavy inspiration from several established languages: its syntax and object-oriented features are influenced by Ruby; its design for expressiveness and flexibility borrows from Raku; and it incorporates ideas from Go and Julia.[1] The project has maintained a continuous, long-term release cycle, culminating in major updates such as version 26.06 in June 2026.
Sidef is a multi-paradigm language designed for versatile applications, supporting:[1]
A notable characteristic of Sidef is its high degree of syntax flexibility, which makes the language highly adaptable for constructing domain-specific languages (DSLs).[2] The language implements an approach to operator precedence by evaluating operations based on whitespace spacing rather than conventional fixed precedence rules.[2] For instance, mathematical expressions constructed without spaces are processed strictly right-to-left, whereas heavily spaced operators flip the evaluation to a left-to-right priority.[2]
Sidef is distinguished by its extensive built-in support for high precision mathematics:
1/3 + 1/6 evaluates to 1/2).[2]-H flag).[1]Sidef's syntax is designed to be clean, actively avoiding mandatory semicolons, and feeling familiar to users of Ruby and Perl.[2] Source files use the .sf extension.
A "Hello, World!" program:
say "Hello, World!"
Variables are declared with the var keyword:[2]
var x = 42
var name = "Sidef"
Functions are defined with func:
func factorial(n) { n < 2 ? 1 : (n * factorial(n-1)) }
The language includes native, fluid methods for complex mathematical tasks:
say 29.primes #=> [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]
say factor(2**64 - 1) #=> [3, 5, 17, 257, 641, 65537, 6700417]
Sidef is implemented in Perl (with aspects bridging into Ruby) and distributed as a CPAN module.[1] The interpreter works by parsing Sidef source code into an abstract syntax tree (AST), which is then optimized (including constant folding) before being compiled to Perl code and executed.
The standard distribution includes:
The implementation relies heavily on underlying C libraries—specifically GMP, MPFR, and MPC—bridged via Perl modules to ensure fast execution speeds for big-integer and arbitrary-precision floating-point arithmetic.
Sidef has a well-established presence on GitHub, where its source code repository is hosted and development issues are tracked.[1] Comprehensive documentation is actively maintained via GitBook alongside a detailed Beginner's Guide.
The language is widely represented on Rosetta Code, demonstrating concise solutions across thousands of programming tasks, and can be evaluated instantly online via platforms like Try It Online (TIO).[1]
Sidef is packaged for several mainstream Linux distributions, accessible natively in Slackware and via the AUR for Arch Linux users.[1]
Sidef is free software released under the terms of the Artistic License 2.0, permitting open modification, commercial use, and redistribution.[1]
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.