C++ – Типизированный язык программирования
В нативный код из уютного мира Java: приключение туда и обратно (часть 1)
Java и другие управляемые языки просты и удобны во многих случаях, но иногда их возможностей недостаточно — например, если нужна библиотека, написанная только на C или C++. Иногда хочется позвать пару методов из системного API, или попытаться улучшить производительность для модуля — и тогда прямой путь в нативный код.
Но тут возникают подводные камни: написать нативный метод и вызвать библиотеку может быть и легко, но JVM начинает крашиться в случайных местах, производительность падает, сборщик мусора перестает справляться с работой, а в репозитории царствуют бесконечные C-шные файлы с буквами JNI. Что же могло пойти не так?
Иван Углянский (...
Read full post
В нативный код из уютного мира Java: приключение туда и обратно (часть 1)
Java и другие управляемые языки просты и удобны во многих случаях, но иногда их возможностей недостаточно — например, если нужна библиотека, написанная только на C или C++. Иногда хочется позвать пару методов из системного API, или попытаться улучшить производительность для модуля — и тогда прямой путь в нативный код.
Но тут возникают подводные камни: написать нативный метод и вызвать библиотеку может быть и легко, но JVM начинает крашиться в случайных местах, производительность падает, сборщик мусора перестает справляться с работой, а в репозитории царствуют бесконечные C-шные файлы с буквами JNI. Что же могло пойти не так?
Иван Углянский (...
Read full post
C++ User Group (Youtube)
Алексей Ткаченко — Имитация регистровых интерфейсов в embedded с помощью исключений
Алексей Ткаченко — Имитация регистровых интерфейсов в embedded с помощью исключений
YouTube
Алексей Ткаченко — Имитация регистровых интерфейсов в embedded с помощью исключений
Подробнее о конференции C++ Russia: https://jrg.su/9Sszhd
— —
. . . Концепция памяти в компьютере давно выходит далеко за рамки концепции набора микросхем динамической памяти, установленной в компьютере. Память давно воспринимается как некоторое адресуемое…
— —
. . . Концепция памяти в компьютере давно выходит далеко за рамки концепции набора микросхем динамической памяти, установленной в компьютере. Память давно воспринимается как некоторое адресуемое…
Jason Turner (Youtube)
C++ Weekly - Ep 240 - Start Using [[nodiscard]]!
C++ Weekly - Ep 240 - Start Using [[nodiscard]]!
YouTube
C++ Weekly - Ep 240 - Start Using [[nodiscard]]!
☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟
Note: I'm learning some new software and had issues getting this episode out. The color is different simply because I got it wrong :D
T-SHIRTS AVAILABLE!
► The best C++ T-Shirts anywhere! https://my-store-d16a2f.creator…
Note: I'm learning some new software and had issues getting this episode out. The color is different simply because I got it wrong :D
T-SHIRTS AVAILABLE!
► The best C++ T-Shirts anywhere! https://my-store-d16a2f.creator…
CppCon (Youtube)
Lakos’20: The “Dam” Book is Done! - John Lakos - CppCon 2020
Lakos’20: The “Dam” Book is Done! - John Lakos - CppCon 2020
YouTube
Lakos’20: The “Dam” Book is Done! - John Lakos - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Writing reliable and maintainable C++ software is hard. Designing such software at scale adds a new set of challenges. Large-scale systems require more than just a thorough understanding of the…
https://github.com/CppCon/CppCon2020
---
Writing reliable and maintainable C++ software is hard. Designing such software at scale adds a new set of challenges. Large-scale systems require more than just a thorough understanding of the…
CppCon (Youtube)
C++ Committee's Library Evolution Working Group - Hosted By Bryce Adelstein Lelbach - CppCon 2020
C++ Committee's Library Evolution Working Group - Hosted By Bryce Adelstein Lelbach - CppCon 2020
YouTube
C++ Committee's Library Evolution Working Group - Hosted By Bryce Adelstein Lelbach - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Come join the leaders of the C++ Committee's Library Evolution Working Group to discuss the latest developments in and future of the C++ Standard Library.
---
Hosted By Bryce Adelstein Lelbach…
https://github.com/CppCon/CppCon2020
---
Come join the leaders of the C++ Committee's Library Evolution Working Group to discuss the latest developments in and future of the C++ Standard Library.
---
Hosted By Bryce Adelstein Lelbach…
Abseil Blog & Tips
Abseil Platform Support Update
Abseil Platform Support Update
By Derek Mauro, Abseil Engineer
In September 2017, Abseil made the following support
promise:
We will support our code for at least 5 years. We will support language
versions, compilers, platforms, and workarounds as needed for 5 years after
their replacement is available, when possible. If it is technically infeasible
(such as support for MSVC before 2015, which has limited C++11 functionality),
those will be noted specifically. After 5 years we will stop support and may
remove workarounds.
language feature works on everything except Xcode prior to Xcode 8 ; once
Xcode 8 is out for 5 years, we will drop that workaround s...
Read full post
Abseil Platform Support Update
Abseil Platform Support Update
By Derek Mauro, Abseil Engineer
In September 2017, Abseil made the following support
promise:
We will support our code for at least 5 years. We will support language
versions, compilers, platforms, and workarounds as needed for 5 years after
their replacement is available, when possible. If it is technically infeasible
(such as support for MSVC before 2015, which has limited C++11 functionality),
those will be noted specifically. After 5 years we will stop support and may
remove workarounds.
ABSL_HAVE_THREAD_LOCAL is a good example: the baselanguage feature works on everything except Xcode prior to Xcode 8 ; once
Xcode 8 is out for 5 years, we will drop that workaround s...
Read full post
abseil.io
abseil / Abseil Platform Support Update
An open-source collection of core C++ library code
C++
An index for C++ conferences
https://cpptalksindex.xyz Hi everyone! It started as a toy project, but I think it might help others, especially C++ learners. The goal is for it to be an index of conference talks with a community-managed (on Github) list of tags for each conference that can be searched for. There is one, namely, that I would like to be assigned to introductory talks that could be a great introduction to a particular subject, however difficult it is (one I watched recently was Jody Hagin's talk on metaprogramming). I am watching videos here and there and adding them as I go. The website is far from finished yet, namely: It needs a bit of design, more than the 10 lines of CS...
Read full post
An index for C++ conferences
https://cpptalksindex.xyz Hi everyone! It started as a toy project, but I think it might help others, especially C++ learners. The goal is for it to be an index of conference talks with a community-managed (on Github) list of tags for each conference that can be searched for. There is one, namely, that I would like to be assigned to introductory talks that could be a great introduction to a particular subject, however difficult it is (one I watched recently was Jody Hagin's talk on metaprogramming). I am watching videos here and there and adding them as I go. The website is far from finished yet, namely: It needs a bit of design, more than the 10 lines of CS...
Read full post
reddit
An index for C++ conferences
[https://cpptalksindex.xyz](https://cpptalksindex.xyz) Hi everyone! It started as a toy project, but I think it might help others, especially...
C++
SugarPP: My C++ syntactic sugar collection
https://github.com/HO-COOH/SugarPP I made the project "SugarPP" as my self-made C++ syntactic sugar collection. As a side project, it aims to port some nice features from other languages to C++ (as intuitive as it can possibly get). And I have great fun doing it XD. Currently, the undocumented code is the part I am still working on but somehow get committed. I am humbly looking for advices/new ideas/suggestions/bug reviews/contributions. As I only have a little more than 1 year of C++ experience, the code may be extremely buggy. Please be specific about any issues that I have. submitted by /u/HO-COOH
...
Read full post
SugarPP: My C++ syntactic sugar collection
https://github.com/HO-COOH/SugarPP I made the project "SugarPP" as my self-made C++ syntactic sugar collection. As a side project, it aims to port some nice features from other languages to C++ (as intuitive as it can possibly get). And I have great fun doing it XD. Currently, the undocumented code is the part I am still working on but somehow get committed. I am humbly looking for advices/new ideas/suggestions/bug reviews/contributions. As I only have a little more than 1 year of C++ experience, the code may be extremely buggy. Please be specific about any issues that I have. submitted by /u/HO-COOH
...
Read full post
reddit
SugarPP: My C++ syntactic sugar collection
[https://github.com/HO-COOH/SugarPP](https://github.com/HO-COOH/SugarPP) I made the project "SugarPP" as my self-made C++ syntactic sugar...
CppCon (Youtube)
Back to Basics: Exceptions - Klaus Iglberger - CppCon 2020
Back to Basics: Exceptions - Klaus Iglberger - CppCon 2020
YouTube
Back to Basics: Exceptions - Klaus Iglberger - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020/blob/main/Presentations/back_to_basics_exceptions/back_to_basics_exceptions__klaus_iglberger__cppcon_2020.pdf
---
Exceptions are the native error propagation mechanism in C++. If used properly, exceptions…
https://github.com/CppCon/CppCon2020/blob/main/Presentations/back_to_basics_exceptions/back_to_basics_exceptions__klaus_iglberger__cppcon_2020.pdf
---
Exceptions are the native error propagation mechanism in C++. If used properly, exceptions…
CppCon (Youtube)
Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020
Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020
YouTube
Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Most, if not all, modern CPUs communicate with external devices via memory-mapped device registers. A memory-mapped register is circuitry that connects to a CPU’s bus structure and responds to bus…
https://github.com/CppCon/CppCon2020
---
Most, if not all, modern CPUs communicate with external devices via memory-mapped device registers. A memory-mapped register is circuitry that connects to a CPU’s bus structure and responds to bus…
CppCon (Youtube)
C++20 Ranges in Practice - Tristan Brindle - CppCon 2020
C++20 Ranges in Practice - Tristan Brindle - CppCon 2020
YouTube
C++20 Ranges in Practice - Tristan Brindle - CppCon 2020
https://cppcon.org/
https://github.com/CppCon/CppCon2020
---
Among the many new additions to C++20 are Ranges, a modern revision of the STL offering updated algorithms and new “views” with lazy evaluation.
In this example-based talk we’ll work through several…
https://github.com/CppCon/CppCon2020
---
Among the many new additions to C++20 are Ranges, a modern revision of the STL offering updated algorithms and new “views” with lazy evaluation.
In this example-based talk we’ll work through several…
C++
Resource for learning c++ for an experienced python developer
Hello everyone! I am a master’s student studying Computational Modeling and Simulation. Whenever I start looking at Computer Vision job descriptions I come across C++ as a requirement, so I have decided to learn it. The problem is that I have some experience in Java and python so I need a resource which doesn’t focus more on the barebones (basic oop) and I am facing hard time finding one. This community has a lot of experienced developers, can you suggest a good resource to start with? submitted by /u/kaafilit
[link] [comments]
Resource for learning c++ for an experienced python developer
Hello everyone! I am a master’s student studying Computational Modeling and Simulation. Whenever I start looking at Computer Vision job descriptions I come across C++ as a requirement, so I have decided to learn it. The problem is that I have some experience in Java and python so I need a resource which doesn’t focus more on the barebones (basic oop) and I am facing hard time finding one. This community has a lot of experienced developers, can you suggest a good resource to start with? submitted by /u/kaafilit
[link] [comments]
reddit
Resource for learning c++ for an experienced python developer
Hello everyone! I am a master’s student studying Computational Modeling and Simulation. Whenever I start looking at Computer Vision job...
C++ – Типизированный язык программирования
Как скрестить Clion, Emscripten и Cmake
В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось потратить день или два на эксперименты. И в этой заметке я собираюсь собрать некое "how to", которое в итоге сработало. Читать далее
Как скрестить Clion, Emscripten и Cmake
В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось потратить день или два на эксперименты. И в этой заметке я собираюсь собрать некое "how to", которое в итоге сработало. Читать далее
Хабр
Как скрестить Clion, Emscripten и Cmake
В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось...
C++
Question about "Internal Variable "Result""
Hey folks, Kinda stumped by what this question means, here is it: "Modify stub( ) so that it now takes all three variables as input (arguments) and returns true/false value associated with an internal variable "result" that is initialised as 0" I *think* it's asking me to declare a variable named "result" inside function "stub", declare as bool false, check it against values of args, if args = bool true, then "result" = bool true I'm only a couple weeks new to C++ so still getting to grips with the terminology, cheers folks ✌️ submitted by /u/Outragedbird
[link] ...
Read full post
Question about "Internal Variable "Result""
Hey folks, Kinda stumped by what this question means, here is it: "Modify stub( ) so that it now takes all three variables as input (arguments) and returns true/false value associated with an internal variable "result" that is initialised as 0" I *think* it's asking me to declare a variable named "result" inside function "stub", declare as bool false, check it against values of args, if args = bool true, then "result" = bool true I'm only a couple weeks new to C++ so still getting to grips with the terminology, cheers folks ✌️ submitted by /u/Outragedbird
[link] ...
Read full post
reddit
Question about "Internal Variable "Result""
Hey folks, Kinda stumped by what this question means, here is it: "Modify stub( ) so that it now takes all three variables as input (arguments)...