# furst **Repository Path**: shuirui/furst ## Basic Information - **Project Name**: furst - **Description**: This is a C++ program with a little bit bash, markdown and HTML. To apply yourself to this program, you can read, fork and add something in branches which isn't named main, fixing-big-bugs and README. - **Primary Language**: C++ - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2026-10-01 - **Last Updated**: 2026-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: AI, Game-engine ## README # furst A sparse asynchronous neural network and a game engine project, in C++. ## Develop ### Clang ```bash clang++ main.cpp -o main -O0 ``` ### GCC ```bash g++ main.cpp -o main -O0 ``` ### MSVC SORRY, this program cannot run on windows.
If you want run it on windows, WSL2 is a good choice. ### TCC We have not used it to compile this program.
But you can have a try and tell us the reasult. ## License GPL-3.0. See [LICENCE](./LICENCE). ## Versions ### math_tools Version 0.0.3 2026.11.30 DEEPSEEK API FLASH.
Round products and quotients to the nearest integer in `fixed_number`, and add an integer-target floating-point constructor, so a weight below 1 is no longer silently stored as 0. See [math_tools/README.md](./math_tools/README.md). Version 0.0.2 2026.11.19 Dou Bao the artificial intelligence.
Add `frac`, a rational numerator/denominator with arithmetic and comparison operators. See [math_tools/README.md](./math_tools/README.md). Version 0.0.1 2026.11.10 Shuirui.
Fix `fixed_number` (no bit shifts, scale by doubling) and `vector2` / `vector3` operators; move definitions under `math_tools`. See [math_tools/README.md](./math_tools/README.md). --- ### vectors Version 0.0.4 2026.11.12 Dou Bao the artificial intelligence.
Add `to_pool()` / `from_pool(pool)` to `vector`, `vector2` and `vector3`, reusing the vector slice layout `count`, `unit size`, `data`. See [math_tools/vectors/README.md](./math_tools/vectors/README.md). --- ### matrix Version 0.0.2 2026.11.12 Dou Bao the artificial intelligence.
Add `to_pool()` / `from_pool(pool)` to `matrix`, with the slice layout `rows`, `columns`, `unit size`, row-major data. See [math_tools/matrix/README.md](./math_tools/matrix/README.md). --- ### tanks Version 0.1.1 2026.11.13 Dou Bao the artificial intelligence.
Rebuild `vector_gathered` over two page tables with a resident page cache (FIFO / LRU / LFU eviction, dirty write-back, reservation prefetch), 64-bit offsets and a FAT32 head stub; add the rooted ordered `trees::tree` module. See [tanks/README.md](./tanks/README.md). Version 0.0.2 2026.11.12 Dou Bao the artificial intelligence.
Add move construction and move assignment to `classical_char_pool`. Version 0.0.1 2026.11.10 Shuirui.
Fix pool qualifiers, allocation type and bounds check; initialize raw pointers. See [tanks/README.md](./tanks/README.md). --- ### filesystem Version 0.0.1 2026.11.13 Dou Bao the artificial intelligence.
Add the packed `fat32_head` FAT32 boot sector layout (BPB + EBPB) under `filesystem/fat_head`, with default template values and a `valid()` signature / constraint check. See [filesystem/README.md](./filesystem/README.md). --- ### graphics Version 0.0.1+alpha1 2026.11.19 Dou Bao the artificial intelligence.
Colour value types and pure adjustment functions under `graphics::colors`: `rgb` triple, `rgba` straight-alpha quad, `hsl` hue/saturation/lightness, `color_changer` value-in value-out adjustments, and the `C8B` 256-entry indexed RGBA palette. See [graphics/README.md](./graphics/README.md). --- ### physics / SI Version 0.0.1 2026.11.19 Dou Bao the artificial intelligence.
`SI` pairs a fixed-point coefficient with seven SI base-unit exponents; only multiplication and division change the dimension. See [physics/SI/README.md](./physics/SI/README.md). --- ### command Version 0.0.3 2026.11.19 Dou Bao the artificial intelligence.
Add `help` (`-h` / `--help` detection and `print_help`) and the `ANSI` escape constants (`res`, `bold`). See [command/README.md](./command/README.md). Version 0.0.2 2026.11.10 Shuirui.
Fix log template typo and reference syntax; keep definitions inside `command::log`. See [command/README.md](./command/README.md). Version 0.0.1 2026.10.25 Shuirui.
Add log. --- ### symbs Version 0.0.1 2026.11.11 Dou Bao the artificial intelligence.
Add `symbs::raw` (store the original data as-is) and `symbs::safe` (keep the runtime safe) tag types. See [symbs/README.md](./symbs/README.md). --- ### ai Version 0.0.1 2026.11.12 Dou Bao the artificial intelligence.
Add the `ai/traditional` module, aggregated by `ai/traditional/mod.hpp`: the existing NN activations and network, plus nine traditional models - linear regression, logistic regression, decision tree, naive Bayes, support vector machine, K-nearest neighbors, K-means, random forest and PCA. Each model lives in its own folder under `ai/traditional/` with its own README. ### ai / NN Version 0.0.3 2026.11.13 Dou Bao the artificial intelligence.
Migrate the fully connected network to the project `matrix` / `vector` containers; add the connection table with functional markers (`marker_full`, `marker_conv`, `marker_recurrent`, no weights in the table), the 2D conv layer and the graph-based recurrent layer with truncated BPTT (depth 10), each with forward and backward propagation. See `ai/traditional/NN/README.md`. ### ai / decision_tree Version 0.0.2 2026.11.13 Dou Bao the artificial intelligence.
Replace the flat indexed node pool with the generic `tanks::trees::tree`; the model keeps the same `fit` / `predict` public API. Left/right children are tree child slots 0 and 1. See `ai/traditional/decision_tree/README.md`. ### ai / nature_like Version 0.0.1 2026.11.19 Dou Bao the artificial intelligence.
Nature-inspired network data skeleton: `link`, `note` and `network` structures held through the gathered-page storage; no forward/backward pass yet. See `ai/nature_like/README.md`. --- ### Agent.py This is not a part of this project.
Local tool agent: chat with an OpenAI-compatible server and let the model call local tools, but every command passes a manual review gate before execution. See [useful-tools/README.md](./useful-tools/README.md). 0.6.1+repair1 2026.12.02 Dou Bao - `--log` takes a count like `git log -N` (`-5`, `-n 5`, `--max-count 5`); old tool results stay hidden in the log unless `--with-old-shell`. 0.5.2 2026.12.01 Qwen - Fix streamed tool calls whose name arrives in pieces, bound the whole stream with `--time-out`, and close sqlite when a request faults. 0.5.1 2026.11.30 DEEPSEEK API FLASH - Drop old tool results held by the rolling window, on by default; `--with-old-shell` keeps them. 0.4.1 2026.11.30 DEEPSEEK API FLASH - Add `--time-out SECONDS` to limit each network request and each tool command; `-1`, the default, sets no limit. 0.3.1 2026.11.30 Dou Bao - Stream the reply over SSE: model text is printed token by token as it arrives, and tool calls are reassembled from their streamed parts (name and arguments are accumulated per call index). - Keep the old whole-reply path behind --no-stream as a fallback. - Print round, tool and total elapsed time; drop the shell, skill and network read timeouts. 0.3.0 2026.11.23 Qwen - Repair the crash on an unretryable HTTP error (400 and friends). - Add the write-file built-in skill. 0.2.1 2026.11.22 Qwen - Kill 1MB obstacle. Version 0.1.1 2026.11.10 Shuirui. - Add a manual review gate: approve as-is, edit args, or reject and skip. - Add built-in tools: read_file, write_file, run_shell (confined to --workdir). - Back up the original under .agent-backup before overwriting a file. - Per-session history in sqlite, with tool_call_id persisted. - Migrate older databases that predate the session and tool columns. - Truncate tool output; retry transient HTTP errors. - Read the API key from --key, a key file, or AGENT_API_KEY / DEEPSEEK_API_KEY. Version 0.0.1 2026.11.2 Deepseek Free
(NOTHING) ## virtual email web sites ### YUAN LING (shuirui) - example.org