401 karma · joined May 21, 2013
- Sage
It's this. Rust doesn't (yet) have a stable ABI for functions that aren't marked `extern "C"`. Any security vulnerability that would affect code in rust-lang/rust would most likely be in the standard library, which doesn't change between editions. All code links to the same libstd. Only the compiler frontend changes
I agree with you. It's a shame we don't have a simple visual metaphor to describe this
EDIT: Wait does hacker news just delete non-ascii? I tried to put an upside down smiley here how is this even worse than I thought
let plural = match cases.len() {
1.. => "s",
0 => "",
};
;PHow much cash you could get in a vault isn't really a useful measure of wealth since cash isn't the only object of value that you can exchange for goods and services (which you even pointed out in your comment by mentioning gold)
There's really no reason to pass a rust closure to `qsort` instead of sorting in Rust. That said, if there's demand for real world use cases that require passing Rust closures to C APIs that take only a function pointer and not a data pointer, I'll be happy to write a follow up.
So all of those things overlap quite a bit (also am I not allowed to expand the scope of things I work on beyond web frameworks? I'm not really sure why they have to overlap at all)
I spent a lot of time wrestling with the decision to even try this at all ("is it fair for me to do this when so many others can't?" and "will folks just think I'm abusing my position" are both things I had to come to terms with).
That said, if we do a better job of breaking down barriers to getting into that position in the first place, it's not a terrible model to start with. Getting a enough large grants to fully cover a salary from various companies a year is much more feasible than getting enough tens of thousands of individuals to contribute.
Working with these shorter sponsorships vs a full time employer also just feels more like the kind of open source work that got me wanting to do it full time. It lets me be much more flexible on when/what I work on (within reason, there are expectations on what "full time on crates.io/Rust" means). It's also helps to avoid situations where the employer is upset because you're spending time on a feature/bug/whatever that is important to the ecosystem but not directly useful to the company (e.g. working on a PG specific feature in Rails while employed by a company that uses MySQL)