Do you have the hashes in a header file, so that they get instanciated multiple times?
lldb TUI is absolutely unusable and would not wish upon anyone. Unfortunately, the only half-decen…
C++'s const is not a good comparison. The constness is too shallow. Pointers can still mutate othe…
Even if compiler allocates v2 on stack and next to v1. It is still technically undefined behavior…
For building its easy - you don't need to install full Xcode. You can install only "Xcode Command …
I use Sublime text for my editing needs and then use either lldb in the console or Xcode to debug.…
Quick aside: I would like to get 1935 building on the Mac sometime in the future, and so I'd be in…
Adrian —
Hi there! This is a shoutout to everyone who is developing on OS X without the use of big IDE's li…
In the case of shared data in concurrency, immutability can be very good as you suggest. I'm not s…
If your code is multi-threaded, then having data shared across threads never change is a very good…
Cranky: I understand that problem too. How I handle entities (variables, constants, procedures, ty…
TM —
onymous functions where you can inject more overloads from somewhere else in the code this is fine…
pragmatic_hero: I think you've missed the point of the . The Handmade movement is nothing about wh…
There seems to be a lot of "buzz" lately (the past few years) that languages be immutable-by-def…
ratchetfreak -- That's not a bad idea. That is the kind of "generics" that work in C11. Also, that…
hugo —
Very interesting that you see all those qualities in Go: most people say its a horrible designed …
I'm not even sure if I want to add overloading to the language as it adds a bit of complexity to …
My language already supports dynamic linking as I leverage LLVM as the backend. I understand the n…
has a section on memory layout, if I recall correctly, which addresses stack and heap and the di…
char *p = &v1; }[/code] So v2 will actually be at a lower address then v1? What happens when I d…
Adrian —
What do you mean the stack grows downward? char *p = &v1; }[/code] So v2 will actually be at a lo…
Neo Ar —
2016-09-09 Edit: current roadblock: From googling the error it looks like the problem is that i…
graeme —
Interesting! I wonder if that persons code base has such long compile times that taking so long is…
Neo Ar —
Edit: just realized I had my qt includes left over from trying to build with qt5, the compilation …
It is extremely simple to make an engine from scratch in C#. It's not going to be - but you're n…
Go gets one thing absolutely right - . It was to compile fast. I got all excited as I was readin…
mathk —
So using clang++ 3.8.1 on linux I had to add the build parameter -fbracket-depth=512 to get to co…
Today is your lucky day, good sir, because right this very day, in just thirty minutes, I am going…
graeme —
Here is a from lolengine. #define H1(s,i,x) (x*65599u+(uint8_t)s[(i)