Skip to content

Polyglot Programming #33

Open

Description

@MaxMB15

From Thesis:

Polyglot programming is the practice of writing code in multiple languages. This would be useful as different languages are better suited for different tasks. IGC could potentially support polyglot programming by allowing the user to write code in code nodes, each using a different programming language. This would be a very ambitious feature for IGC, but it could be very useful. This would allow the user to use the best language for the task at hand and would allow the user to use IGC in a wider variety of projects. Polynote1 is an example of a computational notebook that supports polyglot programming.

A way to implement this feature would be to wrap each node with a language-specific microservice translation layer. For example, a code node containing Python could be requested to execute the code with parameters containing generic data from the previous state. The translation layer would be in charge of taking the request parameters and converting them to a format that the Python interpreter can understand. The translation layer would then execute the code and translate results back to the original input format as a new state. This would be a very complex and ambitious feature to implement, but it would be useful for many users.

Activity

  1. added theissue type on Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    big-pictureMore ambitious featuresenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions