doken
10 posts


Lo dice en francés, no en árabe. El propio Vaticano confirmó que en Argelia hablaría francés, idioma colonial y oficial de facto. Y aunque lo hubiera dicho en árabe no tendría nada de raro, el árabe es lengua litúrgica de millones de cristianos desde antes del islam. Hay 20 millones de cristianos arabófonos, coptos en Egipto, maronitas en Líbano, melquitas, siríacos, asirios, caldeos, católicos de rito oriental... El árabe cristiano es anterior a Mahoma, no es lengua del islam, es lengua semítica que también usa la cristiandad oriental desde el siglo IV. Asociar árabe con islam de forma exclusiva es de una ignorancia insultante.
Progresismo Out Of Context@OOCprogresismo2
🇻🇦🇩🇿 El Papa León XIV canta el Padre Nuestro en árabe en Argelia.
Español

@TenativeTangent @CWood_sdf @pshufb Most of the times it's indirect. Modern programs are usually an allocation festival.
English

@CWood_sdf @pshufb Why TF would you do the first one?! You’re just hemorrhaging memory overhead.
English

"[...] C allows you to do bulk memory operations" - what does it mean?
Daniel Hooper@DanielcHooper
Jonathan Blow on fast software
English

@BonesMoses @valigo You definitely can have constructors, destructors and methods in structs.
They are literally the same thing as classes. Only difference is that in a struct everything is public by default and in classes everything is private by default.
English

@valigo Naked structs don't have constructors, destructors, or functions. They really are a separate thing. Maybe I'm just missing an April 1st joke though.
English

@Holianum @ChShersh the way i was taught is to first learn the C way then slowly introduce the features, while learning how everything works not just how to use them
e.g. making functor classes before using lambdas and then i had to explain how lambdas work under the hood if i wanted to use it
English


@wookash_podcast Genuine question: why using std::vector is a concession in runtime?
English

Every now and then, comments like this appear under live coding sessions, and I don't know how to respond.
My view on that matter is:
- all highly skilled people I know are avoiding modern C++
- some use C, some use C++, but those who use C++, they take a tiny subset of features - like operator overloading, or destructors to have "cleanup" mechanics
- none of those people use std::views, std::ranges, std::pair, or even std::unordered_map or std::vector. If they do, they know they make a concession, "I shouldn't do that, compile times and runtime will suffer, I'm doing this cause it's a prototype, not a *real* thing"
What I conclude from these observations is:
- modern C++ is more about fashion than any real gains
- new, competing languages have features like "map, filter, reduce" or string slices and C++ committee generally wants to add features, not remove them
- the implementation of these features in compilers (MSVC, Clang, gcc) is nasty, not because compiler engineers suck, quite contrary, but because those compilers need to care about decades of existing features, syntax expressions, and weird historical constructs
- quick example, for everybody liking lambdas in other languages, will absolutely freak out trying to understand all the possibilities of capture monstrosity with const & reference & pointer and [=] and [*] and move semantics, and damn const reference to a smart pointer which will not update refcount, how far have we strayed from the path.
So my stance is:
- if I invite somebody who loves modern C++ we will talk about how cool things can be expressed, but it will come at the cost of build time and runtime.
If you think this worldview lacks nuance, and should be explored more in depth - reach out or recommend a person who would be a good fit for such a discussion.
We can make a live session geared towards exploring these topics, or organize a small debate (but avoiding drama, a civilized debate!)

English

@Arumba07 I think you'll be happy to see Johan's stance on Mission Trees. I remember you didn't like them. forum.paradoxplaza.com/forum/threads/…
English

@MovistareSports Está hablando de la gente que metió GTA San Andreas en 32MB de RAM.
Español

@PoissonProcess @the_yamiteru @jondot For example if you are iterating over structs that contain 5 bools each, same logic applies.
It can very possibly destroy your cache efficiency if not packing the booleans together in the same byte results in the struct not fitting in the same cache line anymore.
English





