Talk:C++
This is the talk page for discussing improvements to the C++ article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12Auto-archiving period: 2 months ![]() |
|
![]() | C++ was one of the Engineering and technology good articles, but it has been removed from the list. There are suggestions below for improving the article to meet the good article criteria. Once these issues have been addressed, the article can be renominated. Editors may also seek a reassessment of the decision if they believe there was a mistake. | |||||||||||||||||||||
|
![]() | This ![]() It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Move Language section to C++ syntax
[edit]The Language section is excessively long and provides copious amounts of technical information that isn’t appropriate when pages like C++ syntax exists (it was previously a redirect page to this section, but there is no reason to leave it as a redirect when such a page could be expanded to contain the technical information). Pages such as Java (programming language) are much more concise and leave the intricacies of syntax to its own page, Java syntax. Therefore I propose that the section should be cleared or at least simplified enough to shorten and keep the technical details to the dedicated page. 72.136.107.164 (talk) 20:53, 27 February 2025 (UTC)
- This is not an RfC matter. Discuss in the normal way please. If it is felt that broader input is needed, the procedure described at WP:SPLIT should be followed. --Redrose64 🌹 (talk) 19:40, 3 March 2025 (UTC)
- I do think that Language should be moved to a different article, as it is quite long. It would also be good to split it for people who want to learn the language and for people who just want to learn the history of the language as they may get confused. Vivaidris (talk) 19:46, 10 March 2025 (UTC)
- I think it would be ideal if the Language section were not deleted entirely, but trimmed or otherwise rewritten only to contain rudimentary knowledge/information on the language, while detailed information about the language and its syntax were moved to the C++ syntax page. 129.97.124.47 (talk) 22:37, 10 March 2025 (UTC)
- It's been a month since this discussion began and there hasn't been much disagreement (though admittedly not much engagement at all), is it okay to just make the requested changes? 129.97.124.74 (talk) 11:06, 28 March 2025 (UTC)
- Well, have you left notes at interested Wikiprojects, like Wikipedia talk:WikiProject C/C++ or Wikipedia talk:WikiProject Computer science? Templates such as
{{fyi}}
and{{subst:please see}}
are available for this. --Redrose64 🌹 (talk) 15:17, 29 March 2025 (UTC)
- Well, have you left notes at interested Wikiprojects, like Wikipedia talk:WikiProject C/C++ or Wikipedia talk:WikiProject Computer science? Templates such as
Proposed Edits to C++ Compatibility Section: C++ and Assembly
[edit]I would like to update the compatibility section of the C++ article to include a brief mention of the relationship between C++ and Assembly language. The goal is to highlight how C++ can interface with Assembly, particularly in contexts where low-level programming or performance optimizations are required, looking for any feedback or advice before I begin editing.
Key Points to be Added:
[edit]- Interfacing with Assembly: C++ allows for the inclusion of inline assembly, enabling programmers to write assembly code within C++ programs for tasks that require direct hardware manipulation or highly optimized routines.
- Assembly Language Integration: Many C++ compilers, like GCC and MSVC, support integrating assembly code into C++ programs, offering fine-grained control over system resources.
- Performance Considerations: C++’s low-level access and ability to combine with assembly language can be crucial for performance-critical applications, particularly in embedded systems or system programming.
References
[edit]Vasisht25 (talk) 16:08, 30 March 2025 (UTC)
Integrating C++ with other programming languages
[edit]I plan to update the compatibility section of the main article by adding a subsection to briefly talk about how to integrate C++ with other programming languages like Python, Java, and JavaScript. Considering corporate C++ with other languages offers significant advantages[1], highlighting a few connections with other languages might be worthwhile. The initial contents I plan to add are shown below:
Integrating C++ with other programming languages:
[edit]Integrate with Python (programming language):
- pybind11[2] is a lightweight, header-only library that enables seamless interoperability between C++ and Python by exposing C++ types to Python and vice versa.
Integrate with Java (programming language):
- Java Native Interface enables Java code to run libraries written in C++.
Integrate with JavaScript:
- Node.js allows integration with C++ code for performance-critical tasks or to utilize existing C/C++ libraries.
Sswekinng (talk) 02:31, 31 March 2025 (UTC)
Update to Standardization Section
[edit]I'm looking to append to the bullet points in this section with two recently published technical reports and documents from the C++ International Organization for Standardization. ISO/IEC TS 9922:2024[2] offers specifications for C++ extensions for concurrency 2, and ISO/IEC TS 19568:2024[3] covers C++ extensions for library fundamentals. I believe these additions will keep the article page more up to date with the committee. TheGreatMuffinMan125 (talk) 04:35, 31 March 2025 (UTC)
- ^ Obregon, Alexander (May 11, 2024). "Integrating C++ with Other Languages". Medium. Retrieved March 30, 2025.
- ^ "pybind11 — Seamless operability between C++11 and Python". pybind11.readthedocs.io. Retrieved March 30, 2025.
- Delisted good articles
- Old requests for peer review
- Former good article nominees
- B-Class level-5 vital articles
- Wikipedia level-5 vital articles in Technology
- B-Class vital articles in Technology
- B-Class C/C++ articles
- Top-importance C/C++ articles
- C++ articles
- WikiProject C/C++ articles
- B-Class Computer science articles
- High-importance Computer science articles
- WikiProject Computer science articles
- B-Class Computing articles
- Top-importance Computing articles
- B-Class software articles
- Top-importance software articles
- B-Class software articles of Top-importance
- All Software articles
- All Computing articles
- B-Class Microsoft articles
- Top-importance Microsoft articles
- WikiProject Microsoft articles