boundchecked
boundchecked on Hacker News
If you count optimizing your ill-formed function into an inlined panic [1] as "bug eliminated at compile-time", then it may be true!
https://godbolt.org/z/M7Gr3TazE
D has scopeguards similar to defer.
I don't think Rust will ever consider FFI'in with another language "100% safe."
I'm rooting for Golden C++.
>// Hard-to-read CaMeLcAsEvArIaBlE
Absolutely.
Have you tried converting iterations to SIMD and using vector extension to target x86, ARM, Webassembly and compile for Linux/Windows/MacOS with a simple piece of code? It's a pretty significant speed up and it only work with Clang.
I don't know what motivate you to keep repeating this narrative, Clang currently have good support of C++23 while MSVC have none[1], if your emphasis is on the standard library side, Clang is the only one that is compatible to all three major implementations and do use libstdc++ and MS STL on their respective "main" platforms.
Also, why isn't Microsoft in the "profit from Clang" list? Is Clang-CL not shipped in Visual Studio Installer? Did they find a way to compile Edge with VC++?
https://en.cppreference.com/w/cpp/compiler_support/23
>Direct Rendering Manager and graphics drivers
>Updated drm(4) to Linux 5.15.69
>inteldrm(4): support for Alder Lake, Raptor Lake
I have fond memory of booting OpenBSD the first time last year on an AMD RDNA GPU, after installation a simple "fw_update" got me a hardware accelerated graphic environment going. Very impressive in my book.
Posted by
boundchecked on Tuesday October 18, 2022 @10:31AM
from the docs.fedoraproject.org dept.
To be honest, this just described your grand post.
Zig's comptime variables had this fairly bonkers behavior that basically evaluate by themselves regardless of the underlying runtime controlflow[1], I thought it was cool, but seems to be disabled on trunk build.
[1]https://godbolt.org/z/dbnG9eev7
C++20 coroutines demonstrated one side of committee-led modern C++ that left an impression of it is ultimately designed-by and -for library writers; instead of being suggested third-party library or "wait for C++23" for better experience, I'd love to see these related machinery released the same time in the standard library.
>Not Linux, but Systemd
Or maybe it is Linux's choice to not build an official default init system like BSDs that led to all the drama.
Skylake-X on X299 can be configured to not downclock at all, the light and heavy stages are referred in BIOS as AVX2- and AVX512-offsets, but of course that comes with extra heat and power draw. The voltage transition period can't be mitigated AFAIK.
Not many people realize is that recent glibc brought AVX-512 optimized str* and mem* functions to the ifunc dispatch table, your C code may have been using fancy mask registers on someone's Intel laptop!
>Reddit previously accepted accounts with no email address
They still do, I registered without an e-mail. That may have worsened my credibility according to their algorithm, however. I considered adding an e-mail to the account but feared the possibility of my e-mail being blacklisted as well.
I never saw it, tricky algorithm isn't it.
Could be, the sin of dynamic IP.
Believe it or not this is my first account on HN as well, despite regular visit for years.
All artists must have debuted sometime long after they've been hearing music, aren't they?
Coupled with WebGPU it might become the cleanest cross-platform/language abstraction to GPU programming.
Posted by
boundchecked on Thursday September 22, 2022 @02:16PM
from the self-post dept.
Sharing this funny story so that people won't feel alone when it happen to them.It seems my first and only reddit account created two hours ago is shadow-banned since the very beginning, tried one comment on /r/cpp and one post on /r/rust, nobody ever seen them other than one kind mod that confirmed there's nothing they can do.Even funnier is that there is a subreddit /r/ShadowBan dedicated to...