LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2017, 11:04 PM   #166
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619

I would edit my ignore list, but I think in short order it will not be necessary anyway.
 
Old 08-27-2017, 02:48 AM   #167
dederon
Member
 
Registered: Oct 2013
Posts: 107

Rep: Reputation: 56
@wigums: its better to just ignore some people here.
 
1 members found this post helpful.
Old 08-27-2017, 08:40 AM   #168
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by a4z View Post
sorry to tell you that you are wrong, well written C++ is similar fast or faster than C because it compiles to the same assembly or something better since the C++ compiler has more information than the C compiler and can therefore do more optimizations. There is simply nothing to discuss about this, and I wonder how it is possible that in 2017 people still spread false info about C++.
Maybe I have not been properly trained to use C++ compared to C for performance.
 
Old 08-27-2017, 08:41 AM   #169
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by a4z View Post
sorry to tell you that you are wrong, well written C++ is similar fast or faster than C because it compiles to the same assembly or something better since the C++ compiler has more information than the C compiler and can therefore do more optimizations. There is simply nothing to discuss about this, and I wonder how it is possible that in 2017 people still spread false info about C++.

AND You know our friend

http://harmful.cat-v.org/software/c++/linus
 
Old 08-27-2017, 09:52 AM   #170
wigums
Member
 
Registered: Oct 2013
Location: Detroit
Distribution: slackware and raspbian
Posts: 126

Rep: Reputation: Disabled
Quote:
Originally Posted by dederon View Post
@wigums: its better to just ignore some people here.
100% right
 
Old 08-27-2017, 10:40 AM   #171
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by jheengut View Post
Notice that he didn't say anything about performance.

Oh and as for Rust? It's perfect for the command-line and TUI apps that we Slackware users all love to use. I've already posted links to two (RipGrep and Exa). I also started a Rust thread in Programming (with two tutorial links) a year back.

https://www.linuxquestions.org/quest...st-4175577466/

Last edited by dugan; 08-27-2017 at 10:53 AM.
 
Old 08-27-2017, 11:27 AM   #172
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by jheengut View Post
OMG, this again
just shows that Linus has also a competence limits, and btw, his dive program UI is build on Qt, for a person that hates C++ a interesting choice
http://www.embedded.com/electronics-...r-rejecting-C-
AND my friend feel free to just focus on information that support your incorrect view and information level.
who cares that the game industry moved to C++ for performance reasons over a decade ago, that google and facebook and other HPC interested companies use C++ everywhere there where they need performance to spare the famous 1%, that there is extensive research going on in how to optimize C++ even more and evolve the language (C++11/14/17/20) while the interest in C is in best case limited, and other facts like this, who needs this when there are opinions like your ones.
 
Old 08-27-2017, 03:02 PM   #173
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by a4z View Post
OMG, this again
just shows that Linus has also a competence limits
Are you sure about that?

I've deliberately tried to avoid C++ development, but in 2010 and 2011 my employer had me working on technology with a dependency on a service (called IDOL) which used boost, which needed to be built to run on a variety of platforms.

Getting this to compile proved to be an incredible chore. Success was dependent on platform architecture (32-bit vs 64-bit), also the version of the boost library, and also the version of gcc used to compile it.

For each platform, I ended up iterating through every combination of a nontrivial set of boost + gcc versions trying to find the magical working combination. To make matters worse, success could not be detected at compile-time. IDOL had to run for a while, processing datasets, before exhibiting the bad behavior (segfaulting). The segfault occurred deep within the boost call stack.

So, from my own experience, he's at least spot-on correct about boost's problems.

He's a practical, hands-on programmer with oodles of experience. I've seen him express intolerance of other technologies, too, with which I have had bad experiences. None of his claims seem outrageous. I've seen similar problems in other languages, where nice abstractions frequently conceal horrendous implementations. I've seen language communities, which seem to draw bad programmers and encourage bad practices. So these are credible problems a language might have.

Given all that, do I have reason to doubt his assessment?
 
4 members found this post helpful.
Old 08-27-2017, 03:44 PM   #174
bryanmc57
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Rep: Reputation: Disabled
FWIW I'm running bassmadrigal's compile of 55.0.1 in 14.2 stable and no issues so far. It does seem to run better than the provided esr version.
 
