Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kibwen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
811.
▲
by
kibwen
11mo ago
Given that this is HN, I'm contractually obligated to mention that the GBA port is written in Rust: https://www.digitec.ch/en/page/the-impossible-port-super-mar...
812.
▲
by
kibwen
11mo ago
Back in 1930s Germany, there were other boats afloat to escape to. Here in 2025, you live in a globalized world. The rats are soon to be out of ships to flee to. There's no free society in the Sol system that survives rampant and unche
813.
▲
by
kibwen
11mo ago
This is cope dressed up in the stereotypical Gruber sycophancy. The decision to align iOS and MacOS with the glassy design of VisionOS was a broader corporate strategy that would have required buy-in from more execs than just the "chie
814.
▲
by
kibwen
11mo ago
At the very least, authors who have been caught publishing proven fabrications should be barred by those journals from ever publishing in them again. Mind you, this is regardless of whether or not an LLM was involved.
815.
▲
by
kibwen
11mo ago
Sure, it only "just requires" it if you actually care about your program working properly in the presence of concurrency. To reiterate, this is as true in Rust as it is in C or Zig, it's just that also Rust allows you to do b
816.
▲
by
kibwen
11mo ago
Sure, and those use cases are just as easily supported by Rust, in a more principled manner that directly encodes the intent and resists misuse by people modifying the code later.
817.
▲
by
kibwen
11mo ago
> All I want in life is a pure C API. It is simple and elegant and delightful and you can wrap it to run in any programming environment in existence. Sure thing boss, here's that header file populated exclusively by preprocessor m
818.
▲
by
kibwen
11mo ago
If we're getting philosophical, we can identify a hierarchy of globals: 1. Read-only (`const`s in Rust). These are fine, no objections. 2. Automatic-lazily-initialized write-once, read-only thereafter (`LazyLock` in Rust). These are al
819.
▲
by
kibwen
11mo ago
No, this is overly simplistic. The features in the quoted comment are largely things that nobody other than stdlib developers need to understand. There is no bespoke subset-dialect of Rust where people are tossing around the `fundamental`
820.
▲
by
kibwen
11mo ago
Ah, so what you're saying is that they're the Apple of networking gear.
821.
▲
by
kibwen
11mo ago
Erlang is great for distributed systems. But my bugbear is when people look at how distributed systems are inherently parallel, and then look at a would-be concurrent program and go, "I know, I'll make my program concurrent by mak
822.
▲
by
kibwen
11mo ago
I'll disagree with you there. Structured concurrency is the easiest concurrency model there is: https://vorpus.org/blog/notes-on-structured-concurrency-or-g...
823.
▲
by
kibwen
11mo ago
Aha, my apologies, I overlooked that.
824.
▲
by
kibwen
11mo ago
> You don't need an allocator library at all for this easy case, that's more valuable when the shape of allocations is in fact dynamic. Though I'd still reach for something like Bumpalo ( https://crates.io
825.
▲
by
kibwen
11mo ago
> languages where "trivial" things "just require" rapidly become "not so trivial" in the aggregate Sure. And in C and Zig, it's "trivial" to make a global mutable variable, it "just req
826.
▲
by
kibwen
11mo ago
> If we can produce a substantial volume of software that can cope with allocation failures then the idea of using something than overcommit as the default becomes feasible. Except this won't happen, because "cope with alloca
827.
▲
by
kibwen
11mo ago
No, this is still misunderstanding. Overcommit means that the act of memory allocation will not report failure, even when the system is out of memory. Instead, failure will come at an arbitrary point later, when the program actually attempt
828.
▲
by
kibwen
11mo ago
> And yet somehow the internet went down because of a program written in rust that didn’t validate input. What? The Cloudflare bug was from a broken system configuration that eventually cascaded into (among other things) a Rust program
829.
▲
by
kibwen
11mo ago
Outside of single-initialization/lazy-initialization (which are provided via safe and trivial standard library APIs: https://doc.rust-lang.org/std/sync/struct.LazyLock.html ) almost no Rust code uses global m
830.
▲
by
kibwen
11mo ago
> But from my own experience, UB just means "consult your compiler to see what it does here because this question is beyond our pay grade." Careful. It's not just "consult your compiler", because the behavior o
831.
▲
by
kibwen
11mo ago
> Async Rust is the ugliest and least readable language I've ever seen and I've done a lot of heavily templated C++ No, this is a wild claim that shows you've either never written async Rust or never written heavily temp
832.
▲
by
kibwen
11mo ago
> No more praying that your program isn't unceremoniously killed just for asking for more memory - all allocations are assumed fallible and failures must be handled explicitly. But for operating systems with overcommit, including
833.
▲
by
kibwen
11mo ago
Rust's specific claims are that safe Rust is free from data races, but not free from general race conditions, including deadlocks.
834.
▲
by
kibwen
11mo ago
> In Rust, creating a mutable global variable is so hard that there are long forum discussions on how to do it. In Zig, you can just create one, no problem. Well, no, creating a mutable global variable is trivial in Rust, it just requi
835.
▲
by
kibwen
11mo ago
Shhh, I'm begging people, if brain-dead VCs want to waste their money on things that are obviously farcical (and not actively destructive), please let them and stop doing their due diligence for them . The alternative is that they t
836.
▲
by
kibwen
11mo ago
> Hard disagree. If anything brand recognition is more important for technically illiterate. No, the tech-illiterate gravitate towards the path of least resistance, which just means the platform defaults. OpenAI doesn't control th
837.
▲
by
kibwen
11mo ago
Beyond Florida, the entire east coast of the US will become not just drastically warmer if the AMOC collapses, but will experience dramatic local sea level rise (warm water is more voluminous than cold water). Think Boston with the climate
838.
▲
by
kibwen
11mo ago
> But the moat is the brand recognition, if I ask my 70yo mum “have you heard of Gemini/Claude” she’ll reply “the what?”, yet she knows of ChatGPT. Brand recognition doesn't mean a thing when it comes to a technically-illiter
839.
▲
by
kibwen
11mo ago
Back in the early 2000s the sentiment was that IDEs were a force multiplier that was too high to ignore, and that anyone not using something akin to Visual Studio or Eclipse would be out of a job in 5 or so years. Meanwhile, 20 years later,
840.
▲
by
kibwen
11mo ago
Compared to the price of a round-trip plane ticket to Paris, hotel, and food for the whole trip, this ticket increase is immaterial for anyone who's already well-off enough to be a tourist. And the whole point of the article is that th
More ›