<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: manasij7479</title><link>https://news.ycombinator.com/user?id=manasij7479</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 19 Oct 2026 07:46:03 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=manasij7479" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by manasij7479 in "Dataflow Analyses and Compiler Optimizations That Use Them, for Free"]]></title><description><![CDATA[
<p>These are indeed neat papers!</p>
]]></description><pubDate>Mon, 22 Apr 2024 08:13:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=40112313</link><dc:creator>manasij7479</dc:creator><comments>https://news.ycombinator.com/item?id=40112313</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40112313</guid></item><item><title><![CDATA[New comment by manasij7479 in "Logic programming is overrated, at least for logic puzzles (2013)"]]></title><description><![CDATA[
<p>Neat, I wonder if this idea could be developed into a more refined programming experience where you you spend time in the imperative world by default and only express some iterations as logic puzzles to be solved like this.</p>
]]></description><pubDate>Fri, 02 Jun 2023 03:38:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=36160660</link><dc:creator>manasij7479</dc:creator><comments>https://news.ycombinator.com/item?id=36160660</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36160660</guid></item><item><title><![CDATA[New comment by manasij7479 in "Logic programming is overrated, at least for logic puzzles (2013)"]]></title><description><![CDATA[
<p>The issue you have circled around here is a bit deeper and nuanced than trimming down exponential code to something more tractable. In fact, it's often worse, and O(2^n) can be a blessing!<p>The problem with logic programming is the 'logic' part.<p>Modern imperative and functional programming languages are constructive.<p>Logic programming is not, and the expressive power varies with the exact logic being used.<p>Elementary logic gives you the following intuition.   
Propositional logic -- easy.    
First order logic -- easy (with caveats).    
And (some kinds of) second order logic -- only easy if you get lucky with the problem you are trying to solve.<p>For logic based programming languages and systems, both the language implementer and the programmer have to be careful about supporting and using language constructs which boil down to tractable computation.<p>This is much more difficult than it seems like.<p>For example, when using SMT solvers you learn quickly that multiplication and division with constants is very fast while the same operations with variables can be intractable. i.e. reasoning about x * C --easy, while x * y is often (but not always..) going to hang.</p>
]]></description><pubDate>Thu, 01 Jun 2023 19:43:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=36156343</link><dc:creator>manasij7479</dc:creator><comments>https://news.ycombinator.com/item?id=36156343</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36156343</guid></item><item><title><![CDATA[New comment by manasij7479 in "My first superoptimizer"]]></title><description><![CDATA[
<p>Input's and other side effects are not too tricky to handle.<p>In most cases, you just slice the program to isolate pure computation, and just optimize that.<p>Most traditional compiler optimizations stick to that as well, the exceptions to this rule are carefully engineered.</p>
]]></description><pubDate>Mon, 29 May 2023 22:59:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=36119101</link><dc:creator>manasij7479</dc:creator><comments>https://news.ycombinator.com/item?id=36119101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36119101</guid></item><item><title><![CDATA[New comment by manasij7479 in "My first superoptimizer"]]></title><description><![CDATA[
<p>The pruning part can do a lot of heavy lifting to make it a practical tool.<p>Related: I work on Souper (<a href="https://github.com/google/souper">https://github.com/google/souper</a>).<p>Feel free to reach out if anyone has questions!</p>
]]></description><pubDate>Mon, 29 May 2023 22:43:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=36118984</link><dc:creator>manasij7479</dc:creator><comments>https://news.ycombinator.com/item?id=36118984</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36118984</guid></item></channel></rss>