<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: mojo</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/mojo.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2024-05-12T20:17:45+00:00</updated><author><name>Simon Willison</name></author><entry><title>Parsing PNG images in Mojo</title><link href="https://simonwillison.net/2024/May/12/parsing-png-images-in-mojo/#atom-tag" rel="alternate"/><published>2024-05-12T20:17:45+00:00</published><updated>2024-05-12T20:17:45+00:00</updated><id>https://simonwillison.net/2024/May/12/parsing-png-images-in-mojo/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://fnands.com/blog/2024/mojo-png-parsing/"&gt;Parsing PNG images in Mojo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
It’s still very early days for Mojo, the new systems programming language from Chris Lattner that imitates large portions of Python and can execute Python code directly via a compatibility layer.&lt;/p&gt;

&lt;p&gt;Ferdinand Schenck reports here on building a PNG decoding routine in Mojo, with a detailed dive into both the PNG spec and the current state of the Mojo language.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://news.ycombinator.com/item?id=40328338"&gt;Hacker News&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/png"&gt;png&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mojo"&gt;mojo&lt;/a&gt;&lt;/p&gt;



</summary><category term="png"/><category term="python"/><category term="mojo"/></entry><entry><title>Mojo may be the biggest programming advance in decades</title><link href="https://simonwillison.net/2023/May/4/mojo/#atom-tag" rel="alternate"/><published>2023-05-04T04:41:03+00:00</published><updated>2023-05-04T04:41:03+00:00</updated><id>https://simonwillison.net/2023/May/4/mojo/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.fast.ai/posts/2023-05-03-mojo-launch.html"&gt;Mojo may be the biggest programming advance in decades&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Jeremy Howard makes a very convincing argument for why the new programming language Mojo is a big deal.&lt;/p&gt;

&lt;p&gt;Mojo is a superset of Python designed by a team lead by Chris Lattner, who previously created LLVM, Clang and and Swift.&lt;/p&gt;

&lt;p&gt;Existing Python code should work unmodified, but it also adds features that enable performant low-level programming—like “fn” for creating typed, compiled functions and “struct” for memory-optimized alternatives to classes.&lt;/p&gt;

&lt;p&gt;It’s worth watching Jeremy’s video where he uses these features to get more than a 2000x speed up implementing matrix multiplication, while still keeping the code readable and easy to follow.&lt;/p&gt;

&lt;p&gt;Mojo isn’t available yet outside of a playground preview environment, but it does look like an intriguing new project.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://twitter.com/hamelhusain/status/1653963183013634048"&gt;@hamelhusain&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/programming-languages"&gt;programming-languages&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ai"&gt;ai&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mojo"&gt;mojo&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jeremy-howard"&gt;jeremy-howard&lt;/a&gt;&lt;/p&gt;



</summary><category term="programming-languages"/><category term="python"/><category term="ai"/><category term="mojo"/><category term="jeremy-howard"/></entry></feed>