Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kibwen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
871.
▲
by
kibwen
1y ago
It is for every major compiled language released since 2010.
872.
▲
by
kibwen
1y ago
No, languages like Go and Rust have supported cross-compilation out-of-the-box since before Zig existed.
873.
▲
by
kibwen
1y ago
> I don’t think Java and Rust were so ok with completely removing features. This just shows that you weren't around for pre-1.0 Rust. Back then Rust was infamous for the language making breaking changes every week . Check out thi
874.
▲
by
kibwen
1y ago
Text has inherent structure that GUIs don't. The ceiling for GUIs is higher (thanks to standards and supporting frameworks), but the floor for TUIs is higher.
875.
▲
by
kibwen
1y ago
What you say is true, but TUIs are not strictly worse than GUIs at accessibility. The fact that text is inherently more legible than graphics means that, for example, blind players can play console-based roguelikes (and do: https:/&
876.
▲
by
kibwen
1y ago
No, the people making TUIs in Rust are making TUIs because they love TUIs, and because Ratatui is pretty delightful. The state of GUI frameworks in Rust is irrelevant for this purpose, because even if there existed your ideal of Qt in Rust
877.
▲
by
kibwen
1y ago
Let's start simple and say that the average person isn't bisexual, so we need to exclude half of people from the get-go. But maybe you're taking that as a given. So then we also need to consider that less than half the popula
878.
▲
by
kibwen
1y ago
> weighed 28.8 pounds, and achieved a peak power of 550 kilowatts How well does this scale down? Can I have a 550 watt motor that's 1/1000th the size and that weighs 0.0288 pounds? Would be nifty to have an e-bike without any
879.
▲
by
kibwen
1y ago
Elon Musk has completely lost interest in being CEO of a car company. Tesla is a whatever's-on-his-mind-today company.
880.
▲
by
kibwen
1y ago
Amusingly, given the other thread in here with people sniping each other over the metric system, I'm obliged to point out that kg, not g, is the fundamental unit of mass in SI, because even metric can't get away without some silli
881.
▲
by
kibwen
1y ago
> If I have nobody, and you introduce me to someone, then it's simple. They're absolutely worth pursuing. Not quite. No matter how badly you want a relationship, I guarantee there exist potential partners with whom a relation
882.
▲
by
kibwen
1y ago
> it has turned out to be a much smaller use-case than anticipated Well, no, at the time of the design of Rust's async MVP, everyone was pretty well aware that the vast majority of the users would be writing webservers, and that t
883.
▲
by
kibwen
1y ago
Despite "fearless concurrency", Rust has been careful to never claim to prevent deadlocks/race conditions in general, in either async code or non-async code. It's certainly easier to get deadlocks in async Rust than in n
884.
▲
by
kibwen
1y ago
Same. Colored functions are just effect systems, which are extremely useful. Javascript's async as of ten years ago just happened to be an especially annoying implementation of a specific effect.
885.
▲
by
kibwen
1y ago
Part #975, but that's only because we overflowed the 64-bit counter. Again.
886.
▲
by
kibwen
1y ago
Your assertion is that it was "rushed". And yet here we are today, talking about how much we wish were implemented. That's not rushed--that's the polar opposite of rushed. Almost nothing about what we currently have on s
887.
▲
by
kibwen
1y ago
It feels to me like there's plenty of design space to explore. Sure, it's possible to view "selection" as a basic building block, but even that is insufficiently precise IMO. There's a reason that Javascript provide
888.
▲
by
kibwen
1y ago
If you want to find out the status of something, the best bet is to go to the Rust Zulip and ask around: https://rust-lang.zulipchat.com/ . Most Rust initiatives are pushed forward by volunteers who are happy to talk about
889.
▲
by
kibwen
1y ago
While the Mozilla layoffs were a stressful time with a lot of uncertainty involved, in the end it hasn't appeared to have had a deleterious effect on Rust development. Today the activity in the Rust repo is as high as it's ever be
890.
▲
by
kibwen
1y ago
Surely not every use of `select!` needs this ability. If you can design a more restrictive interface that makes correctness easier to determine, then you should use that interface where you can, and reserve `select!` for only those cases wh
891.
▲
by
kibwen
1y ago
> Deadline would only be the minimum duration after which the language, when evaluating the future / task, would return the empty set/result. This appears to be misunderstanding how futures work in Rust. The language doesn&#x
892.
▲
by
kibwen
1y ago
> All the Tokio primitives involved were working precisely as they were supposed to. The only thing that would have prevented this without completely re-designing Rust's async from the ground up would be to ban the use of `&mut
893.
▲
by
kibwen
1y ago
Rust is absolutely built for concurrency, even moreso than for memory safety--it just so happens that memory safety is a prerequisite for thread safety. You're going to have a hard time finding any other industrial-strength language th
894.
▲
by
kibwen
1y ago
Async Rust is as complex as it needs to be given its constraints. But I wholeheartedly agree with you that people need to treat threads (especially scoped ones) as the default concurrency primitive. My intuition is that experience with othe
895.
▲
by
kibwen
1y ago
There's a lot of improvements I could think of for async Rust, but there's basically nothing I would change about the fundamentals that underlie it (other than some tweaks to Pin, maybe, and I could quibble over some syntax). Ther
896.
▲
by
kibwen
1y ago
> So yeah, which of those concerns was async Rust really designed around? All of them I guess? Yes, all of them. Futures needed to work on embedded platforms (so no allocation), needed to be highly optimizable (so no virtual dispatch),
897.
▲
by
kibwen
1y ago
> Then he took a little break to you know, run AI at Tesla... This makes Karpathy look worse, not better.
898.
▲
by
kibwen
1y ago
A shame there's no little language here that demonstrates linear types.
899.
▲
by
kibwen
1y ago
Seven days later they find your dead body in front of the television, sopping wet and inexplicably flat.
900.
▲
by
kibwen
1y ago
Yep, it's like Coke Zero vs Diet Coke: 10x the flavor and 10x the calories.
More ›