Tang
cppinsights
Tang | cppinsights | |
---|---|---|
2 | 24 | |
3 | 3,811 | |
- | - | |
2.2 | 8.1 | |
5 months ago | about 2 months ago | |
C++ | C++ | |
MIT License | 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.
Tang
-
Ask HN: What would you show an interviewer if they asked you for code samples?
A template language that I wrote for generating HTML. Meant to be included as a C++ library. https://github.com/Ghoti-io/Tang
Plenty of other C++ code of mine is on Github (such as a bunch of utility stuff, a thread pool, and a HTTP server that I'm writing from scratch), even though I would only call myself an intermediate C++ programmer. I just happen to like the language.
Or, if I had to throw other stuff into the mix, a fairly recent patch to Manim (Python) that got accepted (https://github.com/ManimCommunity/manim/pull/3155).
If I were really pressed, I would dig up a lot of my Drupal (PHP) stuff that I did years ago.
-
Ask HN: How to admit yourself that you cannot learn everything?
1. Realize that it is impossible to become an expert in everything.
2. Realize that it is very possible to become an expert in targeted areas.
3. Pick the targeted area that you enjoy the most and that makes the most $$$.
4. DO SOMETHING with the knowledge. Don't just acquire knowledge, because you will forget it. Build something useful... something that you can show off! THAT is the point at which people will start looking at you as the expert.
Personal note: I decided that I wanted to create a useful, non-trivial programming language, so I built one entirely on video. Github link: https://github.com/coreyp1/Tang Youtube playlist: https://www.youtube.com/playlist?list=PLZqirAnnqaCZ8lT8w7p2P...
Guess what? NOBODY is going to watch the videos, and I know that. But I did it for myself. People look at 2 things: the end result, and the fact that it was me that did it. I'm STILL not an expert at Vim, Flex, Bison, ICU, Make, or programming language design in general, but I absolutely know much, much more than I did starting out, and I learned things that I didn't anticipate. Most of all, though, I found the process personally very rewarding.
cppinsights
-
C++ Insights – See your source code with the eyes of a compiler
Sorry, I don't know about an Emacs plugin. All the plugins/extensions I'm aware of are listed in the Readme.md: https://github.com/andreasfertig/cppinsights/#c-insights--vi...
I'm happy to add an entry for Emacs once somebody develops a plugin for that editor.
-
C++20 Idioms for Parameter Packs
Thank you! This is exactly the sort of thing I was looking for.
I found the source at https://github.com/andreasfertig/cppinsights
-
Why does ![]{} equate to 0?
You can put it into https://cppinsights.io/ and see the conversions that happen under the hood.
- C++ lernen
-
BitMasks in 2023
I tried this at https://cppinsights.io/ to see what is generated for something like:
-
Ask HN: Best way to learn C++ in 2022
> https://cppinsights.io/ it's a must so you can investigate what gets generated by templates behind the scenes.
> http://eel.is/c++draft/ bookmark this, you will need it!
Now, about books I would suggest the latest "A tour of C++" by Bjarne Stroustrup; it's ideal for experienced programmers that want to learn modern C++ rather fast.
Other books would be Scott Meyers' Effective Series, Andrei Alexandrescu and Herb Sutter are a must, and of course Jason Turner's "C++ Weekly" series [1]; of course apart from the books, the links I have originally shared are more than enough to cover everything around C++.
[1] https://www.youtube.com/c/lefticus1/videos
-
Ask HN: Where can I find C++ by Example?
https://cppinsights.io/ it's a must so you can investigate what gets generated by templates behind the scenes.
-
Ask HN: Any tool to look C++ interpretation template form syntax to substitution
Try https://cppinsights.io. For example, go to https://cppinsights.io/s/8401262a and click the play button at the top left.
If you're doing something more complex, you might need metashell. See http://metashell.org/manual/how_to/index.html#see-what-templ.... But you have to really, deeply, love C++ to get much out of it.
- Question on a For each loop.
- Can anyone recommend a good book/resource on C++/C++ compilers? With detailed discussions of what happens "under the hood".
What are some alternatives?
LLVM-Guide - LLVM (Low Level Virtual Machine) Guide. Learn all about the compiler infrastructure, which is designed for compile-time, link-time, run-time, and "idle-time" optimization of programs. Originally implemented for C/C++ , though, has a variety of front-ends, including Java, Python, etc.
lsif-clang - Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
GSL - Guidelines Support Library
gcem - A C++ compile-time math library using generalized constant expressions
fccf - fccf: A command-line tool that quickly searches through C/C++ source code in a directory based on a search string and prints relevant code snippets that match the query.
Xoshiro-cpp - Header-only Xoshiro/Xoroshiro PRNG wrapper library for modern C++ (C++17/C++20)
opencilk-project - Monorepo for the OpenCilk compiler. Forked from llvm/llvm-project and based on Tapir/LLVM.
cppreference-doc - C++ standard library reference
aws-lambda-cpp - C++ implementation of the AWS Lambda runtime
Folly - An open-source C++ library developed and used at Facebook.
lua-clang - Build dynamic clang library for lua
ayanami-nemesis-analyzer - A C/C++ Staitc Analyzer for Now.