Earlier quoted context omitted.
> The Clang and LLVM developers reach different conclusions from ours because they do not share our values and goals. It's hard for me to trust the values of a man who thinks sex with children should be legalized. Not ad hominem'ing here, just saying that if his bigger-picture idea of "freedom" includes freedom to have sex with children, he and I have different ideas of what freedom mean, and I can't really say I tru…
> It's hard for me to trust the values of a man who thinks sex with children should be legalized. [citation needed]
Android NDK: GCC is now deprecated, everyone should be switching to Clang
141–150 of 259 posts
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#142Earlier quoted context omitted.
How do you internationalize strings built up from multiple string fragments?
The same way you'd do it in printf? Stringize data and insert it in the middle of static text? (Pardon my inelegant code, I've been away from C++ and doing Erlang for quite a while now.) void printStuff(ostream Os, string WarningPart, string SizePart, string EndPart, int Size) { //The English version might look like: //"Warning: Size too big (200). Get smaller." Os I expect that if I thought about the problem for a f…
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#143Earlier quoted context omitted.
> The Clang and LLVM developers reach different conclusions from ours because they do not share our values and goals. It's hard for me to trust the values of a man who thinks sex with children should be legalized. Not ad hominem'ing here, just saying that if his bigger-picture idea of "freedom" includes freedom to have sex with children, he and I have different ideas of what freedom mean, and I can't really say I tru…
> It's hard for me to trust the values of a man who thinks sex with children should be legalized. [citation needed]
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#144Earlier quoted context omitted.
If you have the design, and you have access to FPGAs, I'd say that's got you pretty close already. Edit: We were talking about CPUs, not complete systems. And yes, the performance would be poor, but RMS has already strongly established that in his book performance is a distant runner-up to free.
>RMS has already strongly established that in his book performance is a distant runner-up to free. To him, maybe. Not all of us have the luxury of getting paid to be a techno-luddite, using antiquated workflows and having the spare time available to re/write drivers when necessary. If I made the same performance/freedom trade-offs I'd be completely unable to do my job.
The people who want non-copyleft licenses to succeed are those who which to make a profit from the control and ignorance they can impose on their users by closing their source and platform or those who are willing to trade their user's freedoms to appease them.
Businesses have a huge amount of leverage on the OSS software ecosystem and so it's really no surprise that the licensing choices are to benefit the businesses funding the development rather than the users. It's to be expected but no less sad. There's a small group of passionate people who have basically dedicated their lives to making the world a better place by writing software that's truly free and respects its users, they built an entire community and movement around the idea, and actually stand by their beliefs -- yet people dismiss them because the company worth hundreds of billions of dollars has a better UX.
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#145The sad thing is that "easy to link and embed" and "permissive license" really didn't have to go together like they did in LLVM. GCC could have provided a library that made it easy to do code generation or compiler development. That library could still have used the GPL, so that only Free Software could use it. Some of the work that has happened around LLVM wouldn't have happened around such a library, but some of it…
I feel like you're missing the point of the GNU GPL. The original idea behind the FSFs idea of open source was an ecosystem where every new development resulted in more open and free code. We're talking about people who truly believed in getting away from commercial software entirely. There were people who felt that one day, Linux desktops could replace Windows and even high end tools like Photoshop and Final Cut wou…
I feel like you are missing the point of the GNU GPL.
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#146Earlier quoted context omitted.
The same way you'd do it in printf? Stringize data and insert it in the middle of static text? (Pardon my inelegant code, I've been away from C++ and doing Erlang for quite a while now.) void printStuff(ostream Os, string WarningPart, string SizePart, string EndPart, int Size) { //The English version might look like: //"Warning: Size too big (200). Get smaller." Os I expect that if I thought about the problem for a f…
POSIX printf allows a translator to write a conversion spec like "%1$d" that says which arg to print. This lets you do stuff like put currency before or after the amount depending on what's idiomatic for the locale, without recompiling (if you lookup your format strings at runtime).
printf format strings are well thought-out. I was demonstrating that the same ideas can easily be used with io*stream.
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#147Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#148Earlier quoted context omitted.
That's probably a bug in libc++, not Clang. They're under the same roof, but different people work on them. Also, I would mock you for using at all but you've probably got legacy code just the same as I do.
I'm curious, what's wrong with iostream?
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#149The sad thing is that "easy to link and embed" and "permissive license" really didn't have to go together like they did in LLVM. GCC could have provided a library that made it easy to do code generation or compiler development. That library could still have used the GPL, so that only Free Software could use it. Some of the work that has happened around LLVM wouldn't have happened around such a library, but some of it…
Re: Android NDK: GCC is now deprecated, everyone should be switching to Clang
#150I'm not sure if this will stoke a flamewar, because I've never seen a discussion here on this (might just be hanging around different articles). Is there any technical reason to prefer clang over gcc other than ideological reasons? I get the modular nature of llvm is useful, but is the android NDK using this feature? Quick google search shows clang lagging gcc in all but one test[0] at least on Intel Broadwell. Again…