Arduino Forum

Community => Bar Sport => Topic started by: TheUNOGuy on Sep 16, 2020, 05:34 am

Title: Will C++ be used in the future?
Post by: TheUNOGuy on Sep 16, 2020, 05:34 am
With new and easy languages coming up, I feel the need of C++ with be lesser in the future. In C++ to print hello world, you need to write 4-5 lines of code but in python only one line!

C++ is an older and more complex language. So will it be used in the future?
Title: Re: Will C++ be used in the future?
Post by: larryd on Sep 16, 2020, 05:49 am
Yes



Title: Re: Will C++ be used in the future?
Post by: TheUNOGuy on Sep 16, 2020, 06:09 am
 :D
Title: Re: Will C++ be used in the future?
Post by: Robin2 on Sep 16, 2020, 09:25 am
Will oxygen be needed in the future?



There is a newish language called Rust that claims to be better - but whether it will become popular is another matter. And then there will be all those legacy C and C++ programs.

C++ will never be ousted by interpreted languages such as Python - it has altogether different capabilities.

...R
Title: Re: Will C++ be used in the future?
Post by: TheMemberFormerlyKnownAsAWOL on Sep 16, 2020, 09:34 am
Well, COBOL is still around
Title: Re: Will C++ be used in the future?
Post by: TheUNOGuy on Sep 16, 2020, 02:02 pm
Well, COBOL is still around
Actually...
C++ will never be ousted by interpreted languages such as Python - it has altogether different capabilities.

:)
Title: Re: Will C++ be used in the future?
Post by: Robin2 on Sep 16, 2020, 02:56 pm
Actually...:)
I don't understand the point you are making.

...R
Title: Re: Will C++ be used in the future?
Post by: Henry_Best on Sep 16, 2020, 06:08 pm
Well, COBOL is still around
FORTRAN?
ADA?
But yes, C & C++ will be around for a long time.
Title: Re: Will C++ be used in the future?
Post by: Paul_KD7HB on Sep 16, 2020, 06:21 pm
With new and easy languages coming up, I feel the need of C++ with be lesser in the future. In C++ to print hello world, you need to write 4-5 lines of code but in python only one line!

C++ is an older and more complex language. So will it be used in the future?
Perhaps you should investigate the language that the PYTHON interpreter is written in.

Paul
Title: Re: Will C++ be used in the future?
Post by: Budvar10 on Sep 19, 2020, 07:27 pm
Nothing is eternal, but I think C++ will be here for a while and maybe longer than other more modern languages.
Title: Re: Will C++ be used in the future?
Post by: wilykat on Sep 25, 2020, 03:11 am
Anything is possible if someone's willing to code a translator to convert to binary for uploading.   BASIC, LOGO, PASCAL, PILOT, etc.

Anyone know of a FORTRAN programmer for Arduino?    :D
Title: Re: Will C++ be used in the future?
Post by: J-M-L on Sep 27, 2020, 09:55 am
Anyone know of a FORTRAN programmer for Arduino?    :D
well f2c (https://www.systutorials.com/docs/linux/man/1-f2c/) can get you started... (the f77 compiler was written in C and relied on a C compiler back end)