Live data from Hacker News

Linus Torvalds on aliasing

yodaiken.com

51–60 of 284 posts

Re: Linus Torvalds on aliasing

#51
When people can't find fault in the technical argument, they start attacking other things like. > Oh! He is so rude, He insults so much.

If you have a better argument to counter his logic, please post that, it would be more useful for everyone involved. Posting pretty useless comments here is pretty lame.

Re: Linus Torvalds on aliasing

#52

Earlier quoted context omitted.

Better security in general maybe? The mainline kernel community is known for its conservatism on introducing security mitigation that may affect development in other ways. In comparison, BSD is more security-minded (M* Money per Linus). Although much has been changed after KSPP.

Except BSD even being older than Linux never really took off either in Desktop space or Servers.

Thanks AT&T suit and the MIT licensing, lots of companies use BSD derived OSes without giving anything back.

Linux only took off thanks to SGI, IBM, HP, Cray seeing value reducing costs from their own in-house systems to something else.

Re: Linus Torvalds on aliasing

#53
"So what's the _real_ reason for avoiding union aliasing?"

Gee, Linus, you couldn't just Google "Reasons to avoid union aliasing" and see posts going all the way back to 2011 griping about how it screws even the most basic code beyond repair?

Re: Linus Torvalds on aliasing

#55
post #52

Earlier quoted context omitted.

Except BSD even being older than Linux never really took off either in Desktop space or Servers.

Thanks AT&T suit and the MIT licensing, lots of companies use BSD derived OSes without giving anything back. Linux only took off thanks to SGI, IBM, HP, Cray seeing value reducing costs from their own in-house systems to something else.

Agree with your points about the suit and Licensing.

> Linux only took off thanks to SGI, IBM, HP, Cray seeing value reducing costs from their own in-house systems to something else.

This seems unfair, Linux took off because it constantly kept getting improved and has more and more developers contributing to it. It didn't only take off because it was cheap, but it kept on improving. Also, the Elitist mindsets of some BSD devs and community go back to harm it. Try contributing to OpenBSD or FreeBSD and compare it with how approachable and relatively easy it is to contribute to Linux is.

Also, it's the fault of BSD's to not adopt or change to a better License at getting contributions back to its mainstream.

I also have major objections to calling anything more secure. No software is secure, each one of them has bugs. Some are discovered because more and more people use it. It's not like BSDs never had any CVEs ever.

Re: Linus Torvalds on aliasing

#56
post #42

Earlier quoted context omitted.

Another question is would Linux become what it's become if everyone would really have just forked it?

Another question is would Linux become what it's become if only nice polite guys were allowed to code it?

That's irrelevant, nobody's talking about allowing or not allowing to participate, but accepting help while insulting the helpers, seems disgusting to me and I really find it weird that some people readily accept that while demanding respect and politeness in other situations. Double standards – that's what it is.

Re: Linus Torvalds on aliasing

#57
post #52

Earlier quoted context omitted.

Thanks AT&T suit and the MIT licensing, lots of companies use BSD derived OSes without giving anything back. Linux only took off thanks to SGI, IBM, HP, Cray seeing value reducing costs from their own in-house systems to something else.

Agree with your points about the suit and Licensing. > Linux only took off thanks to SGI, IBM, HP, Cray seeing value reducing costs from their own in-house systems to something else. This seems unfair, Linux took off because it constantly kept getting improved and has more and more developers contributing to it. It didn't only take off because it was cheap, but it kept on improving. Also, the Elitist mindsets of some…

It is not unfair, because the majority of "developers contributing to it" are on those company payrolls, 8h a day during a full week.

It would be just another BSD or Minix if it would be only university students and weekend coders working on it, and we would all keep using Solaris, Aix, HP-UX, Tru64, Ultrix....

As for security issues, it helps that Linus is against disclosing security bugs as such.

Re: Linus Torvalds on aliasing

#58

Make this construct legal behavior without making it 10x slower than clang/gcc are today: void wat(uint16_t *x, uint16_t *y) { *x = *y; } uint64_t a[100] = { 0 }; wat((uint16_t *)&a[0], (uint16_t *)(((char *)&a[0]) + 1)); When you think you've figured that one out, try this one: uint16_t heh = 0xFFFF; extern uint16_t doesAnything(uint16_t *, uint16_t *); void wat(uint16_t *x, uint16_t *y) { *x = *y + doesAnything(&he…

Missing the point. Linus was talking about union aliasing.

Re: Linus Torvalds on aliasing

#59
post #13

Earlier quoted context omitted.

Oh, that's cute. The mere fact that you say that makes it clear you have no idea who Trump is.

A celebrity who speaks with a highly authoritative voice whether they have any idea what they're talking about or not. Sounds about right.

Do you have a link to where Linus talks in a highly authoritative voice when he has yesn't idea what he's talking about? All the cases I've seen where he's talking in an authoritative voice have been about topics he's an expert in.
Post reply on HN