Combine Languages Together

Submitted by Dickens A S on Sat, 10/26/2019 - 08:39

Many languages can be combined together, languages can be invoked or called or directly used as follows

  • Python
  • R
  • JavaScript
  • Haskell
  • PHP 
  • Ruby
  • etc..

All these languages can be embedded and invoked from many languages using engines like Rhino for JavaScript

This benefits 

  • Reuse
  • Virtualize
  • Route
  • Embed

Example

Trigger a python routine from Java and then trigger a JavaScript routine to combine two different existing "as is" source codes to form the complete functional output

As per my analysis

I am able to re-use most of the Pure "C" pre-compile libraries installable via tools like rpm, apt-get, yum, brew, pacman, etc... can be interopped in kotlin

For example

Which makes most of the old C libraries can be used in Kotlin and many mathematical solutions can be enhanced as it is

For example

  • Cairo or Pango can be brought back and used in Kotlin Native for graphics
  • LibRsvg can be used as it is to read or write SVG files
  • Theano from python library can be re-used in Kotlin Native
  • elasticsearch from Ruby can be re-used in Kotlin
  • etc..,

This opens a new gateway to experiment both old/new formulas like Robert Cross, Sobel, Prewitt operators and modern libraries like lapack, openblas, tensorflow ... etc can be used and merged together

Add new comment