VonTum

joined 1 year ago
[–] VonTum@programming.dev 10 points 1 year ago (4 children)

I actually like this, at least in some way it could lower the barrier for actually explaining what a function does. Though I don't see this working in an office environment

[–] VonTum@programming.dev 11 points 1 year ago (21 children)

What brand of TV to you recommend that still sticks to the 'old ways'?

[–] VonTum@programming.dev 6 points 1 year ago (4 children)

It's an island! Who needs a car on an island? At least on one as small as this one.

[–] VonTum@programming.dev 5 points 1 year ago

I haven't tried any custom roms on my FP4. But I can say I wholeheartedly support their work. Maybe the older ones had issues, but mine has been running smoothly ever since I bought it when it launched.

I've also dropped it like 200 times already, and haven't a single crack. The back cover is cracked though, but that's because I took it off so often to show people :P

All in all, 10/10.

[–] VonTum@programming.dev 2 points 1 year ago

I highly doubt any company will take such an online school seriously for senior positions.

[–] VonTum@programming.dev 2 points 1 year ago (1 children)

True, though here the hack is incredibly unintuitive for the programmer. You have to declare the constructor, but then leave it unimplemented. Not to mention the compiler error that should catch this now only occurs at link time, and linking errors are even more cryptic to grok.

When they made RVO mandatory, they should've removed the constructor declaration requirement as well, instead of a half-ass solution like this.

As a final nail in the coffin, std::is_move_constructible<> suddenly returns true for this non-move-constructible type 😉

[–] VonTum@programming.dev 1 points 1 year ago (3 children)

Well, it's really interesting that this is a hack that works, but you're really fighting the compiler here.

This is making me all the happier I switched to Rust 😂

[–] VonTum@programming.dev 4 points 1 year ago* (last edited 1 year ago)

This is the only way really to move forward with ISA extensions.

Though, I think for this update we don't need to be too concerned. Since it changes the code in such an extensive way, compiler writers will be strongly incentivised to produce this duplicate path themselves. Instead of letting the burden of dispatching fall on the programmer like with AVX and friends

[–] VonTum@programming.dev 3 points 1 year ago (1 children)

Well, yeah probably some websites will require it, probably google's own will, and people will have to run two browsers for the sites that do, and the sites that don't.

And yeah they can force sites to switch, by downranking them otherwise, like they did with AMP. But I think that'll only really alienate people.

[–] VonTum@programming.dev 14 points 1 year ago (3 children)

I would argue it doesn't even make anyone's life better, except google and advertiders'

[–] VonTum@programming.dev 2 points 1 year ago

Really nice article. It's almost always that optimizing a piece of code involves restructuring the data structure it operates on, instead of altering the details of how it operates on this datastructure. Optimizing compilers are already really good at the latter, while doing nothing about the former

[–] VonTum@programming.dev 1 points 1 year ago

There's currently no place in the fediverse to talk about this

view more: next ›