Find a file
Tom Englund 64446e1a4c vector2d: make vector trivial
while profiling vector showed up as a marginal waster because it wasnt a
trivial class, a few if(m_someVector != Vector()) was causing a lot of
churn because of not being trivial and doing a lot of allocaitons and
destructions. make it trivial by defaulting constructor, and destructor,
and while we are at it make it constexpr friendly on constructors and
operators.
2025-09-28 00:01:31 +02:00
.github/workflows CI/Nix: add cache-nix-action 2025-06-20 01:11:36 +03:00
include/hyprutils vector2d: make vector trivial 2025-09-28 00:01:31 +02:00
nix nix: make mold optional 2025-08-21 20:05:54 +03:00
src vector2d: make vector trivial 2025-09-28 00:01:31 +02:00
tests memory: Add C++ cast aliases; replace existing casts and remove redundant casts (#71) 2025-08-06 14:00:50 +02:00
.clang-format utils: Initial Commit 2024-06-08 19:37:15 +02:00
.clang-tidy core: clang, clang-tidy fixes and comp options (#45) 2025-02-02 20:36:28 +01:00
.editorconfig core: add editorconfig (#61) 2025-06-26 11:44:09 +02:00
.gitignore memory: add CAtomicSharedPointer and CAtomicWeakPointer (#57) 2025-06-25 19:41:24 +02:00
CMakeLists.txt version: bump to 0.8.0 2025-06-26 18:23:47 +02:00
flake.lock nix: use gcc15 (#54) 2025-06-05 15:55:56 +01:00
flake.nix Nix: move overlays to nix/ and add debug package 2025-06-20 01:11:34 +03:00
hyprutils.pc.in utils: Initial Commit 2024-06-08 19:37:15 +02:00
LICENSE Initial commit 2024-06-08 18:51:36 +02:00
README.md README: fix invalid getconf value 2024-11-22 15:11:21 +00:00
VERSION version: bump to 0.8.4 2025-08-25 12:23:08 +02:00

hyprutils

Hyprutils is a small C++ library for utilities used across the Hypr* ecosystem.

Stability

Hyprutils depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for hyprutils ABI breaks, not stdlib.

Building

git clone https://github.com/hyprwm/hyprutils.git
cd hyprutils/
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
sudo cmake --install build