<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: mholub</title><link>https://news.ycombinator.com/user?id=mholub</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 27 Jun 2026 06:11:37 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mholub" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mholub in "Revisiting Knuth's “Premature Optimization” Paper"]]></title><description><![CDATA[
<p>it's more nuanced:<p>you're still releasing resources - so you might not become faster overall but you can compute more in the same time later if necessity arises (althougth that might be somewhat premature but can be good for library code - so it becomes more applicable in different environments)<p>and there are some rare but tricky scenarios like:<p>hardware is mobile phone:
app seem to be bottlenecked on arithmetics according to the profiler, so it feels obvious to start optimization there<p>in reality what happens - hardware has limit on power, so it can't give full power to CPU, GPU and memory all at the same time<p>since app uses too much memory - it has to redirect power there, also memory emits heat, so CPU becomes throttled<p>By optimizing memory, everything runs colder -> CPU gets more power, can run sustained higher frequencies - app becomes faster</p>
]]></description><pubDate>Mon, 30 Jun 2025 11:57:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=44422195</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=44422195</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44422195</guid></item><item><title><![CDATA[New comment by mholub in "Leaving Rust gamedev after 3 years"]]></title><description><![CDATA[
<p>nothing really prevents you from defining global allocator in Zig<p>and having explicit allocator in standard library is actually a good thing, cause it's quite a common case in game development to use arena allocators which are being freed once per frame - so you don't really need to reinvent your data structures in Zig<p>I do have some concerns about Zig because it also introduces some friction for correctness sake like requiring to always use all variables, explicit casts everywhere - I want some compiler toggle to disable all of that and focus on problem but unfortunately it's not there<p>I am playing with Zig now and haven't really formed my opinion about game development specifically but I like it a lot so far</p>
]]></description><pubDate>Fri, 26 Apr 2024 21:15:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=40174399</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=40174399</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40174399</guid></item><item><title><![CDATA[New comment by mholub in "Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016)"]]></title><description><![CDATA[
<p>What’s the nature of your work so you are not allowed to install software?</p>
]]></description><pubDate>Fri, 01 Dec 2023 15:47:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=38488109</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=38488109</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38488109</guid></item><item><title><![CDATA[New comment by mholub in "Unity Software to cut 3.8% of staff in 'company reset'"]]></title><description><![CDATA[
<p>this is very computationally expensive to do such operation (to understand that teeth is completely occluded by something else like mouth)<p>this is called occlusion culling and usually it brings a lot of problems on its own (it's CPU intensive and you need to apply it smartly only where it helps)<p>and even if this occlusion culling would be cheap, the way how it is usually done requires precomputing a lot of data - so occluders are static geometry<p>since character head is skinned mesh - so dynamically changes every frame based on joints positions - that will be another level of complexity<p>game engines are not really helpful here</p>
]]></description><pubDate>Wed, 29 Nov 2023 15:40:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=38460782</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=38460782</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38460782</guid></item><item><title><![CDATA[New comment by mholub in "Dear ImGui – Bloat-free graphical user interface library for C++"]]></title><description><![CDATA[
<p>We recently started to use Dear ImGUI in our custom game engine. Before we used Unity which has its own immediate mode gui solution.
And I have hard time to switch. I don't know if I don't understand how Dear ImGui work yet in comparison to Unity's one but it feels so limited.<p>So main difference is that Unity is multipass (it calls your gui drawing code multiple times per frame) and because of it it supports horizontal layout, vertical layout, custom layout modifiers, styles and it is easy to use<p>in Dear ImGUI I am struggling to write stuff like:<p>layout 3 controls horizontally, allocate fixed size for first and last one and use all left space for middle one<p>or<p>layout next N controls vertically of unknown height and use this background color for them, then layout another set of controls and use different background style for them<p>I am not the person who was actively working on integration it into our engine, so maybe it's the problem of not having documentation on our wrapper...or me not understanding very basics of it</p>
]]></description><pubDate>Wed, 04 Nov 2020 11:14:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=24988052</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=24988052</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24988052</guid></item><item><title><![CDATA[New comment by mholub in "Leaving OCaml"]]></title><description><![CDATA[
<p>so if you already had experience with Rust/etc, why did you decide to choose OCaml?<p>Also why not to choose F#/Mono (and now .NET core) for example?</p>
]]></description><pubDate>Tue, 03 Nov 2020 10:55:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=24978415</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=24978415</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24978415</guid></item><item><title><![CDATA[New comment by mholub in "Cargo-style dependency management for C, C++ and other languages with Meson"]]></title><description><![CDATA[
<p>what kind of limitations in a few words?</p>
]]></description><pubDate>Wed, 21 Oct 2020 19:25:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=24851125</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=24851125</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=24851125</guid></item><item><title><![CDATA[New comment by mholub in "Procedural cityscapes creation: Openstreetmap import in Unity and Houdini Engine"]]></title><description><![CDATA[
<p>well..Houdini is scriptable in python too :)</p>
]]></description><pubDate>Tue, 28 Jul 2020 07:47:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=23973370</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=23973370</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23973370</guid></item><item><title><![CDATA[New comment by mholub in "Sitting down too much is doing more harm to your body than you can imagine"]]></title><description><![CDATA[
<p>You just need to find activity interesting for you<p>I used to do sedentary lifestyle most of my life until I found rock climbing 2 years ago<p>I go rock climbing to a gym 2-3 times a week now. I go there because I WANT not because I have to. 
This did tremendous job to my health and overall fitness. And this is sustainable in the long term because I don't have problems with motivation.<p>So my advice — find your sport, any physical activity you are interested in. If it becomes boring, don't hesitate to change it.<p>You don't need to be a sportsman and become good at something, you just need consistency to move your body , so care about your motivation. Good body will come naturally after some time.</p>
]]></description><pubDate>Sun, 01 Oct 2017 11:05:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=15377283</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=15377283</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15377283</guid></item><item><title><![CDATA[New comment by mholub in "LinkedIn is now officially blocked in Russia"]]></title><description><![CDATA[
<p>We actually had Github banned in Russia once or twice for short periods of time (like hours or days). Because of some repository contained joke text about how to commit suicide.</p>
]]></description><pubDate>Fri, 18 Nov 2016 09:04:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=12985385</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=12985385</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12985385</guid></item><item><title><![CDATA[New comment by mholub in "Comparing Rust and C++"]]></title><description><![CDATA[
<p>Can you describe in few words which flaws do you see in rust?</p>
]]></description><pubDate>Wed, 17 Dec 2014 18:23:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=8763476</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=8763476</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8763476</guid></item><item><title><![CDATA[New comment by mholub in "What Languages Fix"]]></title><description><![CDATA[
<p>For me clojure is more about wonderful community (like ruby's one) and real projects (because of java libraries)</p>
]]></description><pubDate>Thu, 20 Mar 2014 16:23:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=7436532</link><dc:creator>mholub</dc:creator><comments>https://news.ycombinator.com/item?id=7436532</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7436532</guid></item></channel></rss>