Hacker News new | past | comments | ask | show | jobs | submit login

I assume those seconds are mainly JVM startup time. The existing ob-plantuml doesn't support sessions, so it evaluates every code block in a new instance of plantuml. Seems to me like should be possible to use the `-pipe`-option for plantuml so that you can send multiple code blocks to the same instance via stdin and get the images back via stdout. That's probably what VSCode does, but it doesn't seem like anyone has bothered to write that for Emacs so far.



Yep most likely -

https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-pla...

Seems like this might an opportunity for a graalvm build of plantuml... might be better then a server version but tbd.

https://www.graalvm.org/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: