Advertisement · 728 × 90

Posts by Shieldfoss

I am sorry to inform you that it was #include "assert.h" with a lot of instrumentation for ubsan, asan etc./

1 year ago 1 0 1 0

I know you've considered this already but possibly you dismissed it too fast: Would it work to compile from source?

I've solved... remarkably many problems this way and, surprisingly, not actually broken anything (This is not because I'm a gentoo fiend, I'm on casual Pop!_OS)

1 year ago 1 0 0 0

What I'm trying to say is "Please please I want a built-in slice type."

(I want a built-in slice type in C++ too but I'm *almost* ok with itr pairs and/or std::span)

1 year ago 1 0 0 0

Fun fact: As a challenge I wrote an entire slice library without testing it until the whole thing was done, then ran it through sanitizers to see how many errors would have slipped through.

It was a *fantastic* library.

It was *absolutely useless* because C invariants are fake.

I hate it here

1 year ago 2 0 2 0

"Describing C in one sentence" like^

1 year ago 1 0 0 0

peeb

1 year ago 1 0 0 0

meep

1 year ago 1 0 0 0

Goes in the same pocket as the wallet so it doesn't have room to move around.

1 year ago 0 0 0 0

... that is fucking atrotrocious

1 year ago 0 0 0 0
Advertisement

> They are doing things that have become normal
> but Noonan portrays them as weirdo conformists.
> This shows us Noonan is out of the loop.

Not necessarily, neh? I hope we're not expecting decency from a journalist.

1 year ago 0 0 0 0

wet

1 year ago 2 0 0 0

I don't take pen advice from foxes. Grow some opposable thumbs and maybe it'll be relevant

2 years ago 0 0 0 0

Not in particular but if you'd care to share, I'll look and see if there's anything that immediately scares me away.

2 years ago 0 0 0 0

go to beep

2 years ago 1 0 0 0

but you are already fed up

in 5 years you'll be Mad As Hell and Not Gonna Take This Any More

2 years ago 1 0 0 0

...wait really?

How much hydration are we talking here?

(I thoght it was the other way around! I thought it'd gotten wet, dissolved, then dry, recrystallized, and now it was hard)

2 years ago 1 0 0 0

lol

lmao even.

"It's cold to walk outside between buildings"

"The north IS cold and we haven't invented hallways! Deal with it!"

2 years ago 0 0 0 0

Moon. It'll be back any day now.

2 years ago 0 0 0 0

No! Sometimes I find it and think "...but then what did I put down over THERE?" and go look!

2 years ago 1 0 0 0
Advertisement

gm

2 years ago 1 0 0 0

*glibc

blog.qualys.com/vulnerabilit...

2 years ago 1 0 0 0

libc I believe

2 years ago 1 0 1 0

Best I can do is a free function in <algorithm> that takes a back inserter.

2 years ago 0 0 0 0

❌ Professional sports gambling
✅ metaprogaming

2 years ago 0 0 0 0

Funny, I was looking into this very thing earlier today. I didn't dig deep but the very very top overview was "faster than C++ because pointers aren't allowed to alias, better than C because arrays aren't nonsense."

And then I stopped digging because "yeah that seems plausible."

2 years ago 2 0 1 0
Post image

I swear I follow more than one person on here

2 years ago 1 0 0 0

8th edition "Pro C# 7 with .NET and .NET Core" by Troelsen and Japiksen, p. 143:

"Simply put, the role of System.ValueType is to ensure that the derived type (...) is allocated on the stack, rather than on the garbage-collected heap."

Second time this type of nonsense has happened to me THIS MONTH

2 years ago 0 0 0 0

It's 13 years old by now but I just read Lippert's blog on it and I think my response is "I Guess <shrug emoji>"

2 years ago 0 0 1 0

cursed c# facts

2 years ago 0 0 1 0
Advertisement

> if they don't leave the function

Wait what I thought that was just a guarantee at all times (except for, like, value types IN classes where they get alloc'd with the clas)

Have I been allocating when I thought I was just on the stack

D:

2 years ago 0 0 0 0