News for hackers. Stuff that matters.
Re:GPT-Migrate converts repos from one lang/framework to ano... by gailees on Sunday July 02, 2023 @03:40AM (#36559220)
I can’t believe the author doesn’t allow conversion to JavaScript

It’s the most popular language for heavens sakes. Developers really need to stop bringing their religion into open source.

Re:GPT-Migrate converts repos from one lang/framework to ano... by transitivebs on Sunday July 02, 2023 @03:42AM (#36559240)
would be cool to see a loop of:

js ⇒ python ⇒ js

and then compare the output JS w/ the input JS. could get wilder too like:

js ⇒ rust ⇒ typescript ⇒ java ⇒ js

Re:GPT-Migrate converts repos from one lang/framework to ano... by gailees on Sunday July 02, 2023 @03:45AM (#36559261)
Oooooooooh
Re:GPT-Migrate converts repos from one lang/framework to ano... by 6510 on Sunday July 02, 2023 @03:49AM (#36559275)
I've always felt bad charging so much for so few lines.
Re:GPT-Migrate converts repos from one lang/framework to ano... by jamaicahest on Sunday July 02, 2023 @03:50AM (#36559284)
> Developers really need to stop bringing their religion into open source.

Says the person complaining "why isn't my language supported"

Re:GPT-Migrate converts repos from one lang/framework to ano... by gailees on Sunday July 02, 2023 @04:04AM (#36559352)
I mean JavaScript is the universal language…
Re:GPT-Migrate converts repos from one lang/framework to ano... by tylercrompton on Sunday July 02, 2023 @04:05AM (#36559360)
That's a take.
Re:GPT-Migrate converts repos from one lang/framework to ano... by jahsome on Sunday July 02, 2023 @04:10AM (#36559404)
Delusion and cognitive dissonance run deep for a large chunk of the JS world.
Re:GPT-Migrate converts repos from one lang/framework to ano... by TeMPOraL on Sunday July 02, 2023 @06:48AM (#36560221)
I'd laugh, but LLMs actually made me begin to reconsider my dismissal of JavaScript and Python. They're still annoying, and the wider ecosystem is a disaster, but for the first time ever, I see personal value in working with the most popular tools: their popularity means that they're what LLMs work best with. So if I'm going to involve GPT-4 in some coding, I'm better off using JS or Python than asking for e.g. Lisp.
Re:GPT-Migrate converts repos from one lang/framework to ano... by fomine3 on Monday July 03, 2023 @02:28AM (#36569524)
Type helps LLM, so possibly TypeScript become the king for LLM era. I don't know.
Re:GPT-Migrate converts repos from one lang/framework to ano... by lionkor on Sunday July 02, 2023 @04:56AM (#36559648)
The interpreter and JIT for which are written in C++, so... Is C++ even more universal?
Re:GPT-Migrate converts repos from one lang/framework to ano... by valenterry on Sunday July 02, 2023 @05:49AM (#36559940)
Then why is the tool not written in it?
Re:GPT-Migrate converts repos from one lang/framework to ano... by bilalq on Sunday July 02, 2023 @04:11AM (#36559407)
???

The literal example shown in the README has targetlang set to nodejs. Maybe it's a bit odd to specify the runtime instead of the language, but in practice, that's maybe more useful.