Serving the Quantitative Finance Community

 
User avatar
tagoma
Topic Author
Posts: 2301
Joined: February 21st, 2010, 12:58 pm

Google's Carbon

July 27th, 2022, 3:41 pm

Have you friends had a look at the new program language, namely Carbon, Google argues is the new C++?
 
User avatar
katastrofa
Posts: 6976
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Google's Carbon

July 27th, 2022, 7:36 pm

Memory safe C++, allegedly. But no quality commitee, just Google.
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

July 27th, 2022, 8:04 pm

Memory safe C++, allegedly. But no quality commitee, just Google.
Just another language. Jaysush, have they nothing better to do.


Carbon is an open and experimental general-purpose programming language created at Google to be a "C++ successor language". It was first presented to the public by Chandler Carruth at the CppNorth conference in July of 2022.[1

Image
вот мой дорогой двоюродный брат
 
User avatar
katastrofa
Posts: 6976
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Google's Carbon

July 27th, 2022, 9:37 pm

This Chandler?
https://github.com/chandlerc?tab=repositories
Image
On github, next to this guy, even I look like a WIG21 member.
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

July 28th, 2022, 10:25 pm

I read the part on "modern generics system" whatever that's suppose to mean. C++20 can do it already. 

New wine in old bottles.

When is it shipping?
вот мой дорогой двоюродный брат
 
User avatar
tagoma
Topic Author
Posts: 2301
Joined: February 21st, 2010, 12:58 pm

Re: Google's Carbon

July 29th, 2022, 12:26 pm

Personally, I would be glad to try it out. But "install homebrew, clang/llvm, etc..."
.
 
 
User avatar
katastrofa
Posts: 6976
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Google's Carbon

July 29th, 2022, 7:08 pm

Use Rust!
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

July 29th, 2022, 8:48 pm

Use Rust!
yes! 
вот мой дорогой двоюродный брат
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

July 30th, 2022, 4:19 pm

Actually, this is a ridiculous idea. Most organisations don't have money to burn (let alone become Carbon alpha testers) and have no desire nor RESOURCES to port legacy code to an experimental language that someone has announced of the blue.

The kiss of death is you have to learn and C++.

What do I know.

C++ is struggling to improve and meet developers' needs, as outlined above. This is in no small part due to accumulating decades of technical debt. Improving C++ is extremely difficult, due to the technical debt and challenges with its evolution process. The best way to address these problems is to avoid directly inheriting the legacy of C or C++.

Chandler Carruth has an MSc in Computer Science 2006 from Wake Forest University.
вот мой дорогой двоюродный брат
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

August 1st, 2022, 9:33 am

Google slows hiring citing ‘uncertain’ outlook as recession threat rises

https://www.ft.com/content/a5e774c6-a58 ... 8098d3ae2e


“Moving forward, we need to be more entrepreneurial, working with greater urgency, sharper focus, and more hunger than we’ve shown on sunnier days,” Pichai wrote. “In some cases, that means consolidating where investments overlap and streamlining processes.”
вот мой дорогой двоюродный брат
 
User avatar
GiusArg
Posts: 16
Joined: January 26th, 2022, 5:35 pm

Re: Google's Carbon

August 4th, 2022, 6:58 am

Embarrassing display of smear and mockery towards one person, for lack of better arguments, compounded by elitism.

If the existence of a large legacy code base becomes the main or the only reason to convince people to learn C++, while its issues are not fixed, the generational turnover will kill it anyway, because maintaining it will be more painful and costly than rewriting it, in a new language.
 
User avatar
katastrofa
Posts: 6976
Joined: August 16th, 2007, 5:36 am
Location: Alpha Centauri

Re: Google's Carbon

August 4th, 2022, 9:33 am

Ineed, there's nothing on which we could base constructive criticism - I understand underpant gnomes are working on it as we speak.
(Not towards one person but what they epitomise.)
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

August 4th, 2022, 9:38 am

Embarrassing display of smear and mockery towards one person, for lack of better arguments, compounded by elitism.

If the existence of a large legacy code base becomes the main or the only reason to convince people to learn C++, while its issues are not fixed, the generational turnover will kill it anyway, because maintaining it will be more painful and costly than rewriting it, in a new language.
You are projecting. Your words, not mine.  I think you miss the point.

 main or the only reason to convince people to learn C++
nah; you don't know C++?

maintaining it will be more painful and costly than rewriting it, in a new language.
In my 45 years in this area, rewrites are few and far between. 
Choice: maintain ==> known unknown; rewrite; the abyss, Empty Quarter. Management will NEVER agree  :shock:
Maintenance costs paid by customer, hence there is a budget.

All my investments is with my own money. I'm out.
вот мой дорогой двоюродный брат
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

August 4th, 2022, 9:55 am

Have you friends had a look at the new program language, namely Carbon, Google argues is the new C++?
Talk is cheap. How many times have heard this down all the years???

Smalltalk
Objective C
Eiffel
Java
C#
Trellis
Python (wrapper libraries for C++ and Fortran)
Ruby
PHP (!!)
D
Carbon
вот мой дорогой двоюродный брат
 
User avatar
Cuchulainn
Posts: 17680
Joined: July 16th, 2004, 7:38 am
Location: Lviv

Re: Google's Carbon

August 4th, 2022, 10:02 am

Caveat: We could be wrong, always leave that option open :-) If you pay me, I'll do some alpha/beta testing.
I bet on C++ in1989, I got lucky I suppose.

Image
вот мой дорогой двоюродный брат