TextLayoutSampler
AStarDemo
TextLayoutSampler | AStarDemo | |
---|---|---|
4 | 14 | |
31 | 0 | |
- | - | |
3.7 | 2.5 | |
10 days ago | almost 3 years ago | |
C++ | C++ | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TextLayoutSampler
-
C++/C# interop for Windows (desktop) applications using WinRT
All of them :b (TextLayoutSampler, FontSetViewer, Onnx2Text, LunaSvgSampleTest, BiNums). With the exception of multicolor fonts (e.g. Segoe UI Emoji) and more robust vertical text support for Japanese text, there just haven't been any new APIs since Windows 7 that warrant moving forward for me 🤷♂️. Note all of those are fully C++ based, but I'm also working on a pixel format viewer for which I want C# interop to potentially utilize existing Paint.NET imaging/effect plugins.
-
figcone - Read JSON, YAML, TOML, XML or INI configuration by declaring a struct
I appreciate that you support multiple libraries/file types for the backing serialized text tree representation, for I always thought it silly that configuration tools would often support only a single file type - interop matters! (I had something similar for one of my apps, a general text tree class where the input/output can be JSON/XML/INI)
-
Modules support in visual studio
I can identify with that pain. I first started modularizing one of my projects in 2017, and after reporting another bug, I'd try every new VS release, only to make it another 20% further in the build and encounter another internal compiler issue. Though, it did finally build 100% in VS 2019, consuming Windows.h, some DirectX headers, and various std headers. Boost though, that might still be a beast of complexity beyond.
-
Stability of modules in Visual Studio?
Well I haven't seen that one, but I've gotten other ICE's and linker errors while incrementally modularizing this app over the years. e.g. Common.Variant.ixx(106,1): fatal error C1001: Internal compiler error. I definitely want to file bugs, and have been, but it's tedious to narrow down the ~20'000 line program for a repro 😑, as often times the change is due to elsewhere rather than the reported line itself. I did though get another program of mine (~15'000 lines) completely modularized successfully yesterday with VS2019 16.10.0 Preview 2, after applying the work-around for one linker error and disabling PCH's with modules. 😊 So it's definitely improving.
AStarDemo
-
Module interfaces for pre-built libraries
However, how it is done is compiler specific, see here for an example. The business logic is a static library.
-
Simple usage of C++20 modules
Yes, see https://github.com/pjmlp/AStarDemo/tree/master/AStarDemoLib
- Do you think template classes will ever be able to be split into .h and .cpp files?
-
C++ Modules Might Be Dead-on-Arrival
Nothing serious, but you can look at
https://github.com/pjmlp/ppm2png
https://github.com/pjmlp/AStarDemo
I am also in the process of porting Raytracing Weekend to C++ modules.
- is it still basically useless working with modules in g++-11?
-
A basic ppm (P3) to PNG converter with C++ modules.
I have another one where I use them, https://github.com/pjmlp/AStarDemo.
- Sayonara, C++, and Hello to Rust
- C++20 Modules: Splitting into separate interface & implementation files?
-
Visual Studio 2022 now available
This toy project kills IntelliSense, is unable to use static analysers and given the dependency of C++/WinRT on PCH (which cannot be used on projects with modules), it makes exactly the opposite in desired build times.
- C++ modules, C++/WinRT and UWP sample
What are some alternatives?
cppwinrt - C++/WinRT
cpp-docs - C++ Documentation
figcone - Read JSON, YAML, TOML, XML or INI configuration by declaring a struct
ppm2png - Basic command line utility to convert PPM images (P3) into PNG
STL - MSVC's implementation of the C++ Standard Library.
reflecxx - A static reflection framework for C++, using libclang.
ifc-spec - IFC format specification
conway - conway's game of life
pyshim - An experiment; can i make an LD_PRELOADable shim with Cython?
cxx20-modules-examples - C++20 modules examples
test-dll-modules-visualstudio - Shows an example of Visual Studio projects with a dll project exposing a module and an executable using the module from the dll.