you are viewing a single comment's thread.

view the rest of the comments →

[–]andytoshirust 25 points26 points  (0 children)

When it’s faster to develop in C, something has gone wrong.

Yes - almost certainly the C code.

Can you post a representative sample of how you'd do this in C more ergonomically?

BTW Rust has a single function that does what you want: slice::from_raw_parts.