6,385 karma · joined August 19, 2011
Are you talking about hand-rolled arena allocation? I don´t see how a GC language would have a different behaviour as long as you also use arena allocation and you keep a reachable reference.
> There's nothing wrong with those techniques per se, but the language tends to paint you into a bit of a corner if you're not very good and very careful, so leaks are a fact of life in basically every major Rust project I've seen not written by somebody like BurntSushi
If I take 3 random major Rust projects like Serde, Hyper, and Tracing, none of which are written by BurntSushi, your claim is that they all suffer from memory leaks?
That said, sure, having a full-featured stdlib can be convenient. It's a matter of trade-offs. Having more content outside of the stdlib allows the ecosystem to evolve organically (and iterate quicker) and select the best approach to a given problem (which... could definitely have been an advantage for Python).
No you don't, that's literally "Omelet of the cheese". You say "Omelette au fromage", which is "Omelet with cheese".
I do agree with your broader point, though.
If you are interested in more ancient history, I can warmly recommend Keagan's Peloponnesian War (which mostly draws on Thucydides eponymous masterwork).
That said, it really depends on what you're doing. If you are debugging something, it can be a bit painful but not terrible (typically, you're just changing a few things as you go along). If you're implementing a feature or refactoring, you're better served using "cargo check" (especially in combination with "cargo watch") to only run typechecking but not code generation, which means extremely fast feedback.
I hadn't noticed the similarity but it makes sense. This is the OCaml syntax for generics, eg:
type 'a list_with_generic = 'a list;That entirely depends on the country. There is no "huge international bully" clause in employment law.
Not to mention that I'm not sure about "the real bully". If you think that underpaid customer care agents have the responsibility for executing your business strategy in China, maybe you should pay them appropriately. Or maybe you should ensure that someone higher up the food chain takes the fall.
Grotesque. Many industries in various countries have a reasonable notice period (say, 3 months), which should give the company enough time to adapt. Nobody considers this "indenture".
> Employment represents a contract between two parties. Basic freedom of association and contract law means both parties can enter and leave under the terms they negotiate and have a rational self interest in acting in good faith.
The difference is that one party, most of the time, can manage without the other. On the other hand, the fired employee still needs to pay rent/feed his family. And depending on the economy/location, finding a different job might take some time (if it's possible at all without retraining).
It is not a sign that there is anything wrong with the Rust ecosystem, it has a very active community and things are moving in the right direction, it is not just as full-featured as more mature ecosystems out there.
See for instance https://github.com/ErichDonGubler/not-yet-awesome-rust
There are quite a few use cases not listed here, obviously.