Skip to content

Isolated kernels ​

Basthon's kernels (Python, OCaml, JavaScript, SQL and XCAS) are now isolated: the code runs in an environment separate from the web page that shows it. In practice:

  • more security: the code run has no access to the data of the page (such as your login information on a site that embeds Basthon);
  • a page that no longer freezes: a long computation no longer locks the interface;
  • real-time display: print and input show up as the run goes.

Play with it!

Real-time display

To get the former behaviour back, add the -legacy suffix to the kernel URL parameter, for instance https://console.basthon.fr/?kernel=python3-legacy. All the details are in the documentation.