Mercurial
diff README.md @ 33:c0f6c8c7829f
[Seobeo] Linux epoll. Set the client socket to be nonblocking so that it doesn't stop loading when two different threads handle different client calls. I might have problem with socket not being cleaned up properly so need to check that.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 10 Oct 2025 06:59:32 -0700 |
| parents | 947b81010aba |
| children | 043018c0f2f8 |
line wrap: on
line diff
--- a/README.md Thu Oct 09 07:03:36 2025 -0700 +++ b/README.md Fri Oct 10 06:59:32 2025 -0700 @@ -1,11 +1,29 @@ # Zenbu -This is a mono repo where I will share all my codes and utilize them using bazel. -I decied to do this since I re-use codes often and I don't want to deal with making make -and cmake every time and this eliminates the problem that exists within C or C++ where using -library is harder as we need to add gzillian stuff into it lmao. +This is a mono repo where I will share all my codes and utilize them using bazel. I decied to do this since I re-use codes often and I don't want to deal with making make and cmake every time and this eliminates the problem that exists within C or C++ where using library is harder as we need to add gzillian stuff into it lmao. + + +## Install + +I decide to use mercurial because I got used to this over git and I frankly don't need different branches for each feature to be merged in. +I also decied to use the bazel for code sharing as I mentioned above. -# Debugging Command +``` +# linux +wget https://github.com/bazelbuild/bazelisk/releases/download/v1.18.0/bazelisk-linux-amd64 # Hope it still works lmao +chmod +x bazelisk-linux-amd64 +sudo mv bazelisk-linux-amd64 /usr/local/bin/bazel +bazel version + +# mac +brew install bazel +``` + +I might move these binary into the repo so that it has full history of it + +I assume mercurial is installed as well. + +## Debugging Command ```bash bazel build target -c dbg @@ -19,6 +37,8 @@ ``` +## This is for memory leak cheak in MacOS + brew install valgrind # or use the unofficial ARM build: arch -x86_64 brew install valgrind