<div dir="auto">The purpose is not to have a junior programmer but to have a model of a problem in English text.<div dir="auto"><br></div><div dir="auto">I would encourage you to read Omar Khattab's writings on Late Interaction models like ColBERT and ColBERT v2, as well as his work on DSPy and prompt optimization and automated LLM as judges.</div><div dir="auto"><br></div><div dir="auto">My day job is as a C# engineer and I was able to systematically refactor almost 2,000 files with 230,000 lines of code. - I've also used it to understand really complex business domains and generate sample code that would have taken me 6 months or more to learn how to do by myself. In this way, it is also like having my own personal post-doc available. </div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Nov 30, 2025, 10:34 Mark Brown <<a href="mailto:mark@mercurylang.org">mark@mercurylang.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tomas,<br>
<br>
On Sun, Oct 26, 2025 at 7:31 AM Tomas By <<a href="mailto:tomas@basun.net" target="_blank" rel="noreferrer">tomas@basun.net</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> Just read this on Slashdot:<br>
><br>
> | I'm a programmer who started out hesitant about AI, and at first I<br>
> | thought all that it could do was auto-complete better.<br>
> | Then I tried Claude Code, and it really is like having your own<br>
> | personal junior dev assisting you're every need. Like a junior, it<br>
> | makes mistakes, but using the *massive* amount of good code that it<br>
> | creates, and fixing what's left, is so much faster than writing it<br>
> | all from scratch yourself.<br>
> <a href="https://slashdot.org/story/25/10/25/0324244/meet-the-people-who-dare-to-say-no-to-ai" rel="noreferrer noreferrer" target="_blank">https://slashdot.org/story/25/10/25/0324244/meet-the-people-who-dare-to-say-no-to-ai</a><br>
><br>
> and wonder if anybody has tried this with Mercury?<br>
<br>
Over the weekend I tried getting Claude to write a random maze<br>
generator that can do square or hex mazes with a bunch of algorithms,<br>
outputting a customized SVG file. This took ~150 non-trivial prompts<br>
for several thousand lines of code and a thousand or so lines of<br>
markdown documentation. Testing it thoroughly was beyond the scope of<br>
the experiment, but the output looks pretty good to me with some quick<br>
tests. The finished code looks pretty good, too, for the most part (if<br>
I wanted to work on it any further I'd ask Claude to work on improving<br>
boundary.m and render.m next). Claude put "2024" as the copyright<br>
year, which is kinda funny. Needs more recent training data!<br>
<br>
Transcripts are included with the project, if anyone wants to know how<br>
it was produced. Fwiw this is genuinely how I imagined holodecks would<br>
be programmed, except without the voice recognition :-)<br>
<br>
<a href="https://github.com/markbrown/amaze" rel="noreferrer noreferrer" target="_blank">https://github.com/markbrown/amaze</a><br>
<br>
><br>
> I suspect that (1) this person uses C[*]/Java, and (2) the usefulness<br>
> of this "AI" stuff for Mercury will be proportionally less in a<br>
> similar magnitude as code length for same functionality, ie a factor<br>
> ten or so.<br>
<br>
The source code for the above project is really the Markdown, not the<br>
Mercury. From what I've seen so far the choice of programming language<br>
doesn't particularly matter.<br>
<br>
As a separate experiment, I asked Claude to read the Mercury compiler<br>
source and write a document outlining the design. The result is<br>
attached. Most of it doesn't add more than the existing<br>
compiler/notes/compiler_design.html file, but the "Compilation<br>
Workflows" section looks useful.<br>
<br>
Cheers,<br>
Mark<br>
<br>
><br>
> Anybody has any experiences?<br>
><br>
> /Tomas<br>
> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@lists.mercurylang.org" target="_blank" rel="noreferrer">users@lists.mercurylang.org</a><br>
> <a href="https://lists.mercurylang.org/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.mercurylang.org/listinfo/users</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.mercurylang.org" target="_blank" rel="noreferrer">users@lists.mercurylang.org</a><br>
<a href="https://lists.mercurylang.org/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.mercurylang.org/listinfo/users</a><br>
</blockquote></div>