Microsoft published a blog, announcing the release of Polyglot Notebooks, a Visual Studio Code’s multi-language notebook extension. It is now available in the VC Code Marketplace.
Polyglot Notebooks allow users to use various programming languages in one notebook with full language server support. Moreover, they enable users to share variables between languages, allowing for a seamless workflow. Users can avoid switching between different tools and manually transferring data, which can interrupt their workflow.
AIM Daily XO
Join our editors every weekday evening as they steer you through the most significant news of the day, introduce you to fresh perspectives, and provide unexpected moments of joy
The Polyglot Notebooks currently support:
- KQL (Kusto Query Language)
Download our Mobile App
This interconnection enables several benefits for users. Connecting and querying Microsoft SQL server databases and Kusto clusters is now possible by natively writing in SQL or KQL.
Moreover, there is no need for wrapper libraries for using multiple languages in the same notebook. Developers can natively write code in their preferred language. You can also share your variables to another language without jumping from tool to tool.
Polyglot Notebooks within VS Code leverage .NET Interactive, an innovative engine developed using .NET technology. This engine can execute various programming languages and allow for variable sharing between them. Since it can act as a kernel within the context of notebooks, it enhances the overall experience of using Polyglot Notebooks.
While the Polyglot Notebooks extension in Visual Studio Code is now generally available, but the .NET Interactive APIs that power it are still in preview.