3 ms·
Languages: 75.4% Linker Script 18.2% Rust 6.4% Shell About sums up embedded development in Rust.
by LoganDark 5mo ago
Languages:
75.4% Linker Script
18.2% Rust
6.4% Shell
About sums up embedded development in Rust.
- nevi-me 5mo agoMost of the code is already in libraries. rs-matter includes a lot of batteries, so for simple clusters you end up writing little code.
- mkj 5mo agoIt looks like github is just buggy in this case.
- sli 5mo agoWell all of the linker script is just two standard memory map files, one for the 2040 and one for the 2350, so really it suggests that this needed very little code to make this work. The 6.4% shell represents a shebang line, two comments, and a single `set -e` call, after all.
- kibwen 5mo agoThere's nothing about embedded development in Rust that would make it more reliant on linker scripts than any other language. Github's count is misleading here.
- bschwindHN 5mo agoHere are the line counts: rust-rpico2-embassy-examples $ tokei . ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Language Files Lines Code Comments Blanks ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Alex 2 330 280 0 50 Shell 1 25 13 3 9 TOML 2 76 58 7 11 ───────────────────────────────────────────────────────────────────────────────── Markdown 1 254 0 181 73 |- BASH 1 8 8 0 0 |- Shell 1 1 1 0 0 (Total) 263 9 181 73 ───────────────────────────────────────────────────────────────────────────────── Rust 10 1256 937 86 233 |- Markdown 10 340 8 263 69 (Total) 1596 945 349 302 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Total 16 2290 1305 540 445 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ I guess "Alex" would be the linker scripts ending in .x?