view README.md @ 71:75de5903355c

Giagantic changes that update Dowa library to be more align with stb style array and hashmap. Updated Seobeo to be caching on server side instead of file level caching. Deleted bunch of things I don't really use.
author June Park <parkjune1995@gmail.com>
date Sun, 28 Dec 2025 20:34:22 -0800
parents c0f6c8c7829f
children 043018c0f2f8
line wrap: on
line source

# 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.


## 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.

```
# 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
i.e) bazel build //mrjunejune:mrjunejune_server -c dbg
```

And run whatever your favoriate debugging tools

```bash
bazel run //dowa:dowa_test --run_under="valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes"
```


## This is for memory leak cheak in MacOS

brew install valgrind
# or use the unofficial ARM build:
arch -x86_64 brew install valgrind
arch -x86_64 valgrind ./test