@Doomed_Daniel@mastodon.gamedev.place avatar

Doomed_Daniel

@Doomed_Daniel@mastodon.gamedev.place

Linux User, Programmer, Gamedev, Metalhead ♠️ AD(H?)D ♠️ he/him ♠️ formerly on Twitter and mastodon.technology with the same handle

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

I'm reading up about C++ move semantics and I don't understand why anybody in the history of humankind has ever tried defending this language.

Doomed_Daniel ,
@Doomed_Daniel@mastodon.gamedev.place avatar

@fasterthanlime @dotstdy
this is probably very simplistic, but I think in the end move constructors/assignment operators are regular constructors that are used when an r-value or r-value reference is passed as arg - I think std::move<T> doesn't do much more than casting a T& to T&& - you can replace it with static_cast<T&&>(val).

They don't have to move the data, I think the only thing they have to do is leave both objects (this and the passed one) in a valid state where destructor can run

foone , an Random Englisch
@foone@digipres.club avatar

So if fonts can contain embedded web assembly, how long until someone makes a font that runs doom?

Doomed_Daniel ,
@Doomed_Daniel@mastodon.gamedev.place avatar

@foone
The real question is: WTF has the world come to when people integrate an LLM into a font before integrating Doom?!

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine