3 ms·
Java can be very fast indeed. It gets a bad press because many programs coded in it can be quite heavy and bloated.
by Nux 5y ago
Java can be very fast indeed. It gets a bad press because many programs coded in it can be quite heavy and bloated.
- cpach 5y agoTBH I think this is the first time I’ve seen a TUI done in Java. (There might be more examples out there but I can’t come to think of any right now at least.)
- laumars 5y agoA TUI is ostensibly just a command line application with an event loop and plenty of {ESC} characters being written to STDOUT. And I can assure you there are no shortage of Java applications that run headless.
- tyingq 5y agoA couple of TUI libraries for Java: http://www.pitman.co.za/projects/charva/Screenshots.html http://www.pitman.co.za/projects/charva/Screenshots.html https://github.com/mabe02/lanterna https://github.com/mabe02/lanterna And, lower level, there's jCurses, which despite the name, also works on Windows: https://github.com/kba/jcurses https://github.com/kba/jcurses
- tyingq 5y agoApparently, the linked project also separated out their Java TUI into a separate project called Jexer. https://gitlab.com/klamonte/jexer https://gitlab.com/klamonte/jexer