Transliterate mypy into rust? Using ChatGPT??

49 views
Skip to first unread message

Edward K. Ream

unread,
Jun 30, 2023, 3:12:08 PM6/30/23
to leo-editor
I've just asked this question of the mypy devs.

Any comments? :-)

Edward

Thomas Passin

unread,
Jun 30, 2023, 4:39:09 PM6/30/23
to leo-editor
I'd try for Julia, myself.  It's much more like Python, and reputedly very fast.  I think the program is too large to be easy to find all the things the ChatGPT would get plausible but wrong ...

Robert-Felix

unread,
Jun 30, 2023, 7:52:35 PM6/30/23
to leo-e...@googlegroups.com
Of course,  You'd need gpt4 at least for that in my experience. Gpt3 was good enough for demos and small chunks witouth anything tricky.

--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f3de19bd-8e2e-4dfe-9fad-eb2379be9901n%40googlegroups.com.

Edward K. Ream

unread,
Jun 30, 2023, 7:53:58 PM6/30/23
to leo-e...@googlegroups.com
On Fri, Jun 30, 2023 at 6:52 PM Robert-Felix <felix...@gmail.com> wrote:
Of course,  You'd need gpt4 at least for that in my experience. Gpt3 was good enough for demos and small chunks witouth anything tricky.

Or maybe gpt5?

Edward

Edward K. Ream

unread,
Jul 2, 2023, 3:05:13 AM7/2/23
to leo-editor
On Friday, June 30, 2023 at 2:12:08 PM UTC-5 Edward K. Ream wrote:
I've just asked this question of the mypy devs.

Alex, the mypy dev, mentioned that mypy is already faster than regular python because of  mypyc.

But first I'll start using dmypy, the long-running mypy daemon. It claims to be 10x faster than using mypy in batch mode.

No wonder the mypy devs aren't interested. And now, neither am I :-)

Edward

Edward K. Ream

unread,
Jul 2, 2023, 8:11:59 AM7/2/23
to leo-editor
On Friday, June 30, 2023 at 2:12:08 PM UTC-5 Edward K. Ream wrote:
I've just asked this question of the mypy devs.

Alex helpfully suggested I used dmypy, the mypy daemon. Right now dmypy is acting like mypy's evil twin, but that's likely the result of some newbie confusion on my part.

dmypy will be way cool when it works properly. It has already found an outright annotation mistake. See #3413.  But now it's time to finish the big PR :-)

Edward

HaveF HaveF

unread,
Jul 2, 2023, 9:23:21 AM7/2/23
to leo-editor
Just a quick note for this question:

> Easily migrate your codebase from one framework or language to another.
> GPT-Migrate is currently in development alpha and is not yet ready for production use. 
For instance, on the relatively simple benchmarks, it gets through "easy" languages 
like python or javascript without a hitch ~50% of the time, and cannot get through 
more complex languages like C++ or Rust without some human assistance.

Edward K. Ream

unread,
Jul 2, 2023, 9:37:47 AM7/2/23
to leo-e...@googlegroups.com
On Sun, Jul 2, 2023 at 8:23 AM HaveF HaveF wrote:

Thanks for the link. It will be worth watching their progress.

Edward
Reply all
Reply to author
Forward
0 new messages