1 members found this post helpful.
Old 08-27-2017, 03:45 PM   #175
dederon
Member
 
Registered: Oct 2013
Posts: 107

Rep: Reputation: 56
Quote:
Originally Posted by ttk View Post
Given all that, do I have reason to doubt his assessment?
not at all, always trust your own experience. in this case linus proves to have taste (even though git sucks).

the other pages at http://harmful.cat-v.org/software/c++/ are a funny read, too. cat-v is a treasure box.

btw. go was created to replace c++ at google. i wouldn't touch c++ even if someone would pay me for doing so. having to deal with boost makes things even more unbearable.
 
1 members found this post helpful.
Old 08-28-2017, 01:14 AM   #176
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ttk View Post
Are you sure about that?
yes, it might be not popular, but every humans competence has limits, so my claim is not a risk ;-)

also, when you have a bad day in 2007, and use the bad weekend experience from 1992 to rant about a group of people and a programming language with- at this time already provable- technical wrong arguments, than it becomes obvious that this post has some technical issues.
However, I do not assume that Linus, even if he got some details wrong in 2007, was aware of the fact that his post will be abused that often by people with limited knowledge about facts for spreading wrong information about C and C++ in the internet.
Linus addressed a certain comment of a person with this post to shut up a discussion before it started, not to bring technical arguments for why C is superior to C++.
Unfortunately, people misuse this post over and over again to 'prove' a point, like it happened above.
So for me it is mostly the people that link to this post without understanding its meaning/context that are a problem.


oh, and @ttk,
I am well aware of persons that can not compile boost on windows, which is to due to the stupid way MS is handling ABI compatibility on Windows between compiler versiosn and even build versions. MS C++ simply sucks.

but I use boost since 2003 on Linux and on more than one architecture, never ever had those problems you are talking about. So please, do not put your personal bad experience of some dubios IDOL library on the tools you use which work for so many other people. This has no relation to boost or C++, just to the people that made this thing you had problems with

Last edited by a4z; 08-28-2017 at 01:22 AM.
 
Old 08-28-2017, 09:27 AM   #177
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Hey a4z, since you like c++ maybe you can answer this burning question from dederon's link?

Quote:
If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor and when was the last time you needed one? – Tom Cargill
 
Old 08-28-2017, 09:48 AM   #178
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by orbea View Post
Hey a4z, since you like c++ maybe you can answer this burning question from dederon's link?
that's simple, nothing that actually exist. It is just a row of keywords without any sense to impress clueless people like you.
 
Old 08-28-2017, 09:55 AM   #179
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Tom Cargill was one of The SCO Group's expert witnesses, so I guess he's right at home here in the Thread Of Derp.
Attached Thumbnails
Click image for larger version

Name:	2168b33fc54be90dddeae622e739cedddfa9f9dee61aacad9bec0a3ffa20f147.jpg
Views:	30
Size:	39.1 KB
ID:	25794  
 
4 members found this post helpful.
Old 08-28-2017, 01:17 PM   #180
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 352
Blog Entries: 16

Rep: Reputation: 51
Quote:
Originally Posted by dugan View Post
Notice that he didn't say anything about performance.


https://www.linuxquestions.org/quest...st-4175577466/
I said it was personal experience.
I'm not against C++ development.
But in this age and time, competences change and I still think the programming language you choose is important for the right job.
C++ is not used as a general purpose language as C.

C is great to write a kernel, C++ is great to build GUI and some other stuff such as QT but rust is great to build servo.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: A Modern Day Front-End Development Stack LXer Syndicated Linux News 0 07-17-2017 07:30 PM
Firefox 53 and rust Lenard Spencer Slackware 18 05-01-2017 03:09 PM
LXer: Mozilla's Rust Language Gets A GCC Compiler Front-End LXer Syndicated Linux News 0 12-03-2013 08:21 PM
Is there a Mageia repository that includes a modern Firefox? Timothy Miller Mageia 61 11-12-2013 08:05 PM
svgalib_helper with modern slackware ? WiseDraco Slackware 1 05-28-2011 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration