At long, overdue, too late last... In the very early days of the web, I used to fantasize - naively - about the whole undignified html hodgepodge never having happened, and the entire web just running on served-up tcl/tk.
If you've ever placed a sports bet anywhere in the world online, chances are your bet went through Tcl code front and back. I spent 15 years writing it.
Wacl: Tcl distro customized for WebAssembly
61–68 of 68 posts
Re: Wacl: Tcl distro customized for WebAssembly
#62Earlier quoted context omitted.
All fair, but you have to take the time period in context. There wasn't the plethora of choice we have today.
It's the "reasonably complete" phrase that I'm responding to. For example: Qt was released around the same time. Do you know if the first version included QGraphicsView? Because it has features we still associate with a modern 2d graphics API-- affine transforms, opacity, grouping of primitives, arbitrarily complex paths, and decent performance even with event handlers and many items being animated on the canvas.
Re: Wacl: Tcl distro customized for WebAssembly
#63Earlier quoted context omitted.
well, for me, when i used to like Tcl, it was * the everything is a string, mantra * meta-programming possibilities * tcl wiki ( http://wiki.tcl.tk/ ) the tcl wiki is the reason i fell in love with wikis, my first wiki experience, and in my opinion when it was very active, it was home of a really nice community I think if someone can rewrite tcl or a tcl like language, as the top level language, using a more modern l…
"I think if someone can rewrite tcl or a tcl like language, as the top level language, using a more modern low level language, like Rust or Go ... it will be a very nice combo, I think Tcl can serve as a really nice declarative language" Why would someone rewrite Tcl in another language? That is just an immense amount of work and would (re)introduce bugs that have been found and fixed in Tcl over the last 3 decades.…
Re: Wacl: Tcl distro customized for WebAssembly
#64Why do people like Tcl? I've never tried diving in to using the language, but I have debugged MacPorts now and then, which is all Tcl, and I've seen that Tcl UI library used in other scripting languages. What's the draw, other than having some existing code written in the language? Gems like the `upvar` command? ( http://wiki.tcl.tk/1508 ) Is there something special about Tcl that makes it a joy to use?
Re: Wacl: Tcl distro customized for WebAssembly
#65Earlier quoted context omitted.
It's the "reasonably complete" phrase that I'm responding to. For example: Qt was released around the same time. Do you know if the first version included QGraphicsView? Because it has features we still associate with a modern 2d graphics API-- affine transforms, opacity, grouping of primitives, arbitrarily complex paths, and decent performance even with event handlers and many items being animated on the canvas.
Yes, qt is a better toolkit. But it wasn't embedded in a cross platform scripting language at the time.
Re: Wacl: Tcl distro customized for WebAssembly
#66Why do people like Tcl? I've never tried diving in to using the language, but I have debugged MacPorts now and then, which is all Tcl, and I've seen that Tcl UI library used in other scripting languages. What's the draw, other than having some existing code written in the language? Gems like the `upvar` command? ( http://wiki.tcl.tk/1508 ) Is there something special about Tcl that makes it a joy to use?
By the time you outgrow TCL you are a really good programmer. You choose and advocate appropriately.
First you use it because it is simple to learn. Then you outgrow it and blame its weaknesses. Then you remember its strengths from a different perspective and pick it up again :)
Re: Wacl: Tcl distro customized for WebAssembly
#67Earlier quoted context omitted.
I am now looking at the Red programming language [1] for exactly this, but it does not have the libraries of C++ or Tcl. Still it is under 1 meg complete with libraries and it is homoiconic, cross-platform, and has a REPL and a systems language Red/System for going low level. The GUI and UI DSL and drawing DSL work on Windows and Mac for now, with Linux close behind. [1] http://www.red-lang.org/p/about.html
The default download didn't have GUI support on my Mac when I just tried it, and the documentation seems to indicate it's Windows only so far?
Re: Wacl: Tcl distro customized for WebAssembly
#68Earlier quoted context omitted.
I am now looking at the Red programming language [1] for exactly this, but it does not have the libraries of C++ or Tcl. Still it is under 1 meg complete with libraries and it is homoiconic, cross-platform, and has a REPL and a systems language Red/System for going low level. The GUI and UI DSL and drawing DSL work on Windows and Mac for now, with Linux close behind. [1] http://www.red-lang.org/p/about.html
The default download didn't have GUI support on my Mac when I just tried it, and the documentation seems to indicate it's Windows only so far?
I like Lazarus a lot. I am not a fan of Pascal though, and Red is under 1 MB batteries included. I like how it seems a cross between Lisp, Forth and other languages.