cppinsights
anarki
cppinsights | anarki | |
---|---|---|
24 | 22 | |
3,693 | 1,161 | |
- | 0.0% | |
8.1 | 4.6 | |
28 days ago | 11 months ago | |
C++ | Arc | |
MIT License | 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.
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".
anarki
- Gerbil Scheme – A Lisp for the 21st Century
-
Ask HN: Does Cloudflare block HN comments if you have code blocks in a reply?
It still is a single single-core server, dang references it frequently when there's unusually high traffic [0]. And the language you're referring to is Arc [1]. They do have caching for not-logged-in users, historically done through nginx [2]. From other comments in this thread, it sounds like they just temporarily put Cloudflare in front of that single server to block a DDoS.
[0] https://news.ycombinator.com/item?id=38310213
[1] https://arclanguage.github.io/
[2] https://news.ycombinator.com/item?id=26473226
-
Ask HN: Why isn't HN libre/FOSS?
Slashdot, reddit, and HN are similar in that the source code was available. For HN, as part of arc under the Artistic license. All 3 abandoned public source code releases.
https://sourceforge.net/projects/slashcode/
https://github.com/arclanguage/anarki
https://github.com/reddit-archive/reddit
-
Ask HN: What would it take for HN to become ActivityPub compatible?
>Where is the HN source code right now? Free and Open?
Yes and no.
HN itself is running a proprietary fork of Arc Lisp, which you can find here[0]. The Arc maintainters don't take public PRs or feature requests, and HN itself has numerous changes to the codebase which aren't public for business reasons.
There is a public fork of Arc called Anarki[1] which has no direct connection to HN or Arc Lisp, and for which the community and development is... well... anarchic.
And given the general culture here around minimalism and stasis (not wanting to introduce new features for fear of entropy that would negatively affect the signal to noise ratio and push the site towards Eternal September) chances are it's not likely to happen.
But dang's email is at the bottom of the page if you want to ask him.
[0]http://arclanguage.org/
[1]https://github.com/arclanguage/anarki
-
Ask HN: Dang, could the login page get a title?
The original version was open sourced (Perl artistic License) http://arclanguage.org/ There is an active fork in https://github.com/arclanguage/anarki but it's totally independent and the current conde in HN can be (very) different.
My guess is that it's very difficult to keep all the details of the secret sauce hidden. They change the details very often. For example the front page is ordered by points/time^1.6, but the 1.6 changes from time to time without notice (I think it was 1.8 for some time, perhaps it's 1.8 or something else now. Some people have analyzed the front page and got compatible results, but I don't remember the exponent they found and I'm too lazy to try).
-
Ask HN: Is there an open-source HN forum clone?
You might find something useful here:
https://github.com/arclanguage/anarki/tree/master/apps/news
-
Show HN: Hacker News Without News
It was published in the public version of 2009 https://github.com/arclanguage/anarki/blob/9f2e1dd53b5b66bb4... Look for "contro-factor" (i.e. controversial-factor).
This is old code, and the mods make tweaks here and there without warning, so the details may have changed. (I'm not sure if gravity changed from 1.8 to 1.6 (???).)
I didn't test it personally, but it feels like HN is using something very similar. And there are a few black box analysis of the sorting of the front page that got similar results. Also, minimaxir is the kind of person that is probably running an script to use the HN API to verify the claims.
-
Racket v. Anarki for greenfield web project?
Absolutely. It's basically the "community version" of Paul Graham's Arc.
-
RacketCon 2022
Not to mention arc/anarki (hn is/was written in arc - anarki comes with a "news" example app/forum):
https://github.com/arclanguage/anarki/tree/HEAD#readme
-
Ask HN: Any tool to look C++ interpretation template form syntax to substitution
arc [1] / racket implimentation of demystifycpp might be able to provide something 'usable' at the command line / straight up web browser html file.
[1] : https://arclanguage.github.io/
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.
perfect-arrows - Draw perfect arrows between points and shapes.
lsif-clang - Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
hackernews - Hacker News web site source code mirror.
GSL - Guidelines Support Library
renegade-way - Option Trading Application
gcem - A C++ compile-time math library using generalized constant expressions
arc - Arc is an opinionated framework for defining data pipelines which are predictable, repeatable and manageable.
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.
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
Xoshiro-cpp - Header-only Xoshiro/Xoroshiro PRNG wrapper library for modern C++ (C++17/C++20)
hnrss - Custom, realtime RSS feeds for Hacker News