This is possibly one of the more cursed single sentences I've ever seen in a job posting
-
This is possibly one of the more cursed single sentences I've ever seen in a job posting:
We're combining LLMs and transpilers to translate COBOL into Java.
-
On the other hand, I do think it's not an awful idea to translate languages from one to another, so
still. imagine that tech stack. oooof. -
@aud I think that's a play to eliminate the high-six-figure jobs that near-retiree software engineers demand for being the last oldheads who know COBOL
-
"BUG: the only output is a single text file with 'KILL MEEEEEEEE' written on thousands and thousands of lines"
-
@[email protected] yep, I completely agree.
-
Xandra Granade π³οΈββ§οΈreplied to Asta [AMP] last edited by
@aud What bothers me so much is that transpilation doesn't need an LLM (and in fact is made way harder by introducingan LLM), it can be done really well with formal reasoning!
-
yes, it's me, liza π΅π· π¦ π¦¦replied to Asta [AMP] last edited by
@aud transpilers?!?! compilers aren't good enough anymore?!?!
-
Asta [AMP]replied to Xandra Granade π³οΈββ§οΈ last edited by
@[email protected] Right? Like, I was pretty sure this could almost certainly be done more easily without an LLM
and to JAVA of all fucking languages? Like... considering the state of Java code, licensing wise, and Oracle, I would... not... under any circumstances try and convert to Java without a really, really fucking good reason. I dunno. I kind of think of Java as legacy due to nothing about the language itself and everything to do with Oracle. -
-
"BUG 2: We have fixed the first bug but instead of producing usable code it somehow makes the PC speaker vibrate in a manner that triggers errors in the CPU that result in re-writing the codebase back to the original 'KILL ME' bug"
-
Xandra Granade π³οΈββ§οΈreplied to Asta [AMP] last edited by
@aud We've been doing transpilation for *decades*, even including C to JavaScript! It's not easy, but it's very well understood.
Hell, the emulation community has been pushing that really hard with compiled-to-compiled transpilation.
These days it's hard to even define what's compilation and what's transpilaton.
-
Xandra Granade π³οΈββ§οΈreplied to Xandra Granade π³οΈββ§οΈ last edited by
@aud I am wondering, though, why to Java and not to JVM bytecode directly. That makes zero sense to me.
-
Asta [AMP]replied to Xandra Granade π³οΈββ§οΈ last edited by
@[email protected] yeah... are LLVM frontends compilers or transpilers? Or is this distinction... not... really... there or important?
-
Xandra Granade π³οΈββ§οΈreplied to Asta [AMP] last edited by
@aud Depends on your backend? For a while, gfortran compiled everything to C then compiled it again with gcc. Unity compiled C# to CIL then to C++, and finally compiles that C++ to native or whatever else. It's wild out there!
-
yes, it's me, liza π΅π· π¦ π¦¦replied to schrotthaufen last edited by
so you're saying your code is so woke it transcends compiling and needs to QA testing?
-
Asta [AMP]replied to Xandra Granade π³οΈββ§οΈ last edited by
@[email protected] holy shit. That's what Unity does?! Oh my god.
-
Xandra Granade π³οΈββ§οΈreplied to Asta [AMP] last edited by
@aud Yep! IL2CPP! It's not not even the most ridiculous, either. Maybe they'd have gone with LLVM IR or Cranelift IR starting from scratch now, but CIL is a pretty good IR β it wasn't designed for interfacing between different modular stages of a compiler toolchain like LLVM IR and Cranelift IR, but you can absolutely hit it with a hammer until it does the job.
Add that a lot of console SDKs work well with C++, and it's a hell of a hack, but it solves a real problem.
-
Xandra Granade π³οΈββ§οΈreplied to Xandra Granade π³οΈββ§οΈ last edited by
@aud (The distinction here being between IRs that were designed for interpretation and/or JITing, like JVM bytecode and CIL, and those IRs that are meant to be amenable to compiler passes, like LLVM IR and Cranelift IR. You tend to see stack-based for the former and the latter tends to use SSA on an infinite set of registers.)
-
Asta [AMP]replied to Xandra Granade π³οΈββ§οΈ last edited by
@[email protected] I wonder if there is a single "problem" out there trying to use an LLM that isn't just a "this is already a solved problem, we just find the whole 'paying livable wages thing' annoying" ploy.
-
Xandra Granade π³οΈββ§οΈreplied to Xandra Granade π³οΈββ§οΈ last edited by
@aud Sorry for infodumping again. Worked a bunch on IRs for quantum stuff, which inevitably (because error correction requires Turing-complete execution) requires at least as much IR infrastructure as for classical execution.