We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Abner Coimbre
Agreed. Let's clarify that this mishap wasn't censoring, but merely a misunderstanding. Glad you …
»
Carlos Gabriel Hasbun Comandari
Thanks. I know it doesn't look like much, but it actually takes time to create such posts. And ce…
»
Johannes Norneby
Ok, so STL isn't very OOP, all well and good. I am definitely moving away from OOP. To clarify; …
»
Mārtiņš Možeiko
Looks fine to me. Not sure what is issue here. Maybe invoking shell.bat with /K argument? Try run…
»
Zoltan Stomfai
Sorry, meant to do it but forgot. :) Command prompt: %windir%\system32\cmd.exe /k w:\shell.bat…
»
Casey Muratori
Not sure what happened here exactly, but as "superadministrator" or whatever I am able to see thi…
»
Casey Muratori
Thanks! I will make a note... - Casey
»
Raxfale
Casey often mentioned that one (but not he) might do the vector classes as templates. For those …
»
Raxfale
I feel that this thinking is exactly why c++ has such a bad rep (in certain circles) c++ should …
»
Andrew Bromage
johno In regards to "embracing C++"; I feel like I have had similar experiences to Casey, in that…
»
Andrew Chronister
Nimbal with a simple array template I was able to beat std::vector by about 7x for one use case.…
»
Abner Coimbre
That post was reported as spam due to the large number of links it had. I felt the post was okay …
»
Andrew Bromage
mmozeiko Yes, currently compilers use stack like this. But nothing is preventing compiler writers…
»
Mārtiņš Možeiko
Show us the commandline you are invoking. Probably forgot to put something in quotes.
»
Zoltan Stomfai
Hi there fellow Handmade Heroes! I've just started the series, and not a big fan of emacs. Tryin…
»
Mattie
If you have to explicitly declare that you're going to be referencing data in a "popped" stack fr…
»
Mārtiņš Možeiko
Another good code to look at: https://github.com/emoon/minifb It's a very small library that open…
»
Mārtiņš Možeiko
Yes, currently compilers use stack like this. But nothing is preventing compiler writers to use/a…
»
Mārtiņš Možeiko
One more tip on STL containers - preallocate memory for containers before using them (with reserv…
»
Adam
Just an update to this, thought I would add in a link I found as a helpful starting point for any…
»
Johannes Norneby
Hoho, I didn't know about unordered_map, maybe I should read the STL documentation... :) Most of…
»
Jonathan García
Hello everyone! Casey, just wanted to point out that in the process of replacing the "slot" thin…
»
Carlos Gabriel Hasbun Comandari
I don't even know where to complain about my previous new topic being lost, I guess a moderator c…
»
Patrick Lahey
That's a much bigger difference than I have personally seen in practice. You have to know visual…
»
Dumitru Frunza
Isn't the nature of stack allocation such that if a frame has been popped out, that frame is esse…
»
Benjamin Kloster
with a simple array template I was able to beat std::vector by about 7x for one use case. Could…
»
Andrew Chronister
While vector and unordered_map may be among the more performant containers in the STL, they have …
»
Raxfale
Also, if you have the option for a newish compiler, the ranged base for loops can get rid of many…
»
Carlos Gabriel Hasbun Comandari
I don't know why, wherever I go, whichever website I visit, anything that even remotely attempts …
»
itzjac
That's the reason! Thanks!
»