Git Product home page Git Product logo

Comments (2)

corbin-r avatar corbin-r commented on June 11, 2024

Honestly, seeing as how both the JVM and LLVM just decompile to (effectively) C bytecode, I don't see why this wouldn't be possible.
Sure a type of interop package will have to be built and be able to run either alongside the main arua compiler (if it's built right into the compiler, then having an option to generate LLJVM bytecode or not). Or run it as a seperate service that reads the bytecode generated from the arua compiler then transpiles to LLJVM compliant code.

I'm not in favor of the transpiling option, yeah you gain compiler time and speed, but when you transpile from one thing to another without compiling natively? It can cause weird problems that prove a SoaB to solve.

Also something to think about.
it would be very useful to be able to cross compile Arua code as JVM and use JVM languages interoperably
I think this is a good idea, and bad idea.
It's a good idea because, you now have lots of portability options with Arua, you can move code easily from one JVM compliant language to the next. But! When you start adding more support for more JVM compliant languages this bogs down the language with lots of prepackaged support code, which can turn the language into a slow mess.
Now there's some ways I can think of too go around this, either A) Have "Packages" that are portability code for the language you want to cross-compile for... or B) Allow a compile time argument that will automatically download and link the language package.
But if you build it into the language? The language could get huge with any X languages you want to support.

from arua-meta.

Qix- avatar Qix- commented on June 11, 2024

I'm closing this as rejected. This was an awful idea and totally outside the scope of Arua.

from arua-meta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.