Programming & AI Tips πŸ’‘
46.5K subscribers
67 photos
11 videos
30 files
368 links
Programming & AI:
Tips πŸ’‘
Articles πŸ“•
AI & LLMs πŸ‘Ύ
Design, Architecture, Principles βœ…

πŸ‡³πŸ‡± Contact: @MoienTajik
Download Telegram
GitHub moved the Copilot runtime to Rust πŸš€

GitHub migrated the runtime behind Copilot to Rust, and used Copilot during the migration itself.

βœ… Why this is worth reading:

β€’ Runtime work is systems work: a language migration means tracing real production behavior, not just translating syntax.

β€’ Copilot was part of the workflow: useful for exploring an unfamiliar codebase, drafting changes, and keeping momentum through repetitive conversion work.

β€’ The output still needs engineering judgment: boundaries, performance, correctness, and rollout safety are not autocomplete problems.


This is a practical case study for teams asking where coding agents help on a large refactor. Use them to accelerate investigation and implementation. Keep humans on architecture, tests, and production checks.


[ Blog ] :
https://github.blog/ai-and-ml/generative-ai/migrating-the-github-copilot-runtime-to-rust-using-copilot

〰️〰️〰️〰️〰️〰️
#AI #GitHub #Rust #Copilot
@ProgrammingTip
Please open Telegram to view this post
VIEW IN TELEGRAM
Cloudflare saved 100 TB of RAM with math and Rust πŸ”₯

Cloudflare reclaimed more than 100 TB of RAM globally in a Pingora-based consistent-hashing service. No new hardware. The win came from changing data representation and the algorithms around it.


βœ… Lessons:

β€’ Measure retained memory, not only allocation rate.
β€’ Check collection shape: duplicated keys, oversized buckets, and pointer-heavy graphs add up fast.
β€’ Fix the model first: a smaller or more compact structure usually beats micro-optimizing a hot loop.

For high-cardinality caches, routing tables, or tenant maps, take a heap dump before reaching for another cache node. A few bytes per entry becomes expensive at fleet scale.

[ Blog ] :
https://blog.cloudflare.com/saving-100-tb-of-ram-with-math

〰️〰️〰️〰️〰️〰️
#Performance #Memory #Rust
@ProgrammingTip
Please open Telegram to view this post
VIEW IN TELEGRAM