Hacker News new | past | comments | ask | show | jobs | submit | more boundchecked's comments login

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


From testing it seems like it is executing both branches, i.e. if (b) { v+= x; } else { v += y; } is effectively v += x + y. That doesn't make much sense so I can see why it was fixed.


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.


If I understood this correctly, this is for desktop chips and systems. My experience is solely based on Xeon family of processors.

Our systems doesn’t feature a similar override, but we can adjust the thermal and power envelope of the processors and system in general.

When we get a new bunch of systems, I’ll look into it, but my hopes are not that high.

Maybe we’ll get AMD systems this time, who knows.


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.


If you want to see it, turn on 'showdead' in your profile.


same id, /u/boundchecked


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?


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: