syklemil

joined 6 days ago
[–] [email protected] 14 points 1 day ago

I think my usecase of curl is entirely covered by hyper (I just use it for http/s with a small handful of flags); but I also have absolutely no idea what goes on inside curl or how my distro chooses to build it.

Rebuilding curl to use Rust here and there (it still supports rustls and quiche) seems like an interesting undertaking, but yeah, I suspect most curl users don't build it themselves and have no idea what experimental features it could be built with. Guessing the curl survey has data for that.

Stenberg seems like a cool dude and this seems like an amicable split.

[–] [email protected] 4 points 1 day ago

No, barely anything from Russia … directly. Money going to the US is better than to Russia, but even better would be to be free from needing fossil fuels at all.

[–] [email protected] 2 points 1 day ago (1 children)

Idunno, that might be approaching "one day of patchy electricity can change how you view computers vs mechanical typewriters". Here people would likely use their mobile internet, especially if the company is paying their phone bill.

[–] [email protected] 2 points 1 day ago

It comes off as simulating enums with strings.

And yeah, even the string interpolation seems kind of excessive when it's just appending _address. Js is even kinda infamous for how willing it is to do that with +.

[–] [email protected] 2 points 1 day ago

Yeah, translating between cases isn't exactly a problem IME. Might be neat to have a case-aware grep though, so you can get kebab-case, snake_case, camelCase and PascalCase all done in one go.

[–] [email protected] 3 points 1 day ago

I've been using Fantasque sans mono for a bunch of years now.

[–] [email protected] 1 points 1 day ago

Yeah, I'm reminded of how Germanic languages used to have singular, dual and plural. If we'd still had dual, we'd probably also be talking about not abstracting until we actually have a plural.

[–] [email protected] 3 points 3 days ago

I generally agree, but

  1. People who haven't used a package before likely aren't interested in release candidates.
  2. Axum is one of the few pretty well-known Rust libraries. I'm willing to give that a pass on describing what it is for an RC, much like I'd do the same for FastAPI in a Python community. (But a little default blurb about what they are would be nice anyway to people who are new to the language and/or ecosystem.)
[–] [email protected] 2 points 3 days ago

Yeah, that's the correctness focus. Some people dislike it as a straitjacket, some even take it as a personal insult because they see it as a skill issue. They, the good devs, shouldn't be held back like that (spoiler: they aren't as good as they think they are).

Personally I like that aspect of Rust, but I also write Python with a typechecker and a loong list of enabled lints in ruff. I can get the happy path done without it, but having just the happy path often isn't good enough.

Enforced correctness helps a lot with confidence for those of us who know we sometimes make bad assumptions or forget some nuance or detail. But it will be absolutely infuriating for people who can't stand being told they made an error, even one of omission.

[–] [email protected] 3 points 3 days ago

Still remains to be seen if a potential rust ABI can avoid becoming a chain to the wall the way the C++ ABI seems to have become. When a lot of C++ers apparently agree with "I'm tired of paying for an ABI stability I'm not using" it's not so clear it would really be a boon to Rust.

That said no_std appears to be what people go to for the lean Rust.

And a lot of us are happy not having to juggle shared dependencies, but instead having somewhat fat but self-contained binaries. It's part of the draw of Go too; fat binaries come up as a way to avoid managing e.g. Python dependencies across OS-es. With Rust and Go you can build just one binary per architecture/libc and be done with it.

[–] [email protected] 5 points 3 days ago (3 children)

The serious answer here likely has several components:

  1. Some people and businesses have invested a lot in languages that governments are now trying to deprecate. When someone is told that their assets may be stranding, and please move on to $NEWTHING, they're likely to get … grumpy. Both they and the government may be correct here, even if they're at odds—they have different scopes and concerns.
  2. Differing values. See e.g. Cantrill's "Platform as a reflection of values".
  • Rust highly values correctness, which will feel like a straitjacket to a lot of people.
  • It also moves as much error detection as it can to the compilation stage, which won't sit well with people who want to get something out the door ASAP and then find the bugs as they happen.
  • So it also encourages tackling complexity early rather than kicking the can down the road, which again isn't to everyone's preference.
[–] [email protected] 3 points 3 days ago

Socks were invented to be used in sandals, it's the one true way!

(Typed wearing big woolen socks in birkenstocks)

view more: next ›