Search code examples
How do I pass a non-mutable reference from Rust to a C-API that doesn't use const (even though i...

crustffiunsafeconst-correctness

Read More
Can I free memory from Vec::into_boxed_slice using Box::from_raw?...

rustunsafe

Read More
Zero cost builder pattern for recursive data structure using transmute. Is this safe? Is there a bet...

rustbuilderunsaferecursive-datastructures

Read More
How to create an array of more than 32 elements of a generic type T: Default?...

arraysrustunsafe

Read More
How to make multiple mutable references to the same element in an array using unsafe code?...

rustparallel-processingunsafeunsafemutablepointer

Read More
How can I assign to an uninitialised vector without dropping the previous value?...

vectorrustbufferunsaferaw

Read More
C# Convert object to unsafe void*...

c#unsafe

Read More
Rust: Safe single-threaded TCP Server...

rusttcplistenerunsafesingle-threaded

Read More
What is difference between "[self] in" & "[weak self] in" in Swift?...

iosswiftclosuresunsafeweak

Read More
Unsafe Create string directly from Array...

c#unsafe

Read More
Is there a safe way to temporarily retrieve an owned value from a mutable reference in Rust?...

rustunsafeownership

Read More
Polymorphic update on struct fields in Rust...

rustundefined-behaviorunsafe

Read More
How can I display a pointer address in C#?...

c#pointersunsafe

Read More
How to convert a 4 element &[u8] into i32?...

rustunsafe

Read More
What is the difference between unsafeDupablePerformIO and accursedUnutterablePerformIO?...

haskelliounsafeunsafe-perform-io

Read More
Is it safe to cast `struct` to a slice in rust?...

rustunsafememory-layout

Read More
How to implement a Future or Stream that polls an async fn?...

asynchronousrustasync-awaitfutureunsafe

Read More
Can safety be guaranteed when storing 2 copies of a raw pointer created with Box::into_raw() in rust...

rustunsafe

Read More
Consume Vector inside closure without cloning...

rustclosureslifetimeunsafe

Read More
Rust: Modifying the referent of a reference with a function; does this contain UB?...

rustreferenceundefined-behaviorunsafe

Read More
Why does the raw parts not correspond to either endianness?...

memoryrustendiannessunsafe

Read More
Ergonomics issues with fixed size byte arrays in Rust...

rustunsafe

Read More
Main.java uses unchecked or unsafe operations ArrayList<Product> cartItems = myCart.getItemsLi...

javaarraylistunsafeunchecked

Read More
Getting a string from an unsafe byte pointer to a fixed char array...

c#.netstringpinvokeunsafe

Read More
Bitmap Scan0, Stride off...

c#bitmapunsafe

Read More
Mapping a struct to an underlying buffer...

rustmutableunsafe

Read More
Is Rust's memmap safe to use if you're just treating the data as bytes?...

rustmmapunsafe

Read More
C#: Using pointer types as fields?...

c#pointersunsafe

Read More
Can you limit the CPU usage on a .NET Process Object?...

c#.netwinapiunsafe

Read More
Multiple Pointers in Fixed(){} initialized with "new" does not work...

c#.netunsafefixed-statement

Read More
BackNext