« first day (1260 days earlier)      last day (3674 days later) » 

12:05 AM
11
Q: Why is the restrict keyword not part of C++?

Buella GáborThe title says it all. I am curious why is the restrict keyword not part of C++ ? I don't know much about C++, and I'm still not able to find anything online that would give a reason blocking this. Does anyone know what terrible things would happen, if a C++ standard would use this keyword simila...

^^ aha, one guy saying that the question is OT and 12 people upvoting it.
If any of us can answer it, I've been wondering the same thing for a while.
 
user3010322
@Bartek I ran some more tests and I also implemented splitting, since Steam is taking literally 45+ minutes to update.
 
user3010322
 
user3010322
With debug, no optimizations, no bittwiddling or const fiddling, I'm getting some 28 - 30 ms times to perform DSP on the buffer.
 
user3010322
(for sample size of about 50 milliseconds)
 
user3010322
So I can still DSP faster than I can read through data,
 
user3010322
12:16 AM
but a 30 ms delay is perceptible by a human being's ear
 
yes, but you're still amending the moronic precondition of "debug no optimizations".
it's like saying, "My timings are utterly irrelevant, but here's my timings!".
 
user3010322
Well, it can't get any slower when I turn off the debug, right?
 
probably not, but what has that got to do with anything?
 
@gnzlbg My QuadTree on github can be generalized to n dimensions easy enough. Should be, at least.
 
@BartekBanachewicz neighbor searches too?
 
12:18 AM
@gnzlbg I optimized it for raycasting, mainly. Dunno how hard it would be to add what you want.
 
the problem im having is generalizing searching for neighbor nodes sharing (n-m)-dimensional faces
 
so in 3D n-1 is a face, n-2 is an edge, n-3 is a corner
i need to find neighboring nodes across (n-m)-faces :/
 
@ThePhD well then you're fucked anyway, no?
i mean, if you're i/o bound
@gnzlbg it's too late for me to give you any reasonable advice. Perhaps catch me in the morrow.
 
i understand
gonna sleep now too
your quadtree looks nice, so thanks!
 
12:21 AM
you're welcome.
 
i'll read it tomorrow and let you know :)
 
good night then.
 
you too!
 
12:34 AM
my feets are cold
 
@Mysticial what does restrict do in C?
too lazy to check
 
@Jefffrey It tells the compiler that two pointers don't alias or overlap.
That way the compiler can re-order accesses to them.
 
it's basically an hint to the compiler for optimizations on pointers?
 
yeah
 
a pretty big one depending on the function
 
12:39 AM
ic
 
user1804599
integrated circuit
 
I think arrows in a programmers keyboard are useless, hjkl should be used instead (or wasd for games)... prove me wrong
 
left handed people
also I use the arrow keys
 
left handed people?
 
yes
wasd is for right handed people
arrow keys are for left handed
 
12:46 AM
just map ijkl already
 
or vice versa if the game doesn't use a mouse
i is for inventory and k is sometimes used for skill assignment
 
hjkl for movement isn't so great when you need to be using them as letters
 
your proposal is moronic
 
ok :c
 
user1804599
That’s why we have normal mode.
 
12:47 AM
@Rapptz you can map whatever other key to the inventory
 
your solution is "just remap it and deal with it"
it's silly
 
well, yeah, if you are left handed you'll need to do that anyway
or do you keep E for "Use"?
 
depends on the game in question obviously
 
I don't use WASD to play games unless I need to use the mouse
 
but you could easily do without
 
12:49 AM
not really
I use the arrow keys to also browse websites to scroll
and to move through code (I don't use vim)
 
My biggest use of the arrows keys is probably the up arrow through previously used terminal commands
 
user1804599
@Rapptz Vimium ftw.
 
@rightfold it sucks for SO.chat
 
user1804599
I know.
 
user1804599
That’s why you can disable it on certain domains. :P
 
12:51 AM
also arrow keys are used in here to edit messages :v
 
Oh yea, in skype too
 
I don't mind if it's enabled, it's just useless
 
I thought I would use vimium, never learned it
 
@JuJoDi that's a nice one
ok, you guys proved me wrong, you all win a red fish
 
nice award.
 
user1804599
12:55 AM
j and k work on Twitter and Facebook as well.
 
grrr typical
restore L4D2 from backup -> download 7.5GB anyway
f that
 
user3010322
Hahaha.
 
user3010322
Prbably that "compressed format" nonsense they do.
 
OK, I'm a bit wobbly..
 
user3010322
Lol
 
user3010322
1:03 AM
Fucking
 
user3010322
XAudio2
 
user3010322
Throws an error
 
user3010322
doesn't propogate that error through any of its callbacks.
 
user3010322
Thanks, XAudio2.
 
user3010322
Hm. E_OUTOFMEMORY
 
user3010322
1:08 AM
So it does have a limit. How nice of the system to inform me of what that limit is.
 
gotta love error codes huh
 
PCLOADLETTER
 
are you morons still here?
 
well, I can't sleep yet now matter how much I want to, remember?
 
I wanted stars, not replies
 
1:20 AM
*
 
funny
well, gays can get married in the UK now. nice for them.
 
indeed it is
 
personally, I think the whole thing is pretty gay
 
there are still way too many concessions in the law IYAM
 
1:27 AM
for example, religious institutions not being forced to offer equality
if you don't like the public, you shouldn't offer marriage services to the public
 
?
it's not different from here
marriage is a government thing but some people want to get married in church but there's no way a gay person will marry in church
 
in which case, I'd still argue that "here" wherever that is has too many religious concessions.
 
My taxes had options for "same sex marriage" AND "other legally recognized partnership"
 
@JuJoDi Maybe I should marry my tax inspector?
Maybe I should go to bed...
 
Yea, I would sleep on that marriage decision
 
1:33 AM
probably
 
Ratted..
Nite...
 
night
 
Is it just me or do IPAs taste like grapefruit juice but better
 
it's been some time since I was physically capable of consuming beer
 
gluten?
 
1:48 AM
hmm
 
I wish
nobody knows.
 
I have a doubt about Haskell state
 
oh, but definitely not gluten.
 
@JuJoDi he is sick, no doctor is able to know why
it's been like that for a while now
I think I should just finish to read the book before asking.
 
possibly
I don't think of the Haskellites are around to aid you right now anyway
 
user3010322
1:59 AM
._.
 
user3010322
Well.
 
user3010322
This is... interesting.
 
your mother's interesting
 

« first day (1260 days earlier)      last day (3674 days later) »