zlacker

[return to "Monty: A minimal, secure Python interpreter written in Rust for use by AI"]
1. avaer+Mm[view] [source] 2026-02-06 23:36:09
>>dmpetr+(OP)
This feels like the time I was a Mercurial user before I moved to Git.

Everyone was using git for reasons to me that seemed bandwagon-y, when Mercurial just had such a better UX and mental model to me.

Now, everyone is writing agent `exec`s in Python, when I think TypeScript/JS is far better suited for the job (it was always fast + secure, not to mention more reliable and information dense b/c of typing).

But I think I'm gonna lose this one too.

◧◩
2. miki12+621[view] [source] 2026-02-07 08:17:57
>>avaer+Mm
3 reasons why Python is much better than JS for this IMO.

1. Large built-in standard library (CSV, sqlite3, xml/json, zipfile).

2. In Python, whatever the LLM is likely to do will probably work. In JS, you have the Node / Deno split, far too many libraries that do the same thing (XMLHTTPRequest / Axios / fetch), many mutually-incompatible import syntaxes (E.G. compare tsx versus Node's native ts execution), and features like top-level await (very important for small scripts, and something that an LLM is likely to use!), which only work if you pray three times on the day of the full moon.

3. Much better ecosystem for data processing (particularly csv/pandas), partially resulting from operator overloading being a thing.

◧◩◪
3. 63stac+Ak1[view] [source] 2026-02-07 12:37:43
>>miki12+621
>In Python, whatever the LLM is likely to do will probably work.

Do you not realize how this sounds?

>many mutually-incompatible import syntaxes

Do you think there are 22 competing package managers in python because the package/import system "just works"?

◧◩◪◨
4. zahlma+XE1[view] [source] 2026-02-07 15:31:31
>>63stac+Ak1
> Do you think there are 22 competing package managers in python because the package/import system "just works"?

There aren't; a large fraction of tools people mention in this context aren't actually package managers and don't try to be package managers. Sometimes people even conflate standards and config files with tools. It's really amazing how much FUD there is around it.

But more importantly, there is no such thing as "the package/import system". Packaging is one thing, and the language's import system is a completely different thing.

And none of that actually bears on the LLM's ability to choose libraries and figure out language syntax and APIs. For that matter, you don't have to let it set up the environment (or change your existing setup) if you don't want to.

[go to top]