Indexed by TopGit from live GitHub metadata: Chuyu-Team/VC-LTL has 1.1k stars, written primarily in C++. Shared to msvcrt.dll and optimize the C/C++ application file size.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
VC-LTL - An elegant way to compile lighter binaries.
简体中文
VC-LTL 5.0 available, 4.0 version no longer provides support!!!
I would like to turn into a stone bridge, go through 500 years of wind, 500 years of Sun, rain for 500 years, but she walked off a bridge!
1. About VC-LTL
VC-LTL is an open source CRT library based on the MS VCRT that reduce program binary size and say goodbye to Microsoft runtime DLLs, such as msvcr120.dll, api-ms-win-crt-time-l1-1-0.dll and other dependencies.
VC-LTL was originally a dedicated Dism++ runtime and was isolated and open sourced from Dism++ source code on Mar 6, 2017.
There are plenty of modules in large projects. If all binaries uses static
compilation, it will use plenty of disk space and finally may crashed because
of the fiber local storage (FLS) limitation.
But the VC-LTL can make your project using the built-in msvcrt.dll in the
Windows. It solves the C runtime deployment problem and the fiber local storage
(FLS) limitation problem effectively, and greatly reduce the binaries size.
What a handy library!
Everyone can use it for free, even for the commerical use. Of course, I hope
that if you mentioned the VC-LTL in your project, because I want to help more
people.
GitHub: github.com/Chuyu-Team/VC-LTL (English)
Gitee: gitee.com/Chuyu-Team/VC-LTL (Chinese)
QQ Group: 633710173
1.1. The principle of VC-LTL
After using the VC-LTL, the binaries will be dynamically linked to the built-in
msvcrt.dll in the Windows to reduce the binaries size. It is generally
available if you use the VC-LTL in the project using the C Runtime and the STL.
However you cannot use the VC-LTL in the MFC project with the VC-LTL because it
is too complex to support.
After using the VC-LTL, the size of the binaries will reduce about 30%
if compiled from the C++ source code, and about 50% if compiled
from the pure C source code.
Visual Studio 2015 (Support Clang with Microsoft CodeGen, Clang 3.7 with Microsoft CodeGen, Clang-LLVM)
Visual Studio 2017 (Support Clang with Microsoft CodeGen, Clang-LLVM)
Visual Studio 2019 (Support Clang-LLVM)
2.2. Supported Build Tools
Build Tool
Helper
Visual Studio
VC-LTL helper for Visual Studio.props
CMake
VC-LTL helper for cmake.cmake
NMake, CL
VC-LTL helper for nmake.cmd
QMake
VC-LTL helper for qmake.pri
2.3. Supported Windows Versions
OS
x86
x64
arm
arm64
Windows XP, Windows Server 2003
√
√
-
-
Windows Vista, Windows Server 2008
√
√
-
-
Windows 7, Windows Server 2008 R2
√
√
-
-
Windows 8, Windows Server 2012, Windows RT
√
√
√
-
Windows 8.1, Windows Server 2012 R2, Windows RT 8.1
√
√
√
-
Windows 10, Windows Server 2016, Windows Server 2019
√
√
√
√
The binaries compiled with the VC-LTL is compatible with Windows XP and
later, even in the environment which installed no hotfixes.
3. How to used?
We will enter the theme, we have prepared a rich VC-LTL Samples for your reference, and welcome to join our QQ group (633710173).
3.1. Using VC-LTL in Visual Studio
3.1.1. Choose reference mode
3.1.1.1. Reference via NuGet (recommend)
Right-click on the project and select "Manage NuGet Packages", then search for VC-LTL and choose the version that suits you, and finally click Install.
3.1.1.2. Reference via Registry
If you download and unzip VC-LTL Binary to D:\Src\VC-LTL, please double-click D:\Src\VC-LTL\Install.cmd.
The script will save the information in the registry HKCU\Code\VC-LTL.
Copy VC-LTL helper for Visual Studio.props to your project, then open the Property Manager ( View - Property Manager ) and right-click on the Release Configuration, click on Add Existing Property Sheet..., and finally select VC-LTL helper for Visual Studio.props.
3.1.2. Configure Project Properties
C/C++ - Code Generation -Runtime Library adjust to Multi-threaded (/MT)
For XP support, please Right click on the project, Properties - 初雨团队 VC-LTL - 启用 Windows XP兼容 - "Yes".
3.2. Using VC-LTL in CMake
If you download and unzip VC-LTL Binary to D:\Src\VC-LTL, please double-click D:\Src\VC-LTL\Install.cmd.
The script will save the information in the registry HKCU\Code\VC-LTL.
3.2.1. Add VC-LTL Module File
Copy VC-LTL helper for cmake.cmake to your project. Then add include("VC-LTL helper for cmake.cmake") to CMakeLists.txt.
Example:
cmake_minimum_required(VERSION 3.5.2)
project(ltltest)
include("VC-LTL helper for cmake.cmake")
add_subdirectory(src)
3.2.2. Modify The Configuration
Make sure to use /MT to compile project when using VC-LTL. For XP support, please modify VC-LTL helper for cmake.cmake to enable set(SupportWinXP "true").
3.3. Using VC-LTL in NMake/CL
3.3.1. Run VC-LTL Cmd Script
If you download and unzip VC-LTL Binary to D:\Src\VC-LTL, please double-click D:\Src\VC-LTL\Install.cmd.
The script will save the information in the registry HKCU\Code\VC-LTL.
Copy VC-LTL helper for nmake.cmd to your project. Run vcvars32.bat or vcvars64.bat and execute this script. The script will automatically modify the include and lib environment variables.
Make sure to use /MT to compile project when using VC-LTL. For XP support, please modify VC-LTL helper for nmake.cmd to enable set SupportWinXP=true.
3.4. Rebuild (Release only)
Is the file size smaller? If you fail to compile, please refer to 4. FAQ. You can also feedback and work together to improve VC-LTL.
If VC-LTL is referenced correctly, it will be output at the time of generation: note: 进入ltl普通模式,已准备引用到VC-LTL。定义 _DISABLE_DEPRECATE_LTL_MESSAGE 可关闭信息提示。.
Compile with VC-LTL must be compiled with /MT, and all dependent static libraries must also be recompiled with VC-LTL.
The most recent commit recorded on Chuyu-Team/VC-LTL was 5.0 years ago, based on the GitHub push timestamp. The repository has 212 forks — one of the better signals of community interest.
How many stars does Chuyu-Team/VC-LTL have?
Chuyu-Team/VC-LTL has 1.1k GitHub stars — refresh the page for the live number, or check github.com/Chuyu-Team/VC-LTL. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is Chuyu-Team/VC-LTL open source?
Yes — Chuyu-Team/VC-LTL ships under the EPL-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/Chuyu-Team/VC-LTL.
What is Chuyu-Team/VC-LTL?
Chuyu-Team/VC-LTL (Chuyu-Team/VC-LTL) is a C++ project on GitHub. From the project's own README: Shared to msvcrt.dll and optimize the C/C++ application file size.
What language is Chuyu-Team/VC-LTL written in?
Chuyu-Team/VC-LTL is written primarily in C++. GitHub's language field is based on the largest share of bytes in the default branch.
What license does Chuyu-Team/VC-LTL use?
Chuyu-Team/VC-LTL is released under the EPL-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about Chuyu-Team/VC-LTL?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/Chuyu-Team/VC-LTL is the definitive source.
Read full README in the tab above.
Is VC-LTL worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of VC-LTL.