C++ بد بود و با استاندارد 26 بدتر هم شده
https://isocpp.org/files/papers/P2996R4.html#emulating-typeful-reflection
کلا طرز فکر ++c گرایش خاصی به ساختن پیچیدگی داره |: صد رحمت به Rust و Zig. حداقل ترید آف ش منطقی تره
https://isocpp.org/files/papers/P2996R4.html#emulating-typeful-reflection
template <class... Tags>
consteval auto make_named_tuple(std::meta::info type, Tags... tags) {
std::vector<std::meta::info> nsdms;
auto f = [&]<class Tag>(Tag tag){
nsdms.push_back(data_member_spec(
dealias(^typename Tag::type),
{.name=Tag::name()}));
};
(f(tags), ...);
return define_class(type, nsdms);
}
کلا طرز فکر ++c گرایش خاصی به ساختن پیچیدگی داره |: صد رحمت به Rust و Zig. حداقل ترید آف ش منطقی تره
👍6😱1
SuperCompilers
https://github.com/hirrolot/mazeppa
https://stanleymiracle.github.io/blogs/org/docs/supercompiler.pdf
پ.ن: اوضاع خیلی خیلی خیطه
https://github.com/hirrolot/mazeppa
https://stanleymiracle.github.io/blogs/org/docs/supercompiler.pdf
پ.ن: اوضاع خیلی خیلی خیطه
GitHub
GitHub - hirrolot/mazeppa: A modern supercompiler for call-by-value functional languages
A modern supercompiler for call-by-value functional languages - hirrolot/mazeppa
👾3
Polyhedral Model
Part 1:
https://www.youtube.com/watch?v=_TFrPGV_A-s
Part 2:
https://www.youtube.com/watch?v=irqg3L5Xpqk
Part 3:
https://www.youtube.com/watch?v=6WkIzH8LyGY
پارت های دیگه هم داره اگر علاقه مند بودید میتونید ببینید|:
فعلا نظرم اینه که اوضاع 1000x-خیلی خیطه!
Part 1:
https://www.youtube.com/watch?v=_TFrPGV_A-s
Part 2:
https://www.youtube.com/watch?v=irqg3L5Xpqk
Part 3:
https://www.youtube.com/watch?v=6WkIzH8LyGY
پارت های دیگه هم داره اگر علاقه مند بودید میتونید ببینید|:
فعلا نظرم اینه که اوضاع 1000x-خیلی خیطه!
YouTube
The Polyhedral Model Part 1: An Intuitive Example
This is a slight re-do of a talk I gave to Fred Kjolstad and Pat Hanrahan's CS343D course at Stanford University.
👾3
Defensive Coding In Rust
https://corrode.dev/blog/defensive-programming/
این زبان یک دنیای دیگری ست اصن. همه چیز ظرافت و دقت خاص خودشو داره.
https://corrode.dev/blog/defensive-programming/
این زبان یک دنیای دیگری ست اصن. همه چیز ظرافت و دقت خاص خودشو داره.
Corrode Rust Consulting
Patterns for Defensive Programming in Rust | corrode Rust Consulting
I have a hobby.
Whenever I see the comment // this should never happen in code, I try to find out the exact conditions under which it could happen.
And in 90% of cases, I find a way to do just that.
More often than not…
Whenever I see the comment // this should never happen in code, I try to find out the exact conditions under which it could happen.
And in 90% of cases, I find a way to do just that.
More often than not…
rosen_discrete_mathematics_and_its_applications_7th_edition.pdf
36.2 MB
Discrete Mathematics and Its Applications |Kenneth H. Rosen.
چون یکمی ازشو خوندم میگم. خیلی خیلی کتاب خوبی ست. مثال های بامزه ای هم میزنه :>
چون یکمی ازشو خوندم میگم. خیلی خیلی کتاب خوبی ست. مثال های بامزه ای هم میزنه :>
🔥6
فاندر این پروژه نه تنها آدم متخصص و فهمیده ای ست بلکه آداب و احترام رو هم حفظ کرده با مشارکت کنندگان. رفتارش خیلی گرم و صمیمانه بوده تا اینجا (یعنی بعد از مرج شدن یک PR و یک issue کلوز شده).
این رو به این علت خواستم یادآوری کنم که الگو و درس عبرتی باشد برای یک عده پروژه اوپن سورس که به یوزر احترام نمیزارن هیچ... به مشارکت کننده توهین و تحقیرش هم میکنند =)
https://github.com/TheDan64/inkwell/issues/624#issuecomment-3550429064
این رو به این علت خواستم یادآوری کنم که الگو و درس عبرتی باشد برای یک عده پروژه اوپن سورس که به یوزر احترام نمیزارن هیچ... به مشارکت کننده توهین و تحقیرش هم میکنند =)
https://github.com/TheDan64/inkwell/issues/624#issuecomment-3550429064
GitHub
Add BasicValueEnum::is_const() Method by tahadostifam · Pull Request #620 · TheDan64/inkwell
Summary
This PR adds a new method to Inkwell’s BasicValueEnum:
/// Returns true if this BasicValueEnum represents a constant value.
pub fn is_const(&self) -> bool {
match sel...
This PR adds a new method to Inkwell’s BasicValueEnum:
/// Returns true if this BasicValueEnum represents a constant value.
pub fn is_const(&self) -> bool {
match sel...
👍6
برگه چیت شیت حد و پیوستگی
https://www.iranmodares.com/user/modares/new-jozwe/6350.pdf
کورس کوچیک برای یادگیری حد و پیوستگی
https://faradars.org/courses/limits-and-continuity-fvtgs4531?
https://www.iranmodares.com/user/modares/new-jozwe/6350.pdf
کورس کوچیک برای یادگیری حد و پیوستگی
https://faradars.org/courses/limits-and-continuity-fvtgs4531?
⚡1🤣1