Remix.run Logo
kace91 9 hours ago

>The approach was the same as Cloudflare’s vinext rewrite: port the official jsonata-js test suite to Go, then implement the evaluator until every test passes.

the first question that comes to mind is: who takes care of this now?

You had a dependency with an open source project. now your translated copy (fork?) is yours to maintain, 13k lines of go. how do you make sure it stays updated? Is this maintainance factored in?

I know nothing about JSONata or the problem it solves, but I took a look at the repo and there's 15PRs and 150 open issues.

simonw 9 hours ago | parent | next [-]

That's only important if the plan is to stay feature-compatible with the original going forward.

For this case, where it's used as an internal filtering engine, I expect the goal is fixing bugs that show up and occasionally adding a feature that's needed by this organization.

kace91 9 hours ago | parent | next [-]

>expect the goal is fixing bugs that show up and occasionally adding a feature that's needed by this organization.

Even if we assume a clean and bug free port, and no compatibility required moving forward, and a scope that doesn't involve security risks, that's already non trivial, since it's a codebase no one has context of.

Probably not 500k worth of maintainance (because wtf were they doing in the first place) but I don't buy placing the current cost at 0.

PetahNZ 2 hours ago | parent | prev | next [-]

If the original released a bunch more features that you wanted why wouldn't you just redo the conversion against the latest version?

shimman 9 hours ago | parent | prev [-]

This case looks like pure marketing fluff rather than sound engineering tho.

Herring 9 hours ago | parent | prev | next [-]

The full translation took 7hrs and $400 in tokens. Applying diffs every quarter using AI is much easier and cheaper. Software engineering has completely changed.

aniceperson 9 hours ago | parent [-]

except there are 2 go implementations already, and he burnt 500k per year to have a kubernetes clusters to parse json (???), so the total gain is -500000*year - 400 + 1 (deducting prompt to use existing implementation)

delijati 9 hours ago | parent | prev | next [-]

it is all yolo from here on out ... every major ai decision we're making today feels like a bet that agi will eventually show up and clean up the mess

52-6F-62 9 hours ago | parent [-]

There is a choice, yet.

saadn92 9 hours ago | parent | prev | next [-]

> the first question that comes to mind is: who takes care of this now?

probably another AI agent at their company, who I'm sure won't make any mistakes

bawolff 9 hours ago | parent | prev [-]

I mean, my first question would be how good the test suite on this project is.