For going from C to Rust, I think you'd just use CString::to_str instead of CString::to_string. I'm pretty sure this just calls std::transmute behind the scenes and doesn't cause an allocation. (In the same way that you…
[flagged]
imo, only if it's asked in bad faith. maybe that's just worded poorly, but e.g. "oh, thanks! what'd you do differently with this recipe?" or w/e
Sorry, didn't see your reply till now. It's not literally everyone. Immunocompromised people who have managed to survive are often still afraid of catching Covid. How little most people care means that those who are…
RTO in and of itself is hostile. Especially when there is still a highly contagious disease running rampant. It might not _legally_ constitute a hostile work environment, but it is _literally_ hostile.
i remember using the falstad sim constantly at university a decade ago. super helpful and so much more intuitive than any spice thing. cool to see that it's still around and used
this is what those end up being, it's pretty straightforward? fn five() -> i32 { return 5; } fn five() -> i32 { 5; return (); } semicolon changes the expression from returning the result of the expression to running the…
idk there are a lot of uses for it let dx = { let prev_x = x; x = get_x(); x - prev_x }; often, it's slightly better cpp style scoping blocks if nothing else? there are tons of other little QoL things it enables though,…
let x = { 3 }; let y = { 3; }; assert_eq!(x, 3); assert_eq!(y, ()); i think it'd also mean having to parse whitespace or newlines without something like that?
is that a problem...? should a city not prioritize its citizens over random vacationers?
it happens for me if i click start now and try to use mouse button back, but if i click the back button it works? (also latest chrome)
i think you might lose people in the transition from the turing tape machine style bootstrapping to using full "words" for operations. it might help to compare it to something like regexes? (obviously they're not…
"insultingly dumb, i listen to metal" "check this out, this top 100 musician isn't mainstream so you probably haven't heard of them" this thread's turning into a decent example of why i hate talking to people about…
he has several albums that have been #1 on various billboard charts, if that's not mainstream then idk what is
this is sort of what modern ides (e.g. jetbrains stuff) already do in the bg. when im working on stuff, i almost never navigate via text or the file explorer, i use things like "goto usages or definition" and navigate…
it feels like there are two main categories of reaction to big societal issues: one starts with "this is unacceptable, so we will find an alternative," the other says "everything else sounds iffy so we shouldn't even…
everything you listed is still better than giving it to the cops. "these random examples sound bad" isn't really a good argument for doing nothing.
^ exactly the type of person i was talking about. how is this considered anything other than troll behaviour? also, there are no spelling mistakes in my comment. perhaps consider learning about how words are spelled in…
i didn't even notice there was no capitalisation when i read the article idk about the author, but when i was younger, some people's pedantry and pettiness over grammar / capitalisation / more casual chatting got me to…
the room is pretty well known, and is more memorable / has probably had a bigger impact on cinema than at least half of the entries in https://en.wikipedia.org/wiki/2003_in_film#Highest-grossing_... "good" or "bad" is…
code that uses coroutines is often a lot more straightforward than callbacks. with callbacks, it can also be non-trivial to even find out where / when some delegate was set. it's also often difficult to even navigate /…
most of the builds are incremental, but even incremental builds still take awhile when it's that massive (linking, modifying a header / template code, etc)
it really depends on what type of game you're making
more or less agree, although this issue isn't even really unique to C++. in practice it's still worth it imo, since debugging callback heavy stuff isn't exactly fun either
obviously many teams do (i've seen incredibuild used pretty often.) that's not a cureall, though.
For going from C to Rust, I think you'd just use CString::to_str instead of CString::to_string. I'm pretty sure this just calls std::transmute behind the scenes and doesn't cause an allocation. (In the same way that you…
[flagged]
imo, only if it's asked in bad faith. maybe that's just worded poorly, but e.g. "oh, thanks! what'd you do differently with this recipe?" or w/e
Sorry, didn't see your reply till now. It's not literally everyone. Immunocompromised people who have managed to survive are often still afraid of catching Covid. How little most people care means that those who are…
RTO in and of itself is hostile. Especially when there is still a highly contagious disease running rampant. It might not _legally_ constitute a hostile work environment, but it is _literally_ hostile.
i remember using the falstad sim constantly at university a decade ago. super helpful and so much more intuitive than any spice thing. cool to see that it's still around and used
this is what those end up being, it's pretty straightforward? fn five() -> i32 { return 5; } fn five() -> i32 { 5; return (); } semicolon changes the expression from returning the result of the expression to running the…
idk there are a lot of uses for it let dx = { let prev_x = x; x = get_x(); x - prev_x }; often, it's slightly better cpp style scoping blocks if nothing else? there are tons of other little QoL things it enables though,…
let x = { 3 }; let y = { 3; }; assert_eq!(x, 3); assert_eq!(y, ()); i think it'd also mean having to parse whitespace or newlines without something like that?
is that a problem...? should a city not prioritize its citizens over random vacationers?
it happens for me if i click start now and try to use mouse button back, but if i click the back button it works? (also latest chrome)
i think you might lose people in the transition from the turing tape machine style bootstrapping to using full "words" for operations. it might help to compare it to something like regexes? (obviously they're not…
"insultingly dumb, i listen to metal" "check this out, this top 100 musician isn't mainstream so you probably haven't heard of them" this thread's turning into a decent example of why i hate talking to people about…
he has several albums that have been #1 on various billboard charts, if that's not mainstream then idk what is
this is sort of what modern ides (e.g. jetbrains stuff) already do in the bg. when im working on stuff, i almost never navigate via text or the file explorer, i use things like "goto usages or definition" and navigate…
it feels like there are two main categories of reaction to big societal issues: one starts with "this is unacceptable, so we will find an alternative," the other says "everything else sounds iffy so we shouldn't even…
everything you listed is still better than giving it to the cops. "these random examples sound bad" isn't really a good argument for doing nothing.
^ exactly the type of person i was talking about. how is this considered anything other than troll behaviour? also, there are no spelling mistakes in my comment. perhaps consider learning about how words are spelled in…
i didn't even notice there was no capitalisation when i read the article idk about the author, but when i was younger, some people's pedantry and pettiness over grammar / capitalisation / more casual chatting got me to…
the room is pretty well known, and is more memorable / has probably had a bigger impact on cinema than at least half of the entries in https://en.wikipedia.org/wiki/2003_in_film#Highest-grossing_... "good" or "bad" is…
code that uses coroutines is often a lot more straightforward than callbacks. with callbacks, it can also be non-trivial to even find out where / when some delegate was set. it's also often difficult to even navigate /…
most of the builds are incremental, but even incremental builds still take awhile when it's that massive (linking, modifying a header / template code, etc)
it really depends on what type of game you're making
more or less agree, although this issue isn't even really unique to C++. in practice it's still worth it imo, since debugging callback heavy stuff isn't exactly fun either
obviously many teams do (i've seen incredibuild used pretty often.) that's not a cureall, though.