Rust (limbaj de programare)

Rust

Rust logo
Extensii fișiere.rs, .rlib
ParadigmăMulti-paradigm, calcul simultan, funcțional, generic, imperativă, structurată
Apărut îniulie 7, 2010 (2010-07-07)
Proiectat deGraydon Hoare
DezvoltatorMozilla
Ultima versiune1.84.1[1]  Modificați la Wikidata
Tipareinference typing[*][[inference typing (automatic detection of the data type of an expression in a programming language)|​]]
nominative typing[*][[nominative typing (major class of type system, in which compatibility and equivalence of data types is determined by explicit declarations and/or the name of the types)|​]]
static typing[*][[static typing (type system paradigm where all type checking is done at compile time)|​]]
strong typing[*][[strong typing (specificity of a programming language's syntax when manipulating types of data)|​]]
linear typing[*][[linear typing (type discipline where every variable is used exactly once)|​]]
Hindley–Milner[*][[Hindley–Milner (type system supporting type inference)|​]]  Modificați la Wikidata
Influențat deAlef,[2] C#,[2] C++,[2] Cyclone,[2][3] Erlang,[2] Haskell,[2] Limbo,[2] Newsqueak,[2] OCaml,[2] Ruby,[2] Scheme,[2] Standard ML,[2] Swift[2][4]
InfluențeCrystal, Elm,[5] Idris,[6] Spark,[7] Swift,[8] Project Verona[9]
PlatformăARM, IA-32, x86-64, MIPS, PowerPC, SPARC, RISC-V[10][11]
Sistem de operareLinux, macOS, Windows, FreeBSD, OpenBSD,[12] Redox, Android, iOS[13]
LicențăMIT or Apache 2.0[14]
Tip MIMEtext/x-rust[15]
text/rust[16][15]  Modificați la Wikidata
Prezență onlinewww.rust-lang.org

Rust este un limbaj de programare[17] axat pe siguranță, în special concurența sigură.[18][19] Rust este similar sintactic cu C++,[20] dar este conceput pentru a oferi o mai bună siguranță a memoriei, menținând în același timp performanțe ridicate.

Rust a fost proiectat inițial de Graydon Hoare la Mozilla Research, cu contribuții de la Dave Herman, Brendan Eich și alții.[21][22] Designerii au perfecționat limbajul în timp ce scriau macheta Servo sau motorul browserului,[23] și compilatorul Rust. Compilatorul este un software gratuit și open-source cu licență dublă sub Licența MIT și Licența Apache 2.0.

Rust a fost „cel mai îndrăgit limbaj de programare” de la Stack Overflow Developer Survey în fiecare an începând cu 2016.[24][25][26][27]

  1. ^ Announcing Rust 1.84.1 | Rust Blog (în engleză), , accesat în  
  2. ^ a b c d e f g h i j k l m „The Rust Reference: Appendix: Influences”. Accesat în . Rust is not a particularly original language, with design elements coming from a wide range of sources. Some of these are listed below (including elements that have since been removed): SML, OCaml [...] C++ [...] ML Kit, Cyclone [...] Haskell [...] Newsqueak, Alef, Limbo [...] Erlang [...] Ruby [...] Swift [...] Scheme [...] C# [...] 
  3. ^ „Note Research: Type System”. . Accesat în . Papers that have had more or less influence on Rust, or which one might want to consult for inspiration or to understand Rust's background. [...] Region based memory management in Cyclone [...] Safe memory management in Cyclone 
  4. ^ „RFC for 'if let' expression”. Accesat în . 
  5. ^ „Command Optimizations?”. . Accesat în . I just added the outline of a Result library that lets you use richer error messages. It's like Either except the names are more helpful. The names are inspired by Rust's Result library. 
  6. ^ „Idris – Uniqueness Types”. Accesat în . 
  7. ^ Jaloyan, Georges-Axel (). „Safe Pointers in SPARK 2014”. Accesat în . 
  8. ^ Lattner, Chris. „Chris Lattner's Homepage”. Nondot.org. Accesat în . 
  9. ^ „Microsoft opens up Rust-inspired Project Verona programming language on GitHub”. Accesat în . Microsoft recently created a stir after revealing it was taking some ideas from the popular Rust programming language to create a new language for 'safe infrastructure programming' under the banner Project Verona. 
  10. ^ „Rust Platform Support”. Rust Forge. Accesat în . 
  11. ^ „Frequently Asked Questions”. Rust Embedded. Accesat în . 
  12. ^ „OpenBSD ports”. Accesat în . 
  13. ^ „Building and Deploying a Rust library on iOS”. . Accesat în . 
  14. ^ a b Available lexers — Pygments (în engleză), accesat în  
  15. ^ https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/f75cbe0d37c990580dbb6f0694b53bc0c914d933, accesat în   Lipsește sau este vid: |title= (ajutor)
  16. ^ „Rust is a systems programming language”. Rust-lang.org. Accesat în . 
  17. ^ Hoare, Graydon (). „Rust is mostly safety”. Graydon2. Dreamwidth Studios. Accesat în . 
  18. ^ „FAQ – The Rust Project”. Rust-lang.org. Arhivat din original la . Accesat în . 
  19. ^ „Rust vs. C++ Comparison”. Accesat în . Rust is syntactically similar to C++, but it provides increased speed and better memory safety 
  20. ^ Noel (). „The Rust Language”. Lambda the Ultimate. Accesat în . 
  21. ^ „Contributors to rust-lang/rust”. GitHub. Accesat în . 
  22. ^ Bright, Peter (). „Samsung teams up with Mozilla to build browser engine for multicore machines”. Ars Technica. Accesat în . 
  23. ^ „Stack Overflow Developer Survey 2016 Results”. Stack Overflow. Accesat în . 
  24. ^ „Stack Overflow Developer Survey 2017”. Stack Overflow. Accesat în . 
  25. ^ „Stack Overflow Developer Survey 2018”. Stack Overflow. Arhivat din original la . Accesat în . 
  26. ^ „Stack Overflow Developer Survey 2019”. Stack Overflow. Accesat în . 

Rust (limbaj de programare)

Dodaje.pl - Ogłoszenia lokalne