Handmade Network»Feed
Casey Muratori
Well the problem there is that MergeIsPossible needs to check to see if the blocks are contiguous…
»
Casey Muratori
Every year Microsoft makes it harder to actually ship a working executable. - Casey
»
Mārtiņš Možeiko
Somebody from MS turned up in Reddit thread where people are discussing C++ redistributable stuff…
»
Rowan Crawford
I think omgagiantrock is thinking along the lines of what I was thinking. Essentially, in the pl…
»
John Lorre
I suppose there is nothing new? (Which is fine, just making sure I did not miss an email.)
»
robert
Well, I could see it returning the merged block and if it could not merge the empty block (of wit…
»
Matt Mascarenhas
Yo Abner, I'd be happy to take the reins. I'm guessing the elevated privileges will enable me to …
»
Casey Muratori
I don't generally look at the code off-stream, so I'm just going by memory here: My suspicion is…
»
Rowan Crawford
If the merge doesn't happen it would just return the original block pointer.
»
Abner Coimbre
@DvKirn I've added your project to the list. Sorry for the small delay.
»
Abner Coimbre
Yo. I cannot be more appreciative of you guys for handling this so smoothly. @Miblo, I'd like t…
»
»
Andrew Chronister
Stepanov and Rose's book From Mathematics to Generic Programming has this to say about concepts: …
»
Mattie
If MergeIfPossible() returns the pointer to the merged block when the merge succeeds, what should…
»
Raxfale
gingerBill What do your templated vectors offer over a simple implementation? Your generalizati…
»
Ginger Bill
I cannot believe I am saying this but one good thing about MatLab is its builtin math. It does ha…
»
Johannes Norneby
Could anyone point me to a write up about why Casey thinks C++ is so bad, I mean really specifica…
»
Andrew Bromage
gingerBill I know that in C++17, they will/might implement concepts which act very similar but I …
»
Rowan Crawford
Part of HMH's fun is trying to anticipate how Casey is going to write something before he writes …
»
Casey Muratori
gingerBill If I was to make a templated vector, I would do something like this: That is not gener…
»
Casey Muratori
Yes, as Martins says, there are a lot of benefits to a metaprogrammed vector type. The problem w…
»
Mārtiņš Možeiko
His implementation avoids reimplementing for each Vector type functions like dot, length, lerp an…
»
Ginger Bill
raxfale Casey often mentioned that one (but not he) might do the vector classes as templates. Fo…
»
Zoltan Stomfai
Ok, here is the solution (thank you Dot): In the System environment there was a Variable with th…
»
Casey Muratori
No problem at all - it is always better to be safe than sorry! - Casey
»
Ginger Bill
I use Go(lang) a lot at work and Go interfaces can be useful. In the io package, there are a few …
»
Ginger Bill
Here is a very good example of Immediate Mode GUI in C++: https://github.com/ocornut/imgui
»
NoobSaibot
Yep, right you are. Sorry for the noise.
»
Krzysiek
Well, yes, it is a vtable, but I like it better this way. I can control it and who knows what wil…
»
Mox
Yeah, I guess that will work. But isn't that just implementing your own vtable? I was hoping for…
»