this post was submitted on 04 Nov 2023
1 points (100.0% liked)

Java News/Tech/Discussion/etc. No programming help, no learning Java

0 readers
0 users here now

News, Technical discussions, research papers and assorted things of interest related to the Java programming language NO programming help, NO...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/java by /u/cyrilou242 on 2023-11-03 16:27:07.


Years after jshell first release, interactive programming, notebook style development and data viz is still not Java's forte.

The Jupyter notebook way has its con and IMHO does not really integrate well with the java development flow and tools. Recently there's been many new interesting approaches to the notebook paradigm with systems like Observable and Clerk.

Here is my attempt to build a reactive notebook system for java: jnotebook

Specifically I try to address the following problems:

  1. notebook editors are less helpful than IDE editors

--> jnotebook interprets JShell files and renders them as notebook. You can use the IDE of your choice to edit the files. Code completion and all IDE nice things stay available. Version control is straightforward. 2. out-of-order execution causes reproducibility issues

--> jNotebook always evaluates from top to bottom. jnotebook

builds a dependency graph of Java statements and only recomputes the needed changes to keep the feedback loop fast. 3. the Java ecosystem does not provide a great experience for visualization and document formatting

--> cells outputs are interpreted as html. This gives access to great javascript visualization libraries and standard html for formatting. Helpers are made available for this.

If you find this interesting, I'd love to get your feedbacks.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here