The rust code you pasted doesn't show any lifetime.
The `&f` in your imgui example is equivalent to the `&mut age`.
Are you just comparing the syntax? It just take a couple of hours to learn the syntax by following a tutorial and that `&mut` in rust is the same as `&` in C, not to mention that the compiler error tell you to add the `mut` if it is missing.
Also 0..=120 is much more clear than passing to arguments 0.0f, 1.0f. it makes it obvious what it is while looking at the imgui call it isn't.
Some will argue that consumption drives production but according to the common definition children don’t contribute to GDP.
Assuming governments are going to address population growth/decline then it’s a choice between incentivising births or issuing visas.
Even in countries that have free healthcare births are in decline so it’s not the cost of children alone that is causing this situation. I would argue it’s the economic crutch called immigration.
If they had not mentioned github's association with ICE,
then we'd be in a situation where everyone would be questioning whether or not the relationship had anything to do with the decision.
If you lose your phone or if it's out of battery, you'll get a free boarding pass at the airport as long as you checked in online before getting to the airport.
If you didn't check in before, you'll have to pay a 50€ fee. (Same as before)
I was (and am still) a C++ person. But I somehow became also a Rust person. I am sure some people felt attacked, but imho Rust has most of the characteristics that made C++ a good language and that's why I "embraced" Rust rather than felt attacked.
Yeah rust is not C++ but it really compliments C++ well. Each has their niche and tbh I see them converging into the two kings of the systems space rather than actually competing with each other.
The rust code you pasted doesn't show any lifetime.
The `&f` in your imgui example is equivalent to the `&mut age`.
Are you just comparing the syntax? It just take a couple of hours to learn the syntax by following a tutorial and that `&mut` in rust is the same as `&` in C, not to mention that the compiler error tell you to add the `mut` if it is missing.
Also 0..=120 is much more clear than passing to arguments 0.0f, 1.0f. it makes it obvious what it is while looking at the imgui call it isn't.
reply