<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: walki</title><link>https://news.ycombinator.com/user?id=walki</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 25 Apr 2026 15:47:09 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=walki" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by walki in "Windows NT vs. Unix: A design comparison"]]></title><description><![CDATA[
<p>I feel like the NT kernel is in maintenance only mode and will eventually be replaced by the Linux kernel. I submitted a Windows kernel bug to Microsoft a few years ago and even though they acknowledged the bug the issue was closed as a "won't fix" because fixing the bug would require making backwards incompatible changes.<p>Windows currently has a significant scaling issue because of its Processor Groups design, it is actually more of an ugly hack that was added to Windows 7 to support more than 64 threads. Everyone makes bad decisions when developing a kernel, the difference between the Windows NT kernel and the Linux kernel is that fundamental design flaws tend to get eventually fixed in the Linux kernel while they rarely get fixed in the Windows NT kernel.</p>
]]></description><pubDate>Tue, 10 Sep 2024 08:03:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=41498348</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=41498348</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41498348</guid></item><item><title><![CDATA[New comment by walki in "Bitwarden Heist – How to break into password vaults without using passwords"]]></title><description><![CDATA[
<p>Microsoft's %Appdata% directory is a security nightmare in my opinion. Ideally applications should only have access to their own directories in %Appdata% by default. I recently came across a python script on GitHub that allows to decrypt passwords the browser stores locally in their %Appdata% directory. Many attacks could be prevented if access to %Appdata% was more restricted.<p>I also found a post of an admin a few days ago where he asked if there was a Windows setting for disallowing any access to %Appdata%. The response was that if access to %Appdata% is completely blocked Windows won't work anymore.</p>
]]></description><pubDate>Wed, 03 Jan 2024 17:23:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=38856732</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=38856732</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38856732</guid></item><item><title><![CDATA[New comment by walki in "Endianness, a constant source of conflict for decades"]]></title><description><![CDATA[
<p>> For performance, can’t you “just” have a swap-endianness instruction in your CPU<p>Yes, most CPUs have special instructions for swapping between little and big endian byte arrangement. The GCC compiler has the __builtin_bswap64(x) for accessing this instruction. However this is an additional instruction that needs to be executed for each read of a 64-bit word that needs to be converted, in some workloads this can double the number of executed instructions and hence add significant overhead.<p>Supporting big endian CPUs in systems programming sucks beyond imagination. There are virtually no big endian users anymore and making sure your software works fine on big endian requires testing it on a big endian CPU. However it is not possible to buy a big endian CPU anymore as there exist no more consumer big endian CPUs. For this reason I still have a Mac PowerPC from 2003 at home running an ancient version of Mac OS X. But over the last 2 years I have stopped testing my software on big endian, I just don't care about big endian anymore...</p>
]]></description><pubDate>Wed, 18 Aug 2021 09:26:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=28219137</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=28219137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28219137</guid></item><item><title><![CDATA[New comment by walki in "Endianness, a constant source of conflict for decades"]]></title><description><![CDATA[
<p>> not sure if this is still the case though<p>No this is not the case anymore. Nowadays support for unaligned memory accesses is very good on ARM and most other CPU architectures. On x86 aligned memory used to be very important for SIMD but now there are even special SIMD instructions for unaligned data and the performance overhead of unaligned memory accesses is generally very small in my experience.</p>
]]></description><pubDate>Wed, 18 Aug 2021 09:09:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=28219049</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=28219049</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28219049</guid></item><item><title><![CDATA[New comment by walki in "Endianness, a constant source of conflict for decades"]]></title><description><![CDATA[
<p>> it’s good for software robustness that file formats and hardware use different endianness, as it forces you to read things byte-by-byte rather than lazily assuming you can just read 4 bytes and cast them directly to an int32.<p>Except that it is very bad for performance. As far as CPUs are concerned little-endian has definitely won, most CPU architectures that have been big endian in the past (e.g. PowerPC) are now little endian by default.<p>If all new CPU architectures are little endian this means that within a decade or two there won't be any operating systems that support big endian anymore.</p>
]]></description><pubDate>Wed, 18 Aug 2021 08:48:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=28218952</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=28218952</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28218952</guid></item><item><title><![CDATA[New comment by walki in "Rust is now overall faster than C in benchmarks"]]></title><description><![CDATA[
<p>What's interesting to note though is that I tried marking pointers __restrict__ in the performance critical sections in 2 of my C++ projects and the assembly generated by Clang was identical in all cases!<p>So while it is true that by default Rust has a theoretical performance advantage (compared to C/C++) because it forbids aliasing pointers I wonder (doubt) whether this will cause Rust binaries to generally run faster than C/C++ binaries.<p>On the other hand Rust puts security first, so there are lots of array bounds checks in Rust programs (and not all of these bounds checks can be eliminated). Personally I think this feature deteriorates the performance of Rust programs much more than you gain by forbidding aliasing pointers.</p>
]]></description><pubDate>Mon, 04 Jan 2021 08:14:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=25628818</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=25628818</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25628818</guid></item><item><title><![CDATA[New comment by walki in "Rust is now overall faster than C in benchmarks"]]></title><description><![CDATA[
<p>OK thanks, indeed Clang is able to generate better assembly using __restrict__. And -O3 generates the same assembly as -O3 -fstrict-aliasing (which is not as good as __restrict__).<p>I wish there was a C/C++ compiler flag for treating all pointers as __restrict__. However I guess that C/C++ standard libraries wouldn't work with this compiler option (and therefore this compiler option wouldn't be useful in practice).</p>
]]></description><pubDate>Sun, 03 Jan 2021 21:50:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=25625581</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=25625581</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25625581</guid></item><item><title><![CDATA[New comment by walki in "Rust is now overall faster than C in benchmarks"]]></title><description><![CDATA[
<p>> C compilers have to assume that pointers to memory locations can overlap, unless you mark them __restrict...<p>What I don't fully understand is: "GCC has the option -fstrict-aliasing which enables aliasing optimizations globally and expects you to ensure that nothing gets illegally aliased. This optimization is enabled for -O2 and -O3 I believe." (source: <a href="https://stackoverflow.com/a/7298596" rel="nofollow">https://stackoverflow.com/a/7298596</a>)<p>Doesn't this mean that C++ programs compiled in release mode behave as if all pointers are marked with __restrict?</p>
]]></description><pubDate>Sun, 03 Jan 2021 21:05:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=25625239</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=25625239</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25625239</guid></item><item><title><![CDATA[New comment by walki in "The Ampere Altra Review: 2x 80 Cores Arm Server Performance Monster"]]></title><description><![CDATA[
<p>> Has anyone tried machine learning on this or the Graviton2?<p>I have not done any machine learning on AWS Graviton2 CPUs but I ran many other CPU benchmarks on Graviton2 CPUs and overall I have been disappointed by their performance. They are still much slower than current x64 CPUs (x64 CPUs are up to 2x faster in single thread mode).<p>According to the benchmarks from Anandtech the Ampere Altra should have much better performance than Graviton2 CPUs as its performance is neck to neck with the fastest x64 CPUs.</p>
]]></description><pubDate>Fri, 18 Dec 2020 15:37:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=25468050</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=25468050</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25468050</guid></item><item><title><![CDATA[New comment by walki in "Dear Google Cloud: Your Deprecation Policy Is Killing You"]]></title><description><![CDATA[
<p>They also asked for the VAT number of the company...</p>
]]></description><pubDate>Sat, 15 Aug 2020 13:37:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=24168750</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=24168750</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24168750</guid></item><item><title><![CDATA[New comment by walki in "Dear Google Cloud: Your Deprecation Policy Is Killing You"]]></title><description><![CDATA[
<p>Yes, I am based in Europe. If this was EU's fault then why didn't any of the other cloud vendors have this requirement?</p>
]]></description><pubDate>Sat, 15 Aug 2020 13:35:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=24168737</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=24168737</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24168737</guid></item><item><title><![CDATA[New comment by walki in "Dear Google Cloud: Your Deprecation Policy Is Killing You"]]></title><description><![CDATA[
<p>I have personally used a large number of cloud compute services: AWS, packet, Alibaba, Digital Ocean, nimbix, Azure, Oracle, ... I still use all of these services from time to time. If you carefully look at my list of cloud vendors you realize that there is only one of the big cloud vendors missing: GCP. Why?<p>When GCP came out I wanted to switch from AWS to GCP because AWS was costing me a lot of money and GCP was marketed as being cheaper. So I went to their website and signed up. Or at least I tried to sign up, because GCP did not care about individuals, you had to be a company! No other cloud vendor I tested had this requirement! So up to this date I have never tried to sign up with GCP again.</p>
]]></description><pubDate>Sat, 15 Aug 2020 08:04:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=24166964</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=24166964</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24166964</guid></item><item><title><![CDATA[New comment by walki in "Trump says he will ban TikTok through executive action"]]></title><description><![CDATA[
<p>> The facts: we gain almost nothing by having tiktok around. We lose nothing by banning it, and gain a little bit of buffer against possible threats like election meddling, data mining for nefarious purposes and other things. Completely leaving politics aside, I basically support this.<p>What about if all non-US countries start reasoning like you and ban Youtube, Facebook, ...?</p>
]]></description><pubDate>Sat, 01 Aug 2020 09:08:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=24018959</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=24018959</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24018959</guid></item><item><title><![CDATA[New comment by walki in "Apple aims to sell Macs with its own chips starting in 2021"]]></title><description><![CDATA[
<p>> It's worth pointing out how extremely far ahead Apple seems to be in terms of CPU power...<p>I agree that Apple's ARM CPUs are very competitive on simple scalar instructions and memory latency/bandwidth. However x86/x64 CPUs have up to 512 bit wide vector instructions and many programs use vector instructions somewhere deep down in the stack. I guess that the first generation of Apple ARM64 CPUs will offer only ARM NEON vector instructions which are 128 bit wide and honestly a little pathetic at this point in time. But on the other hand I am very excited about this new competition for x86 CPUs and I will for sure buy once of these new Macs in order to optimize my software for ARM64.</p>
]]></description><pubDate>Thu, 23 Apr 2020 13:55:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=22955988</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=22955988</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22955988</guid></item><item><title><![CDATA[New comment by walki in "Make Linux Fast Again (2019)"]]></title><description><![CDATA[
<p>> Net result: they do not. For my use case (Clojure/JVM and ClojureScript compilation), compile times did not get shorter. There seemed to be a slight improvement, but it was below the level of measuring noise (which was around 8%).<p>I think the level of measuring noise is 0.5%, at least that is what low level system programmers generally consider as noise...</p>
]]></description><pubDate>Fri, 10 Apr 2020 11:55:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=22832088</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=22832088</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22832088</guid></item><item><title><![CDATA[New comment by walki in "Actix project postmortem"]]></title><description><![CDATA[
<p>I absolutely agree with this. The author has spent an insane amount of time to build all this stuff and instead of getting recognition and/or being payed adequately he is getting shitstorm after shitstrom.<p>As an outsider I have to say that I think what the Rust community has technically achieved is remarkable. But on the social side it is not so bright, avid Rust users constantly spam forums of other programming languages with toxic comments. But this incident shows that the situation is even worse than expected, the Rust community even treats its own peers like sh..</p>
]]></description><pubDate>Fri, 17 Jan 2020 13:17:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=22074313</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=22074313</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22074313</guid></item><item><title><![CDATA[New comment by walki in "Should I Resign from My Full Professor Job to Work Fulltime on Cocalc?"]]></title><description><![CDATA[
<p>I absolutely think you made the right decision!<p>I look up to you because you are not just another random math professor producing papers that no one ever reads. Instead you take a risk and try to succeed at what you are most passionate about. In my opinion this is both more noble and more exciting than being a pure math professor. I sincerely hope CoCalc works out well for you, good luck!</p>
]]></description><pubDate>Thu, 18 Apr 2019 08:32:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=19689605</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=19689605</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19689605</guid></item><item><title><![CDATA[New comment by walki in "Homebrew 1.9.0"]]></title><description><![CDATA[
<p>For many packages it is difficult to get packaged for all Linux distributions. Hence if your package does not get packaged for a particular Linux distribution users can still install your package using homebrew.</p>
]]></description><pubDate>Wed, 09 Jan 2019 12:10:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=18864129</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=18864129</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18864129</guid></item><item><title><![CDATA[New comment by walki in "V8 release v7.2"]]></title><description><![CDATA[
<p>> #aargh<p>Many system programmers will think this line is commented out. Indeed what a nightmare!</p>
]]></description><pubDate>Tue, 18 Dec 2018 14:19:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=18706513</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=18706513</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18706513</guid></item><item><title><![CDATA[New comment by walki in "A Programming Language Underdog"]]></title><description><![CDATA[
<p>No garbage collection.</p>
]]></description><pubDate>Sat, 22 Sep 2018 13:20:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=18045864</link><dc:creator>walki</dc:creator><comments>https://news.ycombinator.com/item?id=18045864</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18045864</guid></item></channel></rss>