Programming & AI Tips πŸ’‘
46K subscribers
67 photos
11 videos
30 files
385 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
Cloudflare is porting TypeScript to Rust ⚑️

Cloudflare introduced tsrs, a port of TypeScript to Rust.

That name matters less than the direction. Language tooling sits on hot paths now: editors, CI checks, code generation, linters, and AI-assisted review. A faster implementation can reduce the wait developers feel dozens of times a day.

β€’ Compiler and analyzer speed changes whether people run checks locally.
β€’ Native tooling can cut CPU and memory pressure in large repos.
β€’ Language infrastructure is product infrastructure, not background plumbing.

Do not rewrite a working compiler because Rust is fashionable. But do profile the slow path in your developer loop. It might be a parser, an analyzer, generated code, or an overloaded CI agent.

[ Blog ] :
https://blog.cloudflare.com/typescript-rust-port

〰️〰️〰️〰️〰️〰️
#dotnet #TypeScript #Rust #DevTools
@ProgrammingTip