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.
David Owens II
@5sw, OOP is really about the following things: Both of these can have significant impacts on you…
»
David Owens II
You cannot make that claim at all. What if function() created a thread that delayed execution of t…
»
Jace Bennett
Depending on definitions, maybe... maybe. I guess my comments were in relation to "real OOP as pr…
»
Sven
OOP does have nothing to do with how the data is actually laid out in memory. Yes, it will take mo…
»
norswap
Just my two cents: what's good about OOP is coding to interfaces. New programming languages seem t…
»
Sven
@mmozeiko: Yes in your example const doesn't help because it shows aliasing issues. There restrict…
»
Dale Kim
I'm going to have to disagree with you 5sw on performance issues being a myth on this one. Tony Al…
»
norswap
Hash functions are tricky :) You might find this post interesting (it compares the uniformity of d…
»
Mārtiņš Možeiko
Minor nitpick - Unity uses UnityScript, not JavaScript. It's based on JS syntax, but it has differ…
»
Dale Kim
I would highly recommend using more items than 1000 if you want to check performance. 1000 really…
»
Sven
A lot of things that are listed here as disadvantages of OOP don't really have anything to do with…
»
Dale Kim
In response to 5sw: Past me would have agreed with what you said, but today me: I disagree complet…
»
Mārtiņš Možeiko
Ok, that makes sense.
»
norswap
Nice work, I like it :)
»
Mārtiņš Možeiko
While I'm all pro-const, I've never seen this to be true. You are confusing const with restrict k…
»
Sven
const should be used everywhere, where it makes sense. Of course when one starts to use const one …
»
John Lorre
There is no logical or even economical reason (RPI would be cheaper in any case). I'm not even try…
»
Mārtiņš Možeiko
What would be advantage of STM32F4 over RPi? My understanding is that STM32F4 is still small ARM C…
»
mojobojo
Thank you for that. I forgot about checking warning levels, that is something I need to do more of…
»
John Lorre
I am really considering to do this, actually I have been thinking about this a few weeks now. My i…
»
David Owens II
If you enable warnings the compiler will tell you. It's warning C6282 for MSVC.
»
Casey Muratori
I believe LLDB is still just a command line debugger. GDB has problems, certainly, but on the who…
»
Casey Muratori
I really want to do that but I don't have the expertise! I want a CPU guy to do a Handmade CPU an…
»
ThadeuMelo
We could go real "pig mode" and build our own cpu/gpu combo and run it on a FPGA board.
»
mallardz
Ah ok, so as the SignOf function parameter is defined as a signed int it all works. I get it, than…
»
Simon Anciaux
You can subtract 2 unsigned values and get a signed value.
»
mallardz
I don't quite understand the code at line 418 in handmade.cpp: We seem to be testing the sign of …
»
John Lorre
Casey, just to be clear: I did not mean to come over like I want to pressure you into explaining y…
»
mojobojo
Oh man, should have waited 10 more minutes and I would have had my answer. After careful evaluatio…
»
mojobojo
So I am playing around with hash tables and looking at how it effects performance. I wrote three d…
»