pagghiu / sanecpplibraries Goto Github PK
View Code? Open in Web Editor NEWSane C++ Libraries
Home Page: https://pagghiu.github.io/SaneCppLibraries
License: MIT License
Sane C++ Libraries
Home Page: https://pagghiu.github.io/SaneCppLibraries
License: MIT License
Currently VSCode build and run configuration exist only for macOS and Linux.
It would be cool to have a VSCode build / run configuration for Windows.
Ideally it should be possible building using the generated Visual Studio file or the Makefile, that would need to be modified, as it's currently Posix only.
Sockets library only supports TCP so far and adding UDP support would be great ๐
We should really create some GitHub pipelines that are:
SCBuild.bat
(windows), SCBuild.sh
(Linux / macOS)SCTest
project or makefile)SCTest
executable)And this should be running on:
so that we can make it a prerequisite for any MR
We definitively can use SC::ThreadPool
to run Async File Read / Write on background threads for all backends that don't have native support for it (i.e. anything excluding io_uring
for buffered disk files).
Threading library really needs to be complete, with the addition of a semaphore and a scoped mutex lock / unlock class.
Currently SC::Atomic<T>
only supports bool
and int32_t
.
Support for more types should be added and also we need some way of adding real tests or at least validations that the various compiler specific directives are doing the right thing.
Useful algorithms could be:
We should compute code coverage for all three supported platform.
It would be cook to display a code coverage badge somewhere in the readme.
We should really add a GitHub pipeline that fails if the code is not formatted with clang-format
.
The script should be along these lines:
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
ROOT_DIR="${SCRIPT_DIR}/.."
SOURCE_DIR="${ROOT_DIR}/../SC"
HOST_TOOLS="${ROOT_DIR}/_Build/HostTools"
CLANG_FORMAT="$HOST_TOOLS/clang/bin/clang-format"
cd "${SOURCE_DIR}" && find . \( -iname \*.h -o -iname \*.cpp -o -iname \*.mm -o -iname \*.m -o -iname \*.inl \) -not \( -path "*/Dependencies/*" -o -path "*/Build/Windows/resource.h" \) | xargs "${CLANG_FORMAT}" -i
Hi there, cool project!
Any plans to support io_uring
backends for Async I/O (and event loop)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.