Rust curl Clone Uses "Unsafe" 4,832 Times
@LundukeJournal40K followers
27,858 views
10 Comments
Comments from the original post on X (Twitter)

@e_womer
How long is it before its just fn unsafe run() { // The Entire Application Code Here } fn main() -> Result<(), &'static str> { run(); }
8 likes

@huanfuco
rust *vibe-coded* curl clone
3 likes

@greatamctourist
Unsafe context is specific for interop with other systems that require manual memory management. Rust is memory safe, but if you write the whole program in unsafe context, then of course it's not. That curl port sounds like a straight port without proper idomatic Rust.
2 likes

@towianisci
lol, what was the point of even using rust? Good job cultive rust enthusiast you solved nothing but hey it's written in Rust.
1 like

@oaedoel
430k LOC?!?!?! WTF. The original curl is only 20k or so. What is the Rust clone doing, such verbosity is not going to help ensure correctness.
1 like

@DsmntlDemocracy
They should have at least named in "rurl."
1 like

@wathapnd
yeah memory safe code doesn't crash. that's why it's rust™.

@radjiman2k16
Eww

@WorldShiner
The `unsafe` keyword was present back in 2000s. C# had it. We all knew it wouldn't bring safety. When a frontend VM language overreached for bare metal, it was obviously on the route to be an unsafe-spammer.

@thetankaddict
its so that companies steal code under MIT.
