Linux shared library footprint: selective linking or stripping unused native features?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, csharp, dart, flutter, rust, typescript
- Lĩnh vực
- desktop, performance
Hướng nghiên cứu
Start by comparing the two linked CI runs to confirm the Linux x86_64 archive and shared library size changes, then inspect the native build and packaging entry points for libcnativeapi.so. Determine whether the build supports selecting window-management components or stripping unused features; done means documenting the expected footprint and a supported way to reduce it, if available.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
After upgrading Butterfly from window_manager 0.5.2 to 0.6.0, the Linux x86_64 release archive grew by approximately 0.72 MB.
Size comparison
- New
libcnativeapi.soadds ~2.66 MB uncompressed. - Removed
window_manager/screen_retrievernative libraries totalled only ~87 KB.
CI references:
- Previous: https://github.com/LinwoodDev/Butterfly/actions/runs/41530883915
- Updated: https://github.com/LinwoodDev/Butterfly/actions/runs/41616087051
Questions
- Is this footprint expected for the current native build?
- Is there a supported way to include only window-management components, or to strip unused native functionality, so apps can keep the new API benefits while limiting download size?
- Ngôn ngữ chính
- TypeScript
- Star
- 172
- Fork
- 16
- Merge trung bình
- 40 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của libnativeapi/nativeapi
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
libnativeapi/nativeapi#32 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
libnativeapi/nativeapi#31 · 1 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
libnativeapi/nativeapi#30 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
libnativeapi/nativeapi#29 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
libnativeapi/nativeapi#28 · 3 bình luận ·
Tất cả issue của libnativeapi/nativeapi
Issue tương tự
-
Mend: dependency security vulnerability
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
fdm-monster/fdm-monster#5563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
growilabs/growi#12246 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SSWConsulting/SSW.Rules#2809 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày