News for hackers. Stuff that matters.
Re:D2 (text to diagram tool) now supports ASCII renders by gsinclair on Tuesday August 19, 2025 @06:48PM (#44956962)
How on earth can it be weird that a vim extension is written in vimscript?!
Re:D2 (text to diagram tool) now supports ASCII renders by stavros on Tuesday August 19, 2025 @08:06PM (#44957409)
Well imagine a Java extension being written in Javascript...
Re:D2 (text to diagram tool) now supports ASCII renders by groutlloyd on Tuesday August 19, 2025 @10:36PM (#44958172)
It's rad man, someone should do this.
Re:D2 (text to diagram tool) now supports ASCII renders by cess11 on Wednesday August 20, 2025 @08:31AM (#44961319)
Don't have to imagine, it's been a thing since Java 8.

https://www.baeldung.com/java-nashorn

Re:D2 (text to diagram tool) now supports ASCII renders by reactordev on Wednesday August 20, 2025 @10:41AM (#44962407)
Sunsetted in Java 14. Now it’s Graal.
Re:D2 (text to diagram tool) now supports ASCII renders by Graziano_M on Tuesday August 19, 2025 @11:27PM (#44958381)
Vim is basically dead. Most new plugins are written in Lue (for Neovim). I don’t like Lue much but it’s 1000x better than vim script. I occasionally tweak my Neovim plugins but don’t bother with those written in Vimscript.
Re:D2 (text to diagram tool) now supports ASCII renders by JSR_FDED on Wednesday August 20, 2025 @01:40AM (#44958957)
1. Vim is extremely alive

2. “Lue” is actually Lua

3. It’s very possible to use both Vimscript and Lua in the same Neovim setup, so transition (or don’t) at your leisure.

4. New plugins tend to be written in Lua (for Neovim).

Re:D2 (text to diagram tool) now supports ASCII renders by Graziano_M on Wednesday August 20, 2025 @08:41AM (#44961396)
Yes, new plugins are written in Lua, and this one wasn't. That is what is too bad.

Previous comment was written on my phone and it decided to autocorrect Lua to Lue.

Re:D2 (text to diagram tool) now supports ASCII renders by reactordev on Wednesday August 20, 2025 @10:43AM (#44962424)
There are far more vim users in the world than you realize. Every time I’m on ssh, I’m on vim. So daily, for the last 30 years.