Jump to content

Talk:Carbon (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mathnerd314159 (talk | contribs) at 05:26, 13 December 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputer science Start‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Things you can help WikiProject Computer science with:

WikiProject iconSoftware: Computing Start‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Software, a collaborative effort to improve the coverage of software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computing.

Resources

Since the article in an early stage, It will be nice to list the resources related to the language Charmk (talk) 01:19, 22 July 2022 (UTC)[reply]

A Commons file used on this page or its Wikidata item has been nominated for deletion

The following Wikimedia Commons file used on this page or its Wikidata item has been nominated for deletion:

Participate in the deletion discussion at the nomination page. —Community Tech bot (talk) 15:07, 25 September 2022 (UTC)[reply]

As I wrote in the nomination, per [1] and [2] there is no Carbon language logo and they are deliberately avoiding creating one. So even if the image isn't deleted it should still be removed from here as pretending it is the logo is just misleading. Mathnerd314159 (talk) 01:59, 28 September 2022 (UTC)[reply]

Modern C++

In modern C++ you can also use the -> for return type and specify it as int32_t (since 2011's C++11). https://godbolt.org/z/9vr9f9hzq

#include <iostream>

auto main() -> int32_t {
    auto s = "Hello, World!";
    std::cout << s;
    return 0;
}

194.207.86.26 (talk) 17:18, 11 December 2022 (UTC)[reply]

Since there seems to be a lot of disagreement about the C++ version maybe we should just remove it and have only the Carbon version. Mathnerd314159 (talk) 05:26, 13 December 2022 (UTC)[reply]