RFC (مؤجَّل): بنية محزومة — تخطيط مسطّح مرصوص#40
Open
SalehKadah wants to merge 1 commit into
Open
Conversation
سمة محزومة (packed) على بنية ص. مؤجَّل عمدًا بعد تحقيق أثبت: بنى ص كائنات كومة (لا قيمة مسطّحة)، علم isPacked ميّت، ولا مستهلك نواة (bee_idtr يُطفَأ بـعنوان_رمز+اكتب_ذاكرة بلا محزوم). يُرفَع التأجيل عند ظهور مستهلك FFI/صيغ أسلاك + قرار دلالة بنى قيمة مسطّحة. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ملخّص
سمة
بنية محزومة(packed struct) — تُزيل الحشو بين الحقول ليطابق تخطيط البايتاتعقدًا خارجيًّا (واصفات عتاد، صيغ أسلاك، FFI). الحالة: مؤجَّل (Postponed).
لماذا التأجيل (نتيجة تحقيق تصميميّ)
كانت البدائيّة الرابعة المقترحة للّبنة 3.14 «تخزين ساكن مسمّى» (بعد
@رمز/متطاير/بايتاتالمدموجة، PR #225). تحقيق أثبت:__sad_heap) — لا تمثيل قيمة مسطّح، فسمة الرصّعلى كائن كومة بلا أثر عمليّ.
isPackedقائم لكن ميّت (صفر مستدعٍ يمرّر true) — توصيله بلا دلالة مسطّحةيُنتج كلمة SoT تَعِد بتخطيط لا يتحقّق.
مخزن تكتبه ص عبر
اكتب_ذاكرة32. واصفbee_idtrأُطفئ فعلًا (نهلة 3.14ب) بـعنوان_رمز+اكتب_ذاكرة32بلامحزوم.شروط رفع التأجيل
مستهلك حقيقيّ (FFI/صيغ أسلاك) و قرار إضافة دلالة بنى قيمة مسطّحة لـص (تغيير
معماريّ يلامس OOP/vtable/نموذج التخصيص). عندها يُنفَّذ بلصيقة
بنية محزومة(عربيّسليم نظير
متطاير).🤖 Generated with Claude Code