01:12 :00 It's like shadowing. The previous owner doesn't have to be mut. Consider the following example: let x = 10; let mut y = x; y += 20; Here x is already moved to y, the decision to make y mut or not is up to y itself.
ya a7md this is a really good explanation, bas malloc and memcpy are not syscalls, they're just libc functions. for memory allocation syscalls there is brk, sbrk and mmap. I'm not good at windows, but I think on windows people call VirtualAlloc which may call NtAllocateVirtualMemory. memcpy is just a function that has a for loop it.
I would appreciate it if you included Type Driven Design within your explanation, I know it might be not a part of your roadmap buy I think it's actually powerful in Rust rather than other languages, for example if you created the struct with remaining_bytes as isize instead of usize, and explain what is the difference and why we can do so in this context, Anyway thanks alot for your effort and I really wish I had someone like you to be my mentor ❤
قبل سنة قعدت اسبوع اشتغل على تسطيب nvim وبعدها يأست وحذفتة مع اني كنت غلبان مش فاهم غير JavaScript ولكن لما بدأت هذه السلسلة حملته واشتغلت عليه بضمير والحمدلله فهمت اغلبه. اتمنى تعمل كورس متكامل يشرح vim & nvim وطريقة العمل عليه وانا بكون اول sponsor بالدعاء طبعاً😅
انا داعم ليك بكل ما املك ي قائد
ربنا ينفعك بالعلم وينفعنا بعلمك
Best of the best! 💙
The greatest person who explained Rust in Arabic of all time.
and in my opinion, in non-Arabic as well 😄
agree " in non-Arabic as well "
شكرا نحن في أمس الحاجة لهذا المحتوى
عظيم جدا بجد
Such a valuable learning resource
ايه الابداع ده ... مع اني معرفش حاجة عن Rust الصراحة بس المحتوى معمول بحب كده
انا برضو بقدم محتوى كواليس شغلي كمطور فريلانسر 🔥
We do love You Ahmed Mashaalh, Keep it up ❤❤❤
Really good content! I'll appreaciate homeworks at the end of the vid.
شكرا جدا علي المحتوي الرائع دا❤❤
هل فيه فرصة ان الكود يتعمله zoom اكتر شوية في الفيديوهات القادمة ان شاء الله
01:12 :00
It's like shadowing. The previous owner doesn't have to be mut. Consider the following example:
let x = 10;
let mut y = x;
y += 20;
Here x is already moved to y, the decision to make y mut or not is up to y itself.
ya a7md this is a really good explanation, bas malloc and memcpy are not syscalls, they're just libc functions.
for memory allocation syscalls there is brk, sbrk and mmap. I'm not good at windows, but I think on windows people call VirtualAlloc which may call NtAllocateVirtualMemory.
memcpy is just a function that has a for loop it.
That's absolutely right. Thanks for the clarification. I might have misspoken from the lens of simplifying to the audience but you are correct.
هو دا الفطار التمام
كمل يا بطل احنا وراك 💪
I would appreciate it if you included Type Driven Design within your explanation, I know it might be not a part of your roadmap buy I think it's actually powerful in Rust rather than other languages, for example if you created the struct with remaining_bytes as isize instead of usize, and explain what is the difference and why we can do so in this context, Anyway thanks alot for your effort and I really wish I had someone like you to be my mentor ❤
Great feedback. Definitely something I can do.
Can you create a repository for what you have written?
عم فرغل وجماله أتمني ترجع تكلم عن distrubted system تاني
32:03
Proc & declarative macros
قبل سنة قعدت اسبوع اشتغل على تسطيب nvim وبعدها يأست وحذفتة مع اني كنت غلبان مش فاهم غير JavaScript
ولكن لما بدأت هذه السلسلة حملته واشتغلت عليه بضمير والحمدلله فهمت اغلبه.
اتمنى تعمل كورس متكامل يشرح vim & nvim وطريقة العمل عليه وانا بكون اول sponsor بالدعاء طبعاً😅
شغل جميل جدا...شكرا لك
what's the series of the vim that u talk about it i search but i can't found out what's the person u talk about and thank u in advance
youtube.com/@greghurrell?si=FZh9zjWdu1VYm5df
ك موبايل ديفلوبر هل rust هتفيدنى فى حاجة ؟
Was waiting :))
Note: in C++ std::move doesn't move, it just trigger type conversion to RValue
Yes. I know 😀
@@asoli_dev It's worth mentioning as it's not clear. C++ type system is complicated enough :D
keep up the good work ❤
يا عم كفايه بقي ده احنا الغلابه جدا
هل الكود موجود على github ؟
للأسف الحلقة دي لإ.
Hi ya Ahmed, Could you share with us the discord server
Noiceee ❤
15:50 static function
45:04
pointers vs references
♥♥♥♥♥
1:45:32
summary
مبسوط ان فى محتوى عربي بالمستوى ده