You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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