PartialExecuter: уменьшение размера WebAssembly за счет изучения всех выполнений в LLVM.
https://medium.com/leaningtech/partialexecuter-reducing-webassembly-size-by-exploring-all-executions-in-llvm-f1ee295e8ba
https://medium.com/leaningtech/partialexecuter-reducing-webassembly-size-by-exploring-all-executions-in-llvm-f1ee295e8ba
Medium
PartialExecuter: Reducing WebAssembly size by exploring all executions in LLVM
Adding a new IR optimization that allows to compile unused code away in Cheerp. Idea generation, pseudo-code, and some magic with graphs.
Функция strrchr()
В C++ strrchr() - это предопределенная функция, используемая для обработки строк. Эта функция возвращает указатель на всю строку после последнего появления заданного символа. Символ, последнее вхождение которого мы хотим найти, передается в качестве второго аргумента функции, а строка, в которой мы должны найти этот символ, передается в качестве первого аргумента функции.
В примере кода на картинке мы используем функцию для того, чтобы найти порядковый номер символа в заданной строке.
В C++ strrchr() - это предопределенная функция, используемая для обработки строк. Эта функция возвращает указатель на всю строку после последнего появления заданного символа. Символ, последнее вхождение которого мы хотим найти, передается в качестве второго аргумента функции, а строка, в которой мы должны найти этот символ, передается в качестве первого аргумента функции.
В примере кода на картинке мы используем функцию для того, чтобы найти порядковый номер символа в заданной строке.
libriscv: многопроцессорность для вычислительных функций.
https://fwsgonzo.medium.com/multiprocessing-in-a-risc-v-emulator-ce910122f4f1
https://fwsgonzo.medium.com/multiprocessing-in-a-risc-v-emulator-ce910122f4f1
Medium
libriscv: Multiprocessing for Compute Functions
Using tiny forked VMs to accelerate compute functions (for personal projects)
Параллельное программирование на C++.
https://youtu.be/diEAEFly9ak?list=PLxNPSjHT5qvugVNYwtQwnvSQyvlbzAML3
https://youtu.be/diEAEFly9ak?list=PLxNPSjHT5qvugVNYwtQwnvSQyvlbzAML3
YouTube
Practical Parallelism in C++: Introduction
In this video we discuss the basics of multi-threading in C++!
For code samples: https://github.com/coffeebeforearch
For live content: https://twitch.tv/CoffeeBeforeArch
For code samples: https://github.com/coffeebeforearch
For live content: https://twitch.tv/CoffeeBeforeArch
Почему важно безопасное программирование и почему важен такой язык, как Rust.
https://dev.to/oktadev/why-safe-programming-matters-and-why-a-language-like-rust-matters-3m45
https://dev.to/oktadev/why-safe-programming-matters-and-why-a-language-like-rust-matters-3m45
DEV Community
Why Safe Programming Matters and Why a Language Like Rust Matters
Why safe programming matters and why I would choose Rust for that. We will also talk about Fast and safe programming with Rust.
SFINAE, непосредственный контекст, оператор << и '\n'.
https://www.cppstories.com/2022/sfinea-immediate-context/
https://www.cppstories.com/2022/sfinea-immediate-context/
C++ Stories
SFINAE, Immediate Context, Operator << and '\n'
In this blog post, I’ll show and explain a strange-looking error about tuple_size_v and instantiation for \n character. You’ll see some tricky parts of SFINAE and how the compiler builds the overload resolution set.
Let’s go.
A surprising error When doing…
Let’s go.
A surprising error When doing…
Управление зависимостями с помощью Meson + WrapDB.
https://nibblestew.blogspot.com/2021/05/managing-dependencies-with-meson-wrapdb.html
https://nibblestew.blogspot.com/2021/05/managing-dependencies-with-meson-wrapdb.html
Blogspot
Managing dependencies with Meson + WrapDB
A recent blog post talked about how to build and manage dependencies with CMake and FetchContent . The example that they used was a simple ...
Продвинутый курс лекций по алгоритмам с ФИВТ МФТИ.
https://youtube.com/playlist?list=PL4_hYwCyhAvYzrbNOLAy-EczKdAbWoRDK
https://youtube.com/playlist?list=PL4_hYwCyhAvYzrbNOLAy-EczKdAbWoRDK
YouTube
Алгоритмы, продвинутый поток (1 курс, 2020)
Share your videos with friends, family, and the world
Пост о том, как пользователь Reddit создал миниатюрную версию робота-собаки Boston Dynamics с помощью Raspberry Pi, C++ и Python.
https://www.raspberrypi.com/news/mini-raspberry-pi-boston-dynamics-inspired-robot/
https://www.raspberrypi.com/news/mini-raspberry-pi-boston-dynamics-inspired-robot/
Raspberry Pi
Mini Raspberry Pi Boston Dynamics–inspired robot - Raspberry Pi
Mike wanted to teach themself robotic software development, so they took inspiration from Boston Dynamics' Spot and made a mini Raspberry Pi–powered version.
Современный C++: безопасность и выразительность с override и final.
https://www.cppstories.com/2021/override-final/
https://www.cppstories.com/2021/override-final/
C++ Stories
Modern C++: Safety and Expressiveness with override and final
While C++11 is with us for a decade now, it’s good to go back and recall some of its best features. Today I’d like to consider override and final keywords which add a crucial safety when you build class hierarchies with lots of virtual member functions.
See…
See…
SFINAE, непосредственный контекст, оператор << и '\n'.
https://www.cppstories.com/2022/sfinea-immediate-context/
https://www.cppstories.com/2022/sfinea-immediate-context/
C++ Stories
SFINAE, Immediate Context, Operator << and '\n'
In this blog post, I’ll show and explain a strange-looking error about tuple_size_v and instantiation for \n character. You’ll see some tricky parts of SFINAE and how the compiler builds the overload resolution set.
Let’s go.
A surprising error When doing…
Let’s go.
A surprising error When doing…
Как вы смотрите на добавление контента по Си?
Anonymous Poll
56%
Интересно, полезно и нужно
44%
Нужен только С++
Модули C++ в CMake с Visual Studio.
https://devblogs.microsoft.com/cppblog/cpp20-modules-in-cmake-with-vs/
https://devblogs.microsoft.com/cppblog/cpp20-modules-in-cmake-with-vs/
Microsoft News
C++ Modules in CMake with Visual Studio
We’ve seen a lot of excitement around C++ modules since we announced support in the Microsoft C++ compiler and Visual Studio. Ever since, the community has been asking us when CMake support was coming. I am happy to announce that Visual Studio 2022 17.2 Preview…
Деревья поиска — минимально функциональное дерево поиска для целочисленных ключей, обеспечивающее ускорение до 18x/8x по сравнению с std::set и до 7x/2x по сравнению с absl::btree для запросов lower_bound и вставки.
https://proglib.io/w/ead223ca
https://proglib.io/w/ead223ca
STT — инструментарий глубокого обучения для преобразования речи в текст. Обучение и развертывание моделей STT еще никогда не было таким простым.
https://proglib.io/w/f39a9ced
https://proglib.io/w/f39a9ced
Libhunt
STT Alternatives and Reviews (May 2023)
Which is the best alternative to STT? Based on common mentions it is: ✅TTS, ✅DeepSpeech, ✅NeMo, ✅Vosk-api, ✅Mozilla/TTS, ✅Flashlight/Flashlight or ✅OBS-captions-plugin