4 ms·
Not to diminish this work, since Lua is cool and all, but: Before you can draw lines, diagrams or tables you have to build a GUI and you have to do a lot of oth
by petercooper 14y ago
Not to diminish this work, since Lua is cool and all, but: Before you can draw lines, diagrams or tables you have to build a GUI and you have to do a lot of other things that have nothing to do with your problem that you want to be solved. .. isn't quite true.
Even forgetting things like Processing, various projects exist for other languages for visualization IDEs or to add graphics support to their REPLs. A few: http://ipython.org/ http://ipython.org/ http://kidsruby.com/ http://kidsruby.com/ http://hackety.com/ http://hackety.com/ http://nodebox.net/ http://nodebox.net/ http://docs.python.org/library/turtle.html http://docs.python.org/library/turtle.html or even my own https://github.com/peterc/trtl https://github.com/peterc/trtl
- euroclydon 14y agoIf you have a browser and an internet connection, you can go jsFiddle.net and load Processing.js, Raphael.js, Fabric.js or others and begin drawing graphics (often interactive) right in your browser in canvas or SVG.
- primitur 14y agoI think you might be missing the point that he's trying to make, which is that having the Lua VM is one thing, and great and everything, but you do still need some interface to the raw devices - input/output - to make use of it in any sense. You can't build a user-application with the basic Lua VM in any fashion other than as a command line tool. If you want more sophisticated GUI, you do have to wrap it somehow to get this working in the context of the Lua VM. (Disclaimer: I'm currently developing professionally using the MOAI toolkit..) There are plenty of solutions to the problem of not having a GUI/user-interaction built-in, of course - you can emit .png files, or you could get raw framebuffer support somehow, or you could even interface to the native GUI .. but all of this has to be done extra, its not something that works, out of the box, with the basic Lua VM ..