Forgot your password?
typodupeerror

Comment Re:Wait! What? (Score 1) 79

If your code doesn't compile in Rust just wrap it with unsafe { }
Hacking around and doing it the wrong way is much easier than figuring out how to get a complicated data structure through the borrow checker and value** lifetimes.

** I think of Rust values as objects in the general sense.

Comment Re:Rust designed to mitigate limitations found in (Score 3, Interesting) 79

You can use non-standard extensions with C++ today to cover some of what Rust does, like -Wlifetime in C++ for something roughly equivalent to Rust's compile-time borrow checker. UBSan/ASan lets you enforce address and undefined behavior with runtime checks, it's useful and easy to use, but it has a big performance impact so you normally turn it off in production code.

Google Carbon seems promising, but it deviates enough from C++ that it feels like yet another language. But theoretically you will be able to have a project that has a mix of C++ and Carbon and it should Just Work(tm).

Ada / SPARK is an alternative to must of what Rust offers, it's a wildly different approach and not a 1:1 equivalent. But you can make reliable software and even do some formal verification and static analysis on it. It's easier to deal with violation messages from the Ada compiler than with Rust. But it's also a lot more work to put all the contracts and declarations in place (you need multiple files just to make a module, so it's a very different workflow compared to C/C++/Rust).

Comment Re:What I love about Rust. (Score 1) 79

Coming from Pascal where write/writeln is a special language construct that doesn't work like any other function/procedure, it's refreshing to see that Rust made printing a macro, and that you can roll your own easily. That every macro ends in ! makes a lot of sense in terms of transparency, but it was a confusing little doodad in the syntax to see on my first day.

Comment Re: Adversarial patterns FTW! (Score 1) 99

I pretty sure everyone hates my old fashioned classical liberalism with a touch of center left view on social democracy, welfare capitalism, mixed economy under a transparent and democratic governance. I'm usually the bad guy for saying that we should embrace and accept people who come from other cultures, but that also there is a dominate culture in this country so raising your children to speak English fluently is vital for their financial success.

My wishy-washy middle of the road politics upsets everyone. But most of those people deserve to be upset all the time.

Comment Re: Adversarial patterns FTW! (Score 1) 99

That's why I don't advertise my politics on my truck. If the wrong people in government found out that I am for a constitutional republic with elected representation and a system of checks and balances with three coequal branches of government, I would surely be labeled as an agitator, a far left radical, and perhaps even a terrorist.

Comment Dump it into the ocean (Score 1) 139

Add the waste to the existing pile off the Farallon Islands.

Excellent fishing there, you can catch rockfish and lingcod most of the season almost as fast as you can take them off the hook. I'm hardly radioactive at all, although I got terribly seasick because the water is usually really rough from the Golden Gate out to the Farallons.

Comment Re:Which is it? (Score 1) 126

A bonfire can't write Shakespeare, but it can still burn you. A car can't cook you breakfast, but if the brakes fail it can still cracks a few eggs (heads)

AI agents have no agency. They are not alive. And their capabilities are inconsistent and it struggles to translate competency in one area to another.

Slashdot Top Deals

The biggest difference between time and space is that you can't reuse time. -- Merrick Furst

Working...