sanitizers
dotfiles
sanitizers | dotfiles | |
---|---|---|
48 | 18 | |
10,826 | 63 | |
1.3% | - | |
6.3 | 9.5 | |
12 days ago | 26 days ago | |
C | Vim Script | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sanitizers
-
Good resources for learning C in depth?
AddressSanitizer is really useful, it's similar to Valgrind but has much lower overhead.
-
Memory Allocators
And if you're up for it, I'd further recommend adding some ways to deal with buffer overflows in debug builds. The way I deal with this is by using Address-Sanitizer's manual poisoning api. Bonus point if you leave additional poisoned space between allocations so off by one errors are likely to end up in a poisoned region instead of nearby allocation.
- Exception thrown: write access violation
-
2023 Stack Overflow Survey: Rust is the most admired programming language, making it the most loved language for 8 years in a row
It also doesn't hurt that Miri can find many kinds of unsafe violations even in unsafe blocks. Zig may get something like this one day, but even if it does, checking things at runtime is not a substitute for compile time -- the C++ Sanitizers haven't exactly solved the safety story for C++ even over a decade later.
-
What's the best thing you've found in code? :
This is where stuff like ASan is really useful.
-
how do I check my library for memory leaks?
Use: https://github.com/google/sanitizers/wiki/AddressSanitizer
-
Is malloc_trim() safe to use?
Have you tried using tools like ASAN/LSAN or valgrind to confirm that there are indeed no memory leaks?
-
Having trouble with projects too long to post here.
Compile with ASAN and UBSAn
- Strange Segmentation Fault when accessing a Class inside a for loop.
- Will Carbon Replace C++?
dotfiles
-
Whats Your VIMRC Setup For 2023?
I've just noticed my vimrc right now has exactly 600 lines... not counting the rest of files of course
-
any reference about plugins (from github preference) for wforrite using Markdown
I only really needed to set few settings + extend syntax folding to comfortably write Markdown
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
And I don't know anything about stow as I just use my own simple install script
-
hjkl vs jkl; - is it crazy to want to switch to the latter?
I have public GitHub repository with all my dotfiles under MIT license. On private machine I make changes to them; on work machine, I just clone/pull that public repo. Eventual changes done during work time I just remember to implement at home again.
-
Little vim window to paste to clipboard
Like this one I have in my dotfiles?
-
Share your vimrc with comments what you intended the changes for. Here's mine.
Well, I'm not gonna comment every tiny bit (as it's usually obvious from the code already), but if you are interested in reading others configs: my vimrc alongside the rest of my Vim configuration
-
What is your setup for developing in C?
Arch Linux (or WSL2 on Windows)
-
My Self-starting vim configuration
You start like this and end like this ;)
-
Should I use vanilla Vim instead of Vscode?
Read configs of more experienced users (here's Jorengarenar's, for example)
-
Language server protocol
I use vim-lsc (my config)
What are some alternatives?
miri - An interpreter for Rust's mid-level intermediate representation
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
spdlog - Fast C++ logging library.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
xeus-cling - Jupyter kernel for the C++ programming language
targets.vim - Vim plugin that provides additional text objects
plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
nvim-lspinstall - Provides the missing :LspInstall for nvim-lspconfig
Catch - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
vim-lsp - async language server protocol plugin for vim and neovim