Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:Makes no sense (Score 1) 47

> I'm always baffled by the insistence of Rust, Java, or other modern programming languages

should be

> I'm always baffled by the insistence by opponents of Rust, Java, or other modern programming languages

This has been your reminder that Slashdot's refusal to allow people to edit their own comments just generates more heat than light.

Comment Re:Play stupid games, win stupid prizes (Score 1) 53

"Our side" hasn't really shot anyone. Kirk's killer appears to either be apolitical or, less likely, a member of a MAGA faction that hated Kirk's faction. There isn't anything linking Kirk's killer to left wing politics at all, if there had been it'd be mentioned pretty much every day by the Trump administration. And both the attempts to murder Trump came from people whose friends said were conservatives.

Your side, OTOH, has killed or attempted to kill a fair number of the right's opponents, be it the murder of elected politicians such as Hortman or Hoffman, or even the crazed hammer attack on Pelosi's husband.

And we're still here. You're not going to win.

Comment Re:Is there an engineering reason why... (Score 2) 47

Are the people rewriting everything in Rust with us in the room right now?

There are some projects to rewrite some tools in Rust, sometimes unnecessarily, but nobody's proposed rewriting everything or even everything in use. Even this article is about Rust being added to the kernel, not rewritten in it. Where are you getting it from that, say, anyone is proposing rewriting the Linux kernel in Rust?

Comment Re:Makes no sense (Score 1) 47

In fairness, PHP simply replaces one type of lack-of-safety with another. C does not assume null, 0, "", "0", and false or all the same thing, something PHP does because... reasons. If PHP actually implemented mandatory type safety, PHP would be no worse than Python, and the rewritten code running under the new PHP would have most of the security issues fixed.

Rust's spec... do bear in mind there's at least one project out there that's implementing an independent version of Rust. You kind of need multiple implementations for a programming language to have one. If you look at most of the programming languages we deal with every day, relatively few have a formal spec that isn't "Whatever the only implementation of this does". I'm not arguing that's good, far from it, but it's apparently not a barrier.

If I had to criticize Rust these days, I'd say the fact its standard library is bare and you're forced to rely upon third party modules ("crates") that aren't audited or in any way curated for basic functionality is pretty fucking dumb. It completely undermines the entire point of the language, that it's supposed to be safe to use. We know from the XZ backdoor that you can't trust third party code that way, and it's only a matter of time before a malicious actor attacks one of the bigger crates - perhaps via a dependency - and does the same thing.

To me, Rust having a standard library comparable to, say, Java's is more important than it having a written specification.

Comment Re:Makes no sense (Score 2) 47

I'm always baffled by the insistence of Rust, Java, or other modern programming languages that developers can only make a certain number of errors-per-project. That somehow if you write something in C it'll be perfect except for the buffer overflows and null pointers. That if you write it in Java or Rust or Go or whatever somehow those will go so you need to introduce logic errors instead.

Is this how you program?

As for "Developers should now be freed to make higher level, more difficult to find logic erors", are you implying that it's easier to find logic errors in C?

Comment Re:I have to say by now I approve (Score 1) 47

God forbid anyone ban bullying at a time when bullying was becoming increasingly common in tech communities.

I'm not sure how it qualifies as "toxic" to ban toxic behavior, but there we go. In the mean time at least one kernel programmer has been celebrated here for actively lying about the Rust project and demanding the Rust modules be banned from using his code because... no reasons given.

Literally the only reason for objecting to Rust's "real world politics" is if you wanted to call a fellow programmer who you had a disagreement with the N word, F word, or misgender them. None of that behavior has a place in an open source community, or indeed a work place or even a bar.

Comment This seems intentional (Score 1) 6

It seems to me that, if you were developing something like this, you'd want to write the encryption and decryption code separately from the non-trivial key management code, so that you can unlock it easily if someone accidentally locks the wrong system. You only make the build that doesn't have an obvious key when you're really going to use it. For that matter, it's probably wise to do your demos with the version with the master key, so that potential affiliates can't attack a real target for the demo. Then you give the version that doesn't make it easy to unlock to paying affiliates who aren't SentinelOne. It's not like they'd need to redesign the whole system to generate a random key and not write it in plaintext anywhere.

Comment Re:US Picked Officials In Ukraine After 2014 Coup (Score 1) 102

Cool, except they''ve had multiple governments, some anti russian, some less so ever since, all because of democracy.

For reference, Zelensky was pro russian. He was also pro european and pro Nato, but he wanted to fix repair ties with the russians. Until, right after Nato voted to reject their application, the russians invaded.

The americans are irrelevant , this war had nothing to do with them.

Slashdot Top Deals

The only perfect science is hind-sight.

Working...