Skip to content

Translated Chapter 8 of the Rust tour in Romanian 馃嚪馃嚧 - #9

Open
AnneOnciulescu wants to merge 11 commits into
UPB-CS-OpenSourceUpstream:masterfrom
AnneOnciulescu:ro_chapter8
Open

Translated Chapter 8 of the Rust tour in Romanian 馃嚪馃嚧#9
AnneOnciulescu wants to merge 11 commits into
UPB-CS-OpenSourceUpstream:masterfrom
AnneOnciulescu:ro_chapter8

Conversation

@AnneOnciulescu

Copy link
Copy Markdown

No description provided.

Comment thread lessons/ro/chapter_8.yaml
Exist膬 dou膬 tipuri de pointeri bru葲i:


* `*const T` - Un pointer brut la date de tip T care nu trebuie s膬 se modifice niciodat膬.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nu trebuie sau nu pot sa se modifice?

Comment thread lessons/ro/chapter_8.yaml
Exist膬 dou膬 tipuri de pointeri bru葲i:


* `*const T` - Un pointer brut la date de tip T care nu trebuie s膬 se modifice niciodat膬.

@alexandruradovici alexandruradovici Jan 27, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trebuie scris clar ca este vorba de valoarea lui T care nu se poate modifica, pentru a nu se confunda cu let mut p: *const T unde p = &v1 si p = &v2 sunt valabile, dar unsafe { *p = v; } nu este permis.

Comment thread lessons/ro/chapter_8.yaml
Pointerii bru葲i pot fi converti葲i 卯n 葯i din numere (exemplu: `usize`).


Pointerii bru葲i pot accesa date cu cod *nesigur* (mai multe despre acest lucru mai t芒rziu).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explicat de ce, si anume ca adresa este de fapt un numar, insa referinta &T nu este doar un numar.

@alexandruradovici alexandruradovici changed the title Translated Chapter 8 of the Rust tour in Romanian Translated Chapter 8 of the Rust tour in Romanian 馃嚪馃嚧 Jan 27, 2023
@alexandruradovici

Copy link
Copy Markdown

@AnneOnciulescu any updates here?

Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
Comment thread lessons/ro/chapter_8.yaml Outdated
AnneOnciulescu and others added 9 commits January 14, 2024 23:07
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Co-authored-by: Gheta Andrei-Cristian <95760823+andreigheta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

4 participants