SpiceQA
Questions
Tags
Users
Badges
unsafe
82 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
What is the safest way to fake a reference by temporarily pretending it's `'static`?
user_2408867
0
•
asked Jul 20, 2021
4
1
179
rust
unsafe
How to split a Vec into two without allocating memory?
user_5399734
0
•
asked Jun 29, 2021
4
2
1271
ownership
rust
unsafe
vector
memory-management
How do I get Rust to enforce a lifetime for a *mut in unsafe code?
user_188535
0
•
asked Jun 22, 2021
3
0
190
rust
unsafe
lifetime
Zero cost builder pattern for recursive data structure using transmute. Is this safe? Is there a better approach?
user_252723
0
•
asked May 28, 2021
2
1
157
recursive-datastructures
rust
unsafe
builder
How to create an array of more than 32 elements of a generic type T: Default?
user_14637
0
•
asked May 26, 2021
3
1
507
rust
unsafe
arrays
What is difference between "[self] in" & "[weak self] in" in Swift?
user_6449292
0
•
asked Apr 19, 2021
1
2
366
weak
unsafe
swift
closures
ios
Can you cast a memory address as a usize into a reference with a lifetime?
user_4585815
0
•
asked Mar 14, 2021
5
1
5080
rust
unsafe
Is there a safe way to temporarily retrieve an owned value from a mutable reference in Rust?
user_13362276
0
•
asked Mar 12, 2021
3
1
230
ownership
rust
unsafe
Polymorphic update on struct fields in Rust
user_8578679
0
•
asked Mar 3, 2021
3
1
118
rust
undefined-behavior
unsafe
How to convert a 4 element &[u8] into i32?
user_1575632
0
•
asked Feb 24, 2021
3
1
832
rust
unsafe
Prev
Prev
1
2
3
(current)
4
5
Next
Next
Hot Questions