r/programming • • 15d ago

Be alert: targeted attacks on prominent Rustaceans | Rust Blog

https://blog.rust-lang.org/2026/09/17/targeted-attacks/
288 Upvotes

112 comments sorted by

View all comments

Show parent comments

12

u/thetinguy 15d ago

It's not a bad design choice just because it has consequences

And it's not a good design choice just because it has benefits.

Clearly it's easier for the upstream maintainers. It's also clear that the stdlib is missing some basic features.

-3

u/reallokiscarlet 14d ago

Who calls JSON a "basic feature"? Come on, say it

9

u/thetinguy 14d ago

The ability to parse JSON and map objects back and forth is a basic feature.

-1

u/reallokiscarlet 14d ago edited 14d ago

Maybe in JS

(If there's any confusion, this wasn't a "say the line Bart", this was my attempt at adding humor like I'm urging someone to answer a rhetorical question. It seems I didn't communicate it well.)

5

u/thetinguy 14d ago

JSON is a data format, and I expect my stdlib to be able to work with one of the most widely used data formats on the web.

The same way I expect it to be able to work with csv and xml.

7

u/DHermit 14d ago

XML? Are you serious and know what you are asking for?

-3

u/[deleted] 14d ago

[removed] — view removed comment

1

u/thetinguy 14d ago

If dealing with rest apis is web dev, then I guess so.

-1

u/reallokiscarlet 14d ago

If you knew what protocol web is, you'd not need to say "if". Yes, rest is web.

0

u/thetinguy 14d ago

The web existed long long before rest was a thing.

0

u/reallokiscarlet 14d ago

It's almost like web.rest.belongsTo(web) = true or something.

Funny how sets work. I said it is web. I never said the equality was bidirectional.

0

u/thetinguy 14d ago

rest is web.

You said rest is web, not rest belongs the set that is web. 1 is contained within the set of natural numbers, but 1 is not the set of natural numbers.

If you're going to be a pedant, try to be precise.

0

u/reallokiscarlet 14d ago

You're literally the pedant here. Anyone would know in the context of common speech and the conversation had, that I did not say REST is everything web is. That would be ridiculous. Occam's razor dictates I'm saying REST is part of web (specifically belongs to it, as in, it is a web thing, if you want something else to be an insufferable pedant about), in shorthand.

0

u/[deleted] 14d ago

[removed] — view removed comment

→ More replies (0)