Skip to main content
Back to the directory
zhanghandong/rust-skillsSoftware EngineeringFrontend and Design

m04-zero-cost

Compile-time versus runtime polymorphism: generics, trait objects, and zero-cost abstraction patterns.

SkillJury keeps community verdicts, source metadata, and external repository signals in separate lanes so ranking data never pretends to be a review.

SkillJury verdict
Pending

No approved reviews yet

Would recommend
Pending

Waiting on enough review volume

Install signal
698

Weekly or total install activity from catalog data

Sign in to review
0 review requests
Install command
npx skills add https://github.com/zhanghandong/rust-skills --skill m04-zero-cost
SkillJury does not have enough approved reviews to publish a community verdict yet. Source metadata and repository proof are still available above.
SkillJury Signal Summary

As of May 1, 2026, m04-zero-cost has 698 weekly installs, 0 community reviews on SkillJury. Community votes currently stand at 0 upvotes and 0 downvotes. Source: zhanghandong/rust-skills. Canonical URL: https://skills.sh/zhanghandong/rust-skills/m04-zero-cost.

Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Compile-time versus runtime polymorphism: generics, trait objects, and zero-cost abstraction patterns. Layer 1: Language Mechanics Do we need compile-time or runtime polymorphism? Before choosing between generics and trait objects: Before adding trait bounds: What abstraction is needed? When is type known? What's the trade-off priority? When type system fights back: From design to implementation: A trait is object-safe if it: - Distinguishes static dispatch (generics, impl Trait ) from dynamic dispatch ( dyn Trait ), with decision guidance on when each is appropriate based on type knowledge, performance priorities, and collection heterogeneity - Maps common type system errors (E0277, E0308, E0599, E0038) to underlying design questions rather than mechanical fixes - Covers object safety constraints, monomorphization trade-offs, and anti-patterns like over-generics or unnecessary dyn indirection - Includes syntax reference, quick decision table, and trace-up/trace-down patterns linking to related domain and type-driven design skills - Is the type known at compile time? - Is a heterogeneous collection needed? - What's the performance priority?

Source description provided by the upstream listing. Community review signal and install context stay separate from this narrative layer.

Community reviews

Latest reviews

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does m04-zero-cost do?

Compile-time versus runtime polymorphism: generics, trait objects, and zero-cost abstraction patterns.

Is m04-zero-cost good?

m04-zero-cost does not have approved reviews yet, so SkillJury cannot publish a community verdict.

Which AI agents support m04-zero-cost?

m04-zero-cost currently lists compatibility with Skills CLI.

Is m04-zero-cost safe to install?

m04-zero-cost has been scanned by security audit providers tracked on SkillJury. Check the security audits section on this page for detailed results from Socket.dev and Snyk.

What are alternatives to m04-zero-cost?

Skills in the same category include review-management, conversation-memory, coverage, grimoire-aave.

How do I install m04-zero-cost?

Run the following command to install m04-zero-cost: npx skills add https://github.com/zhanghandong/rust-skills --skill m04-zero-cost

Related skills

More from zhanghandong/rust-skills

Related skills

Alternatives in Software Engineering