Alignment
linguist
Alignment | linguist | |
---|---|---|
1 | 40 | |
5 | 11,820 | |
- | 0.8% | |
10.0 | 8.6 | |
over 5 years ago | 2 days ago | |
C++ | Ruby | |
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.
Alignment
-
Zig self hosted compiler is now capable of building itself
To clarify I meant as int8/int16's are packed in structs to compare to struct bitfields. Can't recall about the stack rules. Here's more discussion:
http://www.catb.org/esr/structure-packing/
https://github.com/Twon/Alignment/blob/master/docs/alignment...
Also ARM for example doesn't have 8/16 bit registers so int8 or int16 will use a 32bit register:
https://stackoverflow.com/a/23716920
Curiosity got to me, perhaps Zig had improved significantly. So I compared the first benchmark I found (kostya/benchmarks/bf) with Zig with Nim. For the smaller input (bench.b) Zig did run with ~22% less RAM (about 20kB less).
However, for the larger input (mandel.b) Nim+ARC used ~33% less RAM in safe mode: Nim 2.163mb -d:release; Zig 2.884mb -O ReleaseSafe; Zig 2.687mb -O ReleaseFast. The Nim requires 0.5mb less ram and the code is ~40% shorter. I don't have time to try out the Rust or Go versions though.
linguist
-
Show HN: Fix – An open source cloud asset inventory for cloud security engineers
I dunno if this interests you, but you actually have influence over the formatting of https://github.com/someengineering/fix-cf/blob/main/fix-role... via .gitattributes communicating to GH that it's actually yaml: https://github.com/github-linguist/linguist/blob/master/docs...
- GitHub's Language Analysis System Is Configurable
- Change F# Color on GitHub
-
Change F#'s Color on GitHub
There’s already a draft pr for this: https://github.com/github-linguist/linguist/pull/6686
-
TIL: Github seems to recognize ebuilds as a format. Is this a new github feature? Or has this been here since forever?
GitHub uses Linguist to
-
Where the hell do I have any vb in my configs?
I have found that: https://github.com/github-linguist/linguist/blob/master/docs/troubleshooting.md, but I'm also currently not at home, so I will check it out later.
-
What is the proper language markup type we should use for a MakeFile code snippet?
Another option is to use Linguist which is what GitHub uses (I use linguist via .gitattributes files for all of my code projects). It is community driven and supports essentially every language possible: see languages.yml.
-
Finding projects on GitHub: Topics, Languages, and Collections
Once you selected a topic you can further filter the projects by language. This means programming language as recognized by the linguist tool of GitHub. See what they say about repository languages
-
Track my coding progress on GitHub with a .NET Worker Service
As I later found out, GitHub uses the Linguist library to measure the amount of lines written in a specific language... which is still pretty magic 🪄.
- How to get font colors but not syntax highlighting for a file in custom language?
What are some alternatives?
wabt - The WebAssembly Binary Toolkit
kotlin-latex-listing - A syntax highlighting template for the Kotlin language in LaTeX listings.
septum - Context-based code search tool
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
benchmarks - Some benchmarks of different languages
Rouge - A pure Ruby code highlighter that is compatible with Pygments
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
gitlab
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Pygments
v-mode - 🌻 An Emacs major mode for the V programming language.
Glean - System for collecting, deriving and working with facts about source code.