modern-cpp-features
cppfront
Our great sponsors
modern-cpp-features | cppfront | |
---|---|---|
47 | 82 | |
18,667 | 5,032 | |
- | - | |
3.9 | 9.6 | |
5 months ago | 7 days ago | |
Python | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
modern-cpp-features
-
C++23: The Next C++ Standard
I'm a little 10 years out from writing C++ professionally and I found this cheat sheet[0] useful. Basically if you have an inkling of the concept you're looking for, just search on that cheat sheet to find the relevant new C++ thing. Specifically for me, we used Boost for smart pointers which are now part of the stdlib, and threads are now part of the stdlib as well.
-
What proportion of C++ used more often than others?
A more productive way to go about it would be to ask "What are the features in each version of C++ past C++11 that I should care about the most?" instead. In that case you could take a look at things like https://github.com/AnthonyCalandra/modern-cpp-features and https://github.com/mortennobel/cpp-cheatsheet, see what appeals to you, ignore what does not.
-
Ask HN: Is C++ making a comeback? βmodern C++β versus Golang/Rust/Zig/Nim?
clickable:
"Welcome back to C++ - Modern C++" https://learn.microsoft.com/en-us/cpp/cpp/welcome-back-to-cp...
"21 New Features of Modern C++ to Use in Your Project" http://www.vishalchovatiya.com/21-new-features-of-modern-cpp...
"What is modern C++"? https://www.reddit.com/r/cpp_questions/comments/tgs6ir/what_...
"C++ is the next C++" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p26...
"modern c++ features" https://github.com/AnthonyCalandra/modern-cpp-features
C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-..."
"C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23
https://github.com/AnthonyCalandra/modern-cpp-features
C++ 23 to introduce module support "https://www.infoworld.com/article/3662808/c-plus-plus-23-to-introduce-module-support.html"
"C++ 2023" https://en.wikipedia.org/wiki/C%2B%2B23
-
Not young programmer wants to find source to liquidate gap in modern C++ knowledge.
I like this summary of features from C++11 to 20: https://github.com/AnthonyCalandra/modern-cpp-features
-
Ask HN: What are great resources to catch up C++?
seriously, don't bother with c++. it will become irrelevant eventually.
but if you choose to ignore my advice, check[0] these[1]
-
C++23: std:out_ptr and std:inout_ptr
This repo has a concise summary of new features, if that is the sort of thing you are looking for: https://github.com/AnthonyCalandra/modern-cpp-features
-
Ask HN: Where can I find C++ by Example?
https://github.com/AnthonyCalandra/modern-cpp-features
-
Google: C++20, How Hard Could It Be
I would suggest to go through https://github.com/AnthonyCalandra/modern-cpp-features; it's quite clean.
- Ask HN: Does anyone have a great public domain list of programming books?
cppfront
-
C++ Safety, in Context
https://github.com/hsutter/cppfront
But his side project at Microsoft didn't gain traction with gcc, clang, etc and everybody else in the industry. So at this point, the C++ committee will be perceived as "so far behind" ... because there's nothing for them to vote on.
- Odin Programming Language
-
C++ Should Be C++
C++ has major flaws that cannot be rectified without serious breaking changes. With that said, Herb has been experimenting with a new cpp frontend with sane defaults [1].
In my opinion, the world is on standby until Anders Hejlsberg feels like tackling a modern, next generation systems language.
-
Toward a TypeScript for C++"
> After the talk, the activity on it is nearly zero since then...
Is that true? Seems like he is actively working on it:
-
Circle Evolves C++ [video]
I had the same vibes with Herb Sutter's cppfront. It offers full source compatibility by introducing a new syntax that can be mixed freely with the traditional syntax. Seems like it's actively being worked on here https://github.com/hsutter/cppfront.
I've not looked at Circle in depth. Do you or anyone else have a perspective on how they compare?
-
Trip Summer ISO C++ standards meeting (Varna, Bulgaria)
> New languages get to distill what works, and incorporate the lessons into their design directly - starting fresh, without the complexity baggage.
I think that may be the motivation for Sutter's work on cpp2.
-
I cannot answer to any comments because I was blocked for NO REASON in #2071 Thank you jonmeow πππ, very good job, I hope they pay you good money for your good work π
Just remember that this is a serious effort to responsibly shepherd the industry's legacy C++ codebases into a brighter future. Nobody should be concerned that cppfront and Val have already shipped prototype implementations of languages that preserve C++ backwards compatibility without bindings, nor that Rust and Zig have shipped implementations for projects where bindings are justified by other factors. Ask yourself, do any of them have a Community Transparency Report? I didn't think so.
-
The Rust I wanted had no future
> - := for assignment is similar enough to what is used in math for definition, so that languages like Pascal use it
I think its cppfront that is taking the approach of `:=` being a declaration with the type being inferred (ie shorthand for `: Type =`). Reading up on that has made me the most ok with applying this to functions (which I see coming up more these days) but I think i still prefer functions having a more distinct look as I process them differently when reading. Now, cppfront's approach to types I think is bonkers, making critical details hard to find except maybe through convention.
https://github.com/hsutter/cppfront
> <> for inequality is something SQL got right
Maybe I'm not recognizing the biases of my own learning background but this never reads right to me vs "not equal" / `!=`.
> - concise keywords like `fn`
In other discussions, it sounded like Graydon had an upper limit of 4 characters for keywords
https://www.reddit.com/r/rust/comments/13oemrg/question_abou...
For me, I had a "whoosh" moment for `fn` and always thought it a weird abbreviation, completely overlooking "fn" keys on laptops.
What are some alternatives?
carbon-lang - Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
vim-cpp-modern - Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23)
jakt - The Jakt Programming Language
serenity - The Serenity Operating System π
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
exotracker-cpp
LoopModels - "Full speed or nothing." - James Hetfield
functools - Functional tools in Go 1.18 using newly introduced generics
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
cpp20_in_TTs - C++20 features described in Before/After tables ("Tony Tables")
OOP-in-C - Simple and efficient implementation of OOP in C suitable for real-time embedded systems.