This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.
All code you write MUST be fully optimized.
"Fully optimized" includes:
A collection of 100 tongue-in-cheek (yet oddly accurate) equations that model the beautiful chaos of software development.
This is your unofficial developer physics engine — balancing caffeine, meetings, deadlines, and dreams.
From productivity and debugging, to cognitive load, burnout, and system resilience — it's all math now.
💡 All equations are in LaTeX-style math, rendered in Markdown using
$$...$$.
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
created: 12.FEB.2024
I love to learn new programing languages, it help to open the mind to new possibilities and compare different approaches. For instance, I learned Ruby and Scala in 2010, Clojure and Haskell in 2011, Go in 2015, Kotlin 2016, Rust in 2018 and Idris, TypeScript in 2019, 2020 Pandemic strike did a bunch of pocs but not with new langs(crazy year), Zig in 2021, 2022(coding in lots of langs but nothing new) - in 2023 I'm learning Nim and V. Learn at least one lang per year. This post is not complain, it's just to share some toughts, notes and impressions.
| | |
| https://ziglang.org/documentation/master/#Pointers | |
| Local std lib docs: | |
| ```bash | |
| $ zig std | |
| ``` | |
| Browse the std lib code | |
| ```bash | |
| $ vi $(zig env | jq -r .std_dir) |
This is intended as a place to list blog posts about Zig, for anyone who's interested in reading what people have to say! Also check out links at https://ziglang.org/learn/ and https://ziglang.org/news/.
Posts were found by searching on lobste.rs, at https://dev.to/t/zig and https://medium.com/tag/zig.
Please let me know in a comment if there are any posts missing that you'd like me to add here!
This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/
the command zig run my_code.zig will compile and immediately run your Zig
program. Each of these cells contains a zig program that you can try to run
(some of them contain compile-time errors that you can comment out to play
with)
| #!/usr/bin/env bash | |
| # Installation directory | |
| DIR=$HOME/app | |
| NVIM_URL_LINUX="https://github.com/neovim/neovim/releases/download/stable/nvim.appimage" | |
| NVIM_URL_MACOS="https://github.com/neovim/neovim/releases/download/stable/nvim-macos.tar.gz" | |
| mkdir -p ${DIR} | |
| cd ${DIR} |
| #!/usr/bin/env bash | |
| # Installation directory | |
| DIR=$HOME/app | |
| NVIM_URL_LINUX="https://github.com/neovim/neovim/releases/download/stable/nvim.appimage" | |
| NVIM_URL_MACOS="https://github.com/neovim/neovim/releases/download/stable/nvim-macos.tar.gz" | |
| mkdir -p ${DIR} | |
| cd ${DIR} |