OP has custom copy operator in Timer class. That means he needs to implement move assignment/cons…
sounds like a tradeoff between per-object overhead and false positives of an dead value in an liv…
mmozeikoMove construction is as easy as that only if you correctly implement actual move construc…
Did you change -Od to -O2 to enable compiler optimizations?
mrmixerI just look at the recent version of the code and there is a way by default to search for …
Hey everyone,
I downloaded the source/assets for the first time.
It compiled fine and took its …
Agree very nice post, maybe could put it in the wiki as a reference?
bewwys —
Basically, it has a minor heap and major heap where objects are deallocated in blocks. Objects ha…
Move construction is as easy as that only if you correctly implement actual move constructor and …
move construction is as easy as:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15template <typena…
Ah! Data alignment.. I should have thought of that. I've dealt with this issue many times before,…
What is rbx value on that second screenshot? If it is not 16 byte aligned, then your issue may be…
No, the crash does not happen across DLL reload. It's during the same session. I have spent a fai…
Hi Simon!
Thanks for your observations. I suppose I really have to read more digital signal proce…
std::function does not copy executable code. That would be too much overhead and would not work o…
Hello.
I have an issue where I get a crash when starting a custom-built timer for my game, but …
1if (next_sample > sound->sound->sample_count) next_sample-= sound->sound->sample_…
Hello everybody!
I'm creating a new game (from scratch again, but this time on a live stream... …
Such a nice post. Thanks!
I just look at the recent version of the code and there is a way by default to search for the las…
Yeah, that makes sense. Thanks!
You should ask him on the stream, but I suppose it's because they are Zero terminated (there is a…
Why does Casey name c-strings and functions that deal with c-strings using 'Z' (for example: "S32…
I'm not familiar with ocaml, but I'm pretty sure .NET garbage collector is more interesting, much…
bewwys —
Hi,
It seems that Garbage Collector is a bad thing here. Which I agree.
But I found the way Ocam…
John —
@nephewtom, Simon(mrmixer) knows 4coder inside-out, so his answer is the best one could ask!
I'v…
The search functions are implemented in 4coder_base_commands.cpp. The "search", "reverse_search",…
I have it. Any hints?
Recently got 4coder and just have changed some key bindings to match Emacs …
EDIT: actually there is a way: start a search and pres CTRL + Return or CTRL + Tab to search the …
Perhaps an obvious one but layout for any data that persists across a reload must remain the same…