java / devrel

Java DevRel feedback
https://inside.java
10 stars 1 forks source link

[Epic]: Jupyter notebook functionality for Java #14

Open ge0ffrey opened 11 months ago

ge0ffrey commented 11 months ago

What happened?

This might be a very tall order and out-of-scope of this playground, but if the playground supports:

it becomes as powerful Java alternative to Python's Jupyter notebook or Kotlin's notebook, making it much easier to teach the Java language to new students.

OS

Linux

What browsers are you seeing the problem on?

No response

Contact Details (optional)

No response

Additional information

Leave blank

danthe1st commented 11 months ago

To be honest, I (personally) think this is way too much for the playground (also it's supposed to be very restricted, e.g. you can't access files, network or similar) so many this probably won't work on it.

For things like that, it might be better to just use a Java kernel for Jupyter notebooks, e.g. https://github.com/SpencerPark/IJava (which seems to be based on jshell as well). Using something like that allows to use IO etc.

Also, JavaFX Notebook might be relevant for that use-case.