LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-28-2017, 02:31 PM   #181
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Gentoo, Lubuntu
Posts: 277
Blog Entries: 16

Rep: Reputation: 27

Quote:
Originally Posted by a4z View Post
that's simple, nothing that actually exist. It is just a row of keywords without any sense to impress clueless people like you.

Point,

then to whom does C++ makes sense?

If the current crop cannot properly use C++, then who is to be blamed,....

Lennart Poettering is a clear case why something like C++ programming cannot be fully entrusted to A singular person. He has good ideas, totally against the UNIX philosophy and bad implementation. SYSTEMD, buaahaaaaaha
 
Old 08-28-2017, 02:33 PM   #182
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,633

Rep: Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953
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
I'm disappointed at the people who didn't spot this contradiction.

Last edited by dugan; 08-28-2017 at 02:44 PM.
 
Old 08-28-2017, 02:45 PM   #183
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Gentoo, Lubuntu
Posts: 277
Blog Entries: 16

Rep: Reputation: 27
Quote:
Originally Posted by a4z 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.
Feel free to help me too.

I'm not against C++, but maybe bad experience and my dubious knowledge years ago.
I still need to see how the new templating meta-programming techniques increase performance.
And gcc is still a long way to fully support all those (C++11/14/17/20),...

I think I need to update myself around C++, maybe I lagged a bit ever since llvm and spir-v.
 
Old 08-28-2017, 02:48 PM   #184
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Gentoo, Lubuntu
Posts: 277
Blog Entries: 16

Rep: Reputation: 27
This thread is solved since firefox 55, rust and cargo are now part of slackware-current.
 
2 members found this post helpful.
Old 08-28-2017, 03:50 PM   #185
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,160
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Wink

lock?
 
1 members found this post helpful.
Old 08-28-2017, 04:16 PM   #186
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware
Posts: 572
Blog Entries: 23

Rep: Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600Reputation: 600
Quote:
Originally Posted by a4z View Post
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.
Be that as it may, my horrible experiences with boost were on CentOS.
 
Old 08-29-2017, 02:28 AM   #187
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,427

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Quote:
Originally Posted by jheengut View Post
Point,

then to whom does C++ makes sense?

If the current crop cannot properly use C++, then who is to be blamed,....
finally a good point on which i can agree, somehow.

What Linus got right in his mail was, that if you want to use C++ you need to restrict what you use of it ...
what was not true was that than it is like C. It is amazing what the combination of competent people and compiler can do, and we will see even more of C++ in HPC on server and in embedded over the next years.
However, it is hard to reach this level of experiance with C++, is often not a lof of fun, and not do some things wrong is nearly impossible.
We will see if rust will be able to be better than C++, deliver similar performance plus having a language where doing stupid things is not that easy possible. D failed with this miserably, let see if rust will do it better.

but for whom C++ is, maybe it is most easy explained like this: you have a hand full of developers developing v8 engine, which is written in a restricted subset of C++ (google rules), and million of javascript developers writing software on top of it. so definitely not fore everyone, but, for some.
 
Old 08-29-2017, 02:33 AM   #188
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,427

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Quote:
Originally Posted by ttk View Post
Be that as it may, my horrible experiences with boost were on CentOS.
you should have focuses on the second paragraph I have written addressed to you since this contained the relevant information, which you of course ignored deliberately. But you can stay with your opinion, explaining that what works for million of users, C++ and boost, was to hard for you. But I understand that about your personal failure coined your opinions.
 
Old 08-29-2017, 07:40 AM   #189
Delcaran
LQ Newbie
 
Registered: Dec 2013
Location: ud.fvg.it
Distribution: Slackware64 14.2
Posts: 5

Rep: Reputation: 1
Quote:
Originally Posted by jheengut View Post
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.
I have to disagree.

C is a language created when the "king of languages" was assembler, its goals where to provide a way to create machine code on different architectures without the hassle of learning the specific assembler flavour. It was "write once, compile everywhere (provided you have the compiler)". It's a portable assembler.

C++ is a general purpouse language based upon C heritage, with multiple paradigms and designed to be thinkered with by the developer. It's as powerful as it is hard to master: you have full control and multiple ways to reach your goal, but this means that there is an higher chance of mistakes and dangerous errors.

Last edited by Delcaran; 08-29-2017 at 07:57 AM.
 
1 members found this post helpful.
Old 08-29-2017, 12:42 PM   #190
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,427

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Quote:
Originally Posted by jheengut View Post
Feel free to help me too.

I'm not against C++, but maybe bad experience and my dubious knowledge years ago.
I still need to see how the new templating meta-programming techniques increase performance.
And gcc is still a long way to fully support all those (C++11/14/17/20),...

I think I need to update myself around C++, maybe I lagged a bit ever since llvm and spir-v.
support of features is excellent, 17 is nor released, but 11/14 is great!
https://gcc.gnu.org/projects/cxx-status.html
https://gcc.gnu.org/onlinedocs/libst...al/status.html

however, you have already many C++ features today.

llvm is likewise modern, and, and, the situation is today better than ever before, a lot of 17 features are available since some time, you have even branches with preview to discuss 20 features.
The time where compilers are behind are past, today we have actual compilers, even MSVC is not that bad anymore (but I still do not like it and its selective feature support)

template programming is not new, but it evolves, the way modern C++ was in 2001 is not like modern C++ is today
how it is better, look at qsort, it takes void pointers and has no idea about noting in the implementations.
through a template, the compiler knows the type, it will therefore be likewise fast or, mostly, faster.
But if you are lreay interested in this topic, it should be easy possible for you to find the proper documents, presentations and techtalks
 
Old 08-29-2017, 12:55 PM   #191
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 7,633

Rep: Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953
Quote:
Originally Posted by a4z View Post
But if you are lreay interested in this topic, it should be easy possible for you to find the proper documents, presentations and techtalks
Herb Sutter is a particularly good resource.

CppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style"

My current side project is C++ (Qt).

And, uh, don't get me wrong. If Rust were a suitable language for a project, I wouldn't hesitate to choose it over C++.

Last edited by dugan; 08-29-2017 at 01:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:30 PM
Firefox 53 and rust Lenard Spencer Slackware 18 05-01-2017 04:09 PM
LXer: Mozilla's Rust Language Gets A GCC Compiler Front-End LXer Syndicated Linux News 0 12-03-2013 09:21 PM
Is there a Mageia repository that includes a modern Firefox? Timothy Miller Mageia 61 11-12-2013 09:05 PM
svgalib_helper with modern slackware ? WiseDraco Slackware 1 05-28-2011 02:26 PM

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

All times are GMT -5. The time now is 02:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration