Earlier quoted context omitted.
When it comes to being oversensitive needy little things there is no true Scottsman. As a northern European I find it not only comfortable that Linus runs Linux, but I would be less comfortable if it was another American smile in face pretend to be your friend but be shady as fuck attitude that you guys seem to confuse for 'professionalism'. So let's chalk this to cultural differences. We wouldn't hire someone like y…
> As a northern European I find it not only comfortable that Linus runs Linux, but I would be less comfortable if it was another American smile in face pretend to be your friend but be shady as fuck attitude that you guys seem to confuse for 'professionalism'. This is a false dichotomy. Most of what Linus says would run foul of HN's guidelines - which I'll paraphrase here as "don't call someone an asshole before maki…
Linus Torvalds on aliasing
211–220 of 284 posts
Re: Linus Torvalds on aliasing
#212Earlier quoted context omitted.
That is well-defined. "One special guarantee is made in order to simplify the use of unions: if a union contains several structures that share a common initial sequence (see below), and if the union object currently contains one of these structures, it is permitted to inspect the common initial part of any of them anywhere that a declaration of the complete type of the union is visible. Two structures share a common…
This does technically require that a union of those structs exists, even though it is not used. I don't know of any compiler for which this actually makes a difference though.
Re: Linus Torvalds on aliasing
#213If Linus would habitually curse in the kernel list, it would have no emphasis effect and it would be a really bad style. Linus using cursing in a rant equals [for wider distribution] and it works perfectly. I can't remember a single discussion linked to HN that didn't start from cursing. It provided the opportunity for people to be offended. For technical people it's a challenge (like a glove slap).
Example:
* his opinion about hardening: https://lkml.org/lkml/2017/11/21/356
* previous message that collected the attention: "Those security people are f*cking morons." https://lkml.org/lkml/2017/11/17/767
Re: Linus Torvalds on aliasing
#214Earlier quoted context omitted.
> As a northern European I find it not only comfortable that Linus runs Linux, but I would be less comfortable if it was another American smile in face pretend to be your friend but be shady as fuck attitude that you guys seem to confuse for 'professionalism'. This is a false dichotomy. Most of what Linus says would run foul of HN's guidelines - which I'll paraphrase here as "don't call someone an asshole before maki…
When somebody speaks their mind, everybody around them knows where they stand. I doubt there is difference between about how often people resent other people around the world. But I do consider it more humane if resentment isn't hidden under the surface. It's easier to trust Linus than a tactfull politician. That should make us all think.
I mention this here because kristianic made the valid point that you have set up a false dichotomy, and you replied with a statement that keeps it going. Is the habit of not paying attention to the actual issues also part of your superior Northern European culture, and, in fact, is it perhaps a reason why insults are apparently such an important part of it?
Re: Linus Torvalds on aliasing
#215Earlier quoted context omitted.
memcpy is legal and fine. To borrow the example from above: double d = 3.14; uint64_t i; memcpy(&i, &d, sizeof(d)); is perfectly kosher.
> is perfectly kosher Aren't exact-bitwidth integer types optional even with C99 (let alone preceding versions of standard)?
If an implementation can't represent uint64_t exactly, it can still have a uint_least64_t type of whatever width works.
Re: Linus Torvalds on aliasing
#216It's important to bear in mind that Linux isn't written in standard C - it's written in a dialect of C implemented by recent-ish versions of GCC (there is a particular minimum GCC version supported), with certain compiler switches. There's nothing wrong with this - it's an important enough project to be able to make those kinds of demands.
Android kernels are built with Clang. So really it's just missing support for MSVC, for obvious reasons.
[1] https://lkml.org/lkml/2018/2/14/724 [2] https://lkml.org/lkml/2018/2/14/157
Re: Linus Torvalds on aliasing
#217Earlier quoted context omitted.
When it comes to being oversensitive needy little things there is no true Scottsman. As a northern European I find it not only comfortable that Linus runs Linux, but I would be less comfortable if it was another American smile in face pretend to be your friend but be shady as fuck attitude that you guys seem to confuse for 'professionalism'. So let's chalk this to cultural differences. We wouldn't hire someone like y…
While Linus may be right, why is it that we always find only "Linus ranting out against people" threads that trend? In a positive way, why don't we have "Linus gets ranted against" posts? Is it because Linus is always right? Or is it because nobody speaks up against Linus? Or is it because Linus isn't actively coding much since git days? Or is it just because it happens but doesn't get as much visibility? I'm just as…
That won't tell you anything about LKML culture, either.
If you want a better sense of lkml than social media hot takes can deliver, go lurk it for a month.
Re: Linus Torvalds on aliasing
#218Re: Linus Torvalds on aliasing
#219Linus is obviously being harsh, his words are also preserved publicly as a part of the contribution. He's arguing against the logical fallacy. Had he not swore: would we discuss this?
Re: Linus Torvalds on aliasing
#220I would go out of my way to avoid people who communicate like this with me. People put time and energy in making software better, at least in their own eyes, for others and then they get textually abused like this by someone who has his fame to protect himself with. He also does no service to his own arguments by peppering them with childish swearing because things like "So standards are not some kind of holy book th…
I can't stand when you're expected to wrap every sentence in some sugar coated fake 'niceness' just to not step on somebody's toes. If I have a certain way of expressing myself... Well that's how it is.
You shouldn't sell yourself short. Changing the way you communicate is a huge but worthwhile challenge.
In a different time, I would have been mean to you over your comment instead of offering supportive words. It took as much effort to be nice as it used to take to be mean.