BatmanAoD

joined 2 years ago
[–] BatmanAoD 2 points 8 hours ago (1 children)

I feel like we're talking past each other. My impression was that 30% towards your living situation is a pretty decent target; what would you expect the percentage to be?

[–] BatmanAoD 1 points 9 hours ago (3 children)

Okay, what I meant was, is rent taking 30% really indicative of a low standard of living?

[–] BatmanAoD 1 points 12 hours ago (5 children)

Rent eating 30-40% of your income is extremely normal, isn't it? Or is that only true in the US (where it has recently become much more than that for many people)?

[–] BatmanAoD 2 points 4 days ago

Lots of acronyms no longer stand for anything due to losing their original associations. LLVM, AT&T, SAT (the test, not the programming problem), etc.

[–] BatmanAoD 0 points 4 days ago* (last edited 3 days ago)

Probably moreso for expressing the opinion so strongly without actually knowing any of the three languages.

Edit: I'm just guessing why a different comment got downvotes. Why am I getting downvotes?

[–] BatmanAoD 5 points 4 days ago (2 children)

Doesn't the first edition use K&R style parameter lists and other no-longer-correct syntax?

[–] BatmanAoD 2 points 1 week ago

If you mean the box at the top, with "Larger Text", "Default", and "More Space", mouse-over shows a resolution spec. Is it actually just scaling "as if" the screen had the given resolution?

Even so, I can understand how a Mac user would be confused by this and expect the equivalent feature in a different OS to be called "resolution".

[–] BatmanAoD 3 points 1 week ago (2 children)

Based on the headline, they've probably maladapted to Mac OS, which doesn't actually have a scaling setting.

(This is somewhat baffling to me, since Apple clearly cares a lot about their display hardware and about having good screen resolution.)

[–] BatmanAoD 2 points 2 weeks ago

You don't have to imagine it; you can browse the Linux Kernel mailing list!

[–] BatmanAoD 3 points 2 weeks ago (2 children)

That's called a mailing list

/s

[–] BatmanAoD 1 points 2 weeks ago (1 children)

I think generally C compilers prefer to keep the stack intact for debugging and such.

[–] BatmanAoD 1 points 2 weeks ago (3 children)

Okay, yeah, I was indeed reading your original reply as a criticism of one of the people involved (presumably the security researcher), rather than as a criticism of the post title. Sorry for misunderstanding.

Apparently GCC does indeed do tail-call optimization at -O2: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-foptimize-sibling-calls

But in that case, I'm not sure why the solution to the denial of service vulnerability isn't just "compile with -foptimize-sibling-calls."

69
submitted 2 months ago* (last edited 2 months ago) by BatmanAoD to c/programmer_humor
41
A classic tale (programming.dev)
 
34
submitted 1 year ago* (last edited 1 year ago) by BatmanAoD to c/rust
 

Almost five years ago, Saoirse "boats" wrote "Notes on a smaller Rust", and a year after that, revisited the idea.

The basic idea is a language that is highly inspired by Rust but doesn't have the strict constraint of being a "systems" language in the vein of C and C++; in particular, it can have a nontrivial (or "thick") runtime and doesn't need to limit itself to "zero-cost" abstractions.

What languages are being designed that fit this description? I've seen a few scripting languages written in Rust on GitHub, but none of them have been very active. I also recently learned about Hylo, which does have some ideas that I think are promising, but it seems too syntactically alien to really be a "smaller Rust."

Edit to add: I think Graydon Hoare's post about language design choices he would have preferred for Rust also sheds some light on the kind of things a hypothetical "Rust-like but not Rust" language could do differently: https://graydon2.dreamwidth.org/307291.html

view more: next ›