🍌 C++ Feed
305 subscribers
218 photos
12.7K links
Агрегатор всего подряд про C++.

Для связи: @smertig

Powered by https://github.com/Smertig/banana
Download Telegram
C++ – Типизированный язык программирования
В нативный код из уютного мира Java: приключение туда и обратно (часть 1)

Java и другие управляемые языки просты и удобны во многих случаях, но иногда их возможностей недостаточно — например, если нужна библиотека, написанная только на C или C++. Иногда хочется позвать пару методов из системного API, или попытаться улучшить производительность для модуля — и тогда прямой путь в нативный код.

Но тут возникают подводные камни: написать нативный метод и вызвать библиотеку может быть и легко, но JVM начинает крашиться в случайных местах, производительность падает, сборщик мусора перестает справляться с работой, а в репозитории царствуют бесконечные C-шные файлы с буквами JNI. Что же могло пойти не так?

Иван Углянский (...

Read full post
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. ABSL_HAVE_THREAD_LOCAL is a good example: the base
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
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
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
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]
C++ – Типизированный язык программирования
Как скрестить Clion, Emscripten и Cmake

В этой статье я хотел бы пройтись и показать основные моменты того, как настроить IDE CLion для компиляции CMake проекта средствами Emscripten. Когда я занимался этим скрещиванием мне пришлось потратить день или два на эксперименты. И в этой заметке я собираюсь собрать некое "how to", которое в итоге сработало. Читать далее
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