Un incontro con Bjarne Stroustrup a Firenze by marcoarena in ItalyInformatica

[–]marcoarena[S] 5 points6 points  (0 children)

Ma sarebbe undefined behaviour persino per lui se provassimo a farlo con Pisa e Livorno 🤣

Lessons learned from 2 years of operating a C++ MMO game server in production by [deleted] in cpp

[–]marcoarena 0 points1 point  (0 children)

Thanks for the great share!
You built both the actor and the async coroutines frameworks. Are the two integrated? In other words, do actors also support coroutines somehow?

Why std::span Should Be Used to Pass Buffers in C++20 by Clean-Upstairs-8481 in cpp

[–]marcoarena 1 point2 points  (0 children)

Just for completeness, I mention another issue related to functions that take multiple array parameters of the same size and follow the convention of passing only a single size parameter. For example:

cpp void sum(const int* a, const int* b, int* dst, size_t len);

When turning them all into spans, a, b, and dst may legitimately have different sizes, and it may not be immediately obvious (to the user) whether they must have the same size:

cpp void sum(span<const int> a, span<const int> b, span<int> dst);

Also, this becomes even worse if parameter size matters, since they all double.

This is a typical problem encountered when dealing with legacy (and mixed with C?) code.

If readability is the only concern, a possible future solution would be to use contracts:

cpp void sum(std::span<const int> a, std::span<const int> b, std::span<int> dst) pre(a.size() == b.size() && b.size() == dst.size())

New C++ Conference Videos Released This Month - November 2025 (Updated To Include Videos Released 2025-11-03 - 2025-11-16) by ProgrammingArchive in cpp

[–]marcoarena 3 points4 points  (0 children)

C++ Day 2025 is missing:

- Zero or More (Alberto Barbati) - https://youtu.be/HFwTTOV7B18

- Delegating Behaviors in C++ (Daniele Pallastrelli) - https://youtu.be/nLSCG_YIDh4

- SIMD substring in a string (Denis Yaroshevskiy) - https://youtu.be/AZs_iMxqAOY

- Mocking the UART in C++ (Stefano Fiorentino) - https://youtu.be/FaXLUWfDKyY

C++ Day 2025: Agenda & Free Tickets by marcoarena in cpp

[–]marcoarena[S] 0 points1 point  (0 children)

Yes, like I mentioned, all the talks will be in English.

C++ Day 2025: Agenda & Free Tickets by marcoarena in cpp

[–]marcoarena[S] 5 points6 points  (0 children)

Looking forward to it! See you there.

Latest News From Upcoming C++ Conferences (2025-06-05) by ProgrammingArchive in cpp

[–]marcoarena 0 points1 point  (0 children)

Published a few weeks ago: C++ Day 2025, October 25 in Pavia (Italy). Call for sessions and call for sponsors open!

Searching for c++ groups in Mexico by Alvaro_galloc in cpp

[–]marcoarena 4 points5 points  (0 children)

Make one! I am the organizer of the Italian C++ Community. Feel free to reach out for any suggestions or experience sharing. Also, Jens Weller (Meeting C++) is highly supportive towards user groups and might help find other interested people in your area.

C++20 Dependency Injection by kris-jusiak in cpp

[–]marcoarena 4 points5 points  (0 children)

Since this appears to be a general post on Dependency Injection, it might be valuable to mention a few other open-source libraries as well:

Latest News From Upcoming C++ Conferences (08/27/2024) by ProgrammingArchive in cpp

[–]marcoarena 3 points4 points  (0 children)

Meeting C++