C & C++

"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ bunitor 4h ago 100%
is anyone on here using cppfront in production?
https://hsutter.github.io/cppfront/

i've been playing with cppfront for a few minutes now and it's been a surprisingly pleasant experience so far. i'm tempted to try it out at work to see what happens, but i wanna know if anyone tried to use it in production and what your experiences are for those who haven't heard of it, cppfront is a cpp2 to c++ compiler, a bit like coffeescript for js. cpp2 is herb sutter's proposal of a new and cleaner c++ syntax with better ergonomics, better orthogonality, and better defaults

7
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ gulia 1w ago 100%
PVS-Studio on CppCast: Exploring the World of C++ Parsing and Analysis

PVS-Studio on CppCast: Exploring the World of C++ Parsing and Analysis Yuri Minaev, the C++ static analyzer architect at PVS-Studio, joins CppCast to talk about static analysis and how PVS-Studio helps develop software. [https://pvs-studio.com/en/blog/video/11127/?utm\_source=website&utm\_medium=mastodon&utm\_campaign=podcast&utm\_content=ccpcast](https://pvs-studio.com/en/blog/video/11127/?utm_source=website&utm_medium=mastodon&utm_campaign=podcast&utm_content=ccpcast) [@cpp](https://lemmy.ml/c/cpp)

3
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ ibra_kdbra 2w ago 81%
Making c++ more accessible to people

A while back, I created a repository for all the C/Cpp projects I’ve worked on, ones I’m still creating, or projects I’ve really liked from other people (including their licenses and credits). It’s essentially a big collection of C++ projects you can browse or use. I recommend starting with: miniShell canChat Simple-Code design-patterns Template_Language_Generator simple_turso CPP20_Develop GitHub repository: https://github.com/ibra-kdbra/Cpp_Projects Every directory has a README markdown file. The main README file is a bit disorganized because I’ve just been adding projects to it. To be honest, I could use some help with that. Any contribution is welcome, spreading Cpp projects more among people

7
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ JRepin 5mo ago 100%
New C++ features in GCC 14
developers.redhat.com

cross-posted from: https://lemmy.ml/post/15682818 > The next major version of the GNU Compiler Collection (GCC), 14.1, was released on May 7 2024. Like every major GCC release, this version brings many additions, improvements, bug fixes, and new features.

10
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ ylai 6mo ago 100%
GCC 14.1 Compiler Aiming For Release Around 7 May
www.phoronix.com
8
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ ylai 6mo ago 80%
Lightning Talk: Write Valid C++ and Python in One File - Roth Michaels - CppCon 2023
www.youtube.com
3
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ RuikkaaPrus 7mo ago 100%
Question: Maybe is impossible to make std::begin (and friends) as friend function

Yes, it is probably a weird question, but I tried a lot, and I started to think that maybe is impossible to overload this template function properly: ```cpp #include <iterator> class Foo { private: const int arr[5] = {10, 20, 30, 40, 50}; public: const int* begin() const { return arr; } friend auto std::begin<>(const Foo &f) -> decltype(f.begin()); } ``` It always throw the same error (in GCC 12.2.0): ``` main.cxx:10:13: error: template-id ‘begin<>’ for ‘const int* std::begin<>(const Foo&)’ does not match any template declaration ``` I just wanna know if is possible do things like this. Thanks.

7
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ chinstrap 9mo ago 100%
WearPico - An open source Smartwatch firmware written in C for the Raspberry Pi Pico
github.com

Hi everyone, I built an open-source Smartwatch firmware for Raspberry Pi Pico in C programming language.The watch has the following features: * Call Management * Notifications * Music and media control * Reminder * Alarms * Lock Screen * Temperature * Touch Gestures * Stopwatch * Calendar * Notepad * Remote Configuration [Check out WearPico's source code!](https://github.com/umutsevdi/wear-pico/)

22
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ ylai 9mo ago 50%
A Journey Into Non-Virtual Polymorphism in C++ - Rudyard Merriam - CppCon 2023
www.youtube.com
0
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ ylai 9mo ago 83%
ISO C++ Standards Committee Panel Discussion - Hosted by Herb Sutter - CppCon 2023
www.youtube.com
4
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ chinstrap 12mo ago 100%
Brauzer - A Browser For Gemini
github.com

Hi everyone I'm writing a web browser for Linux in C programming language. It's a work in progress. It supports HTTP Gemini and Gopher. Check it out. Feel free to contact me for any issues or feature requests.

8
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 12mo ago 90%
Bjarne Stroustrup's Plan for Bringing Safety to C++
thenewstack.io

[r/cpp](https://libreddit.mha.fi/r/cpp/comments/17kgio4/bjarne_stroustrups_plan_for_bringing_safety_to_c)

8
8
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ deaf_fish 12mo ago 100%
Set Stack Memory to a value.

I am writing a unit test and mocking library in C and I want to set the call stack memory to some pre determined value like memset. I want to do this before the test function is called so the test writer can verify they aren't using uninitialized memory in their tests. Is there any somewhat portable way to do this?

2
1
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 1y ago 88%
GCC Preparing To Introduce "-fhardened" Security Hardening Option
www.phoronix.com
14
2
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 1y ago 100%
open source structured thread safe logging library for C

cross-posted from: https://lemmy.ml/post/4072147 > Is there a library for C, providing thread safe (high performance), and structured logging? An example for rust is the Tracing crate for rust (from Tokio). It should support several outputs as well.

4
5
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ glibg10b 1y ago 94%
University is great
45
12
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 1y ago 100%
Making C++ Memory-Safe Without Borrow Checking, Reference Counting, or Tracing Garbage Collection
https://verdagon.dev/blog/vale-memory-safe-cpp

[r/cpp](https://libreddit.mha.fi/r/cpp/comments/14h0ixr/making_c_memorysafe_without_borrow_checking_rc_or)

4
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ JRepin 1y ago 100%
New C++ features in GCC 13
developers.redhat.com

cross-posted from: https://lemmy.ml/post/1447800 > The latest major version of the GNU Compiler Collection (GCC), 13.1, was released in April 2023. Like every major GCC release, this version brings many additions, improvements, bug fixes, and new features. GCC 13 is already the system compiler in Fedora 38. Red Hat Enterprise Linux (RHEL) users will get GCC 13 in the Red Hat GCC Toolset (RHEL 8 and RHEL 9). It's also possible to try GCC 13 on godbolt.org and similar web pages. > > Like the article I wrote about GCC 10 and GCC 12, this article describes only new features implemented in the C++ front end; it does not discuss developments in the C++ language itself. Interesting changes in the standard C++ library that comes with GCC 13 are described in a separate blog post: New C features in GCC 13

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 1y ago 100%
GitHub - orlp/polymur-hash: The PolymurHash universal hash function.
github.com

[r/cpp](https://libreddit.mha.fi/r/cpp/comments/14efjyv/polymurhash_a_fast_hash_with_a_mathematically)

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ Paul 1y ago 75%
Trip report: Summer ISO C++ Meeting in Varna, Bulgaria by Jonathan Müller
www.think-cell.com

Trip report from the first C++26 ISO meeting by foonathan

2
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ Paul 1y ago 100%
Trip report: Summer ISO C++ standards meeting (Varna, Bulgaria) by Herb Sutter
herbsutter.com

Trip report from the first C++26 ISO meeting

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 1y ago 100%
Vinnie Falco: "Re: The Future of Boost - CI"
https://lists.boost.org/Archives/boost/2023/05/254612.php

[r/cpp](https://libreddit.mha.fi/r/cpp/comments/13bw8ud/the_future_of_boost_by_vinnie_falco/)

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 2y ago 100%
C++23 Is Finalized. Here Comes C++26
https://scribe.citizen4.eu/yandex/c-23-is-finalized-here-comes-c-26-1677a9cee5b2

[r/cpp](https://libreddit.spike.codes/r/cpp/comments/117aq4h/c23_is_finalized_here_comes_c26) comments

3
2
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 2y ago 100%
Can C++ Be Saved? Bjarne Stroustrup on Ensuring Memory Safety
thenewstack.io

Reddit comments [r/computerscience](https://libreddit.spike.codes/r/computerscience/comments/10yd9g1/can_c_be_saved_bjarne_stroustrup_on_ensuring/)

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 2y ago 100%
GitHub - hanoglu/TermiC: GCC powered interactive C/C++ terminal created with BASH
github.com

[r/cpp](https://libreddit.spike.codes/r/cpp/comments/y9n52o/gcc_powered_interactive_cc_shell_created_with_bash)

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ Amicchan 2y ago 50%
Carbon, a new programming language from Google, aims to be C++ successor
9to5google.com
0
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ kixik 2y ago 100%
Can you Make it Better? Exploring the CMake Debate - Incredibuild
www.incredibuild.com

Two related reddit discussions: [Overview of the CMake controversy, and break down the pros and cons of the critical C++ tool. ](https://teddit.net/r/programming/comments/ufueci/overview_of_the_cmake_controversy_and_break_down) [What's the hate for CMake all about? Is CMake really that bad? ](https://teddit.net/r/cpp/comments/qum4sq/whats_the_hate_for_cmake_all_about_is_cmake)

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ basiliscos 3y ago 100%
wxWidgets 3.1.6 Released
http://wxwidgets.org/news/2022/04/wxwidgets-3.1.6-released/
2
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ h_d 3y ago 100%
Compile-tome Wordle via the C++ template system
https://vittorioromeo.info/index/blog/wordlexpr.html

Because the world isn't weird enough?

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ basiliscos 3y ago 100%
Supervising in C++: how to make your programs reliable - Basiliscos's blog
https://basiliscos.github.io/blog/2022/02/20/supervising-in-c-how-to-make-your-programs-reliable/
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ basiliscos 3y ago 100%
rotor (c++ actor microframework) v0.19 has been released
https://github.com/basiliscos/cpp-rotor#019-31-dec-2021
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ basiliscos 3y ago 66%
boost v1.78.0 release
https://www.boost.org/users/history/version_1_78_0.html
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ the_tech_beast 3y ago 100%
What are some good resources to learn C++?

I don't know I feel like there aren't many resources to learn C++. Maybe it is because I am not looking hard enough. Can someone here recommend some websites or videos?

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ the_tech_beast 3y ago 100%
What is the use of a void function if it doesn't return a value?
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ basiliscos 3y ago 100%
rotor v0.16 released with improved performanc (c++ actor framework)
github.com
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ the_tech_beast 3y ago 100%
What is the difference between ++i and i++?

I haven't really understood the difference between `i++` and `++i`

3
4
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ the_tech_beast 3y ago 100%
What is the purpose of 'using namespace std' in C++?

cross-posted from: https://lemmy.ml/post/70930 > I am learning C++ and in my book `using namespace std` is written in every program. > I understand that `std::cout <<"hello"; ` can be simply written as `cout << "hello";` by using namespace std. > > Why?

2
3
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ copacetic 3y ago 100%
Parsing Protobuf at 2+GB/s: How I Learned To Love Tail Calls in C
https://blog.reverberate.org/2021/04/21/musttail-efficient-interpreters.html
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ copacetic 3y ago 100%
Modern C++ Won't Save Us
https://alexgaynor.net/2019/apr/21/modern-c++-wont-save-us/
1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCP
C & C++ SourceCode 4y ago 100%
C++Cast: Reducing Memory Allocations.
https://cppcast.com/reducing-memory-allocations/

Rob and Jason are joined by Arnaud Desitter. They first discuss blog posts on parameter passing, fuzzing and push_back vs emplace_back. Then they talk to Arnaud Desitter about his successes improving application performance by reducing memory allocations found using heaptrack.

1
0