sanitizers
build-your-own-x
sanitizers | build-your-own-x | |
---|---|---|
48 | 164 | |
10,826 | 141,173 | |
1.3% | - | |
6.3 | 2.5 | |
12 days ago | almost 2 years ago | |
C | ||
GNU General Public License v3.0 or later | - |
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++?
build-your-own-x
-
Ask HN: Project based books/courses for C++?
https://github.com/danistefanovic/build-your-own-x
- Simplemente aplique
-
Ask HN: What are some books where the reader learns by building projects?
https://news.ycombinator.com/item?id=22299180
https://news.ycombinator.com/item?id=13660086
https://news.ycombinator.com/item?id=26039706
Other resources:
https://github.com/danistefanovic/build-your-own-x
https://github.com/AlgoryL/Projects-from-Scratch
https://github.com/tuvtran/project-based-learning
All suggestions are welcome,thanks in advance
-
Some healthy advice for those of you learning to code
Make sure that apart from learning you're using the knowledge to create something either your own idea or maybe something from https://github.com/danistefanovic/build-your-own-x (with your own twist if possible.). It helps a lot to be working on something separately and seeing the results of your new knowledge outside of a tutorial scenario.
-
Top 50 Useful GitHub Repos That Every Developer Should Follow
28. Build your own X
- Project ideas
- Hello
-
I finished learncpp and The C++ Programming Language, 4th Edition. What next?
Do some projects. Come up with your own ideas or pick something from a list like https://github.com/danistefanovic/build-your-own-x
-
guidance/pathway suggestions for learning pyhton?
ello! i'm 20f and humanities student (ir/poli sci) with interest in coding since high school, but just now i have the time to start learning it. i opted for learning pyhton first mostly because i'm interested in automation, data analysis, plus was skimming over the tutorials of build your own x and was surprised that you can do a lot of things with just pyhton.
-
C++ exercises?
As for exercises there are plenty of programming task websites out there, most of them are quite boring but you can use a fun one like https://adventofcode.com/ . However the best things to work on are things you actually like so do some small projects. Games (start with command line stuff like hang-man) are common, otherwise pick something from https://github.com/danistefanovic/build-your-own-x or whatever else ideas come to your mind.
What are some alternatives?
miri - An interpreter for Rust's mid-level intermediate representation
project-based-learning - Curated list of project-based tutorials
spdlog - Fast C++ logging library.
computer-science - :mortar_board: Path to a free self-taught education in Computer Science!
xeus-cling - Jupyter kernel for the C++ programming language
tech-interview-handbook - 💯 Curated coding interview preparation materials for busy software engineers
plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
system-design-primer - Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
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)
honggfuzz - Security oriented software fuzzer. Supports evolutionary, feedback-driven fuzzing based on code coverage (SW and HW based)
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
Daily-Coding-DS-ALGO-Practice - A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