DEV Community

Discussion on: Imaginary Language Features

Collapse
 
sm0ke profile image
Sm0ke

Still dreaming to this:

  1. Export the same piece of code in any language automatically

  2. Multiple languages mixtures. Imagine a big program with the core part written in C++ (for speed), the GUI in React and the AI/ML in Python. The imaginary source code:

@C++

int x = 1; 

@React

// javascript magic here

@Python

if something:
   print('Python here .. <('_')>  ')

Cheers!

Collapse
 
awwsmm profile image
Andrew (he/him)

Have you heard of GraalVM?

Collapse
 
sm0ke profile image
Sm0ke

nope, thanks.
I will take a look