Rust part27 (398レス)
前次1-
抽出解除 レス栞

147: 2024/12/28(土)17:09:23.73 ID:IXmLUnxX(1) AAS
こういうアホが湧いてきたときがピークだな
215: 01/26(日)00:33:00.73 ID:pBUmpNYA(1/3) AAS
System Native Stringは直接取り扱わず、OsStringでラップして扱うのが原則なら
ゼロコスト抽象化の観点から言えば右の変換コストをゼロにするべきでは?
左の変換は必ず行うとは限らないのだから
283: 02/12(水)22:57:39.73 ID:f3u+GZc6(1) AAS
Pointers (this includes values of reference type) in Rust have two components.
- The pointer's "address" says where in memory the pointer is currently pointing.
- The pointer's "provenance" says where and when the pointer is allowed to access memory.
We have to know not only the address the pointer points to,
but also track which other pointer(s) it is "derived from".
Provenance is useful because it allows powerful optimizations.
Provenance can affect whether a program has undefined behavior.
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 1.783s*