News for hackers. Stuff that matters.
Re:Wapp – A Web-Application Framework for Tcl by cutler on Friday June 11, 2021 @10:33AM (#27473912)
For TCL? But why?
Re:Wapp – A Web-Application Framework for Tcl by fmakunbound on Friday June 11, 2021 @11:28AM (#27474658)
Why not?

Also, sometimes it seems “hacker” in Hacker News has been lost and replaced with corporate group think consensus, here.

Re:Wapp – A Web-Application Framework for Tcl by anoncake on Friday June 11, 2021 @01:44PM (#27476342)
"Growth Hacker News"
Re:Wapp – A Web-Application Framework for Tcl by bdcravens on Friday June 11, 2021 @02:52PM (#27477120)
It's thankfully moved on from those days, but for a while it was "San Francisco and some tech News"
Re:Wapp – A Web-Application Framework for Tcl by rkeene2 on Friday June 11, 2021 @11:12AM (#27474461)
It was written by the author of SQLite, which is basically a Tcl extension that escaped into the wild.

There's a talk by DRH at the Tcl 2019 Conference regarding Wapp [0].

[0] https://youtu.be/Aq4NI5NTUpU time code 1:49:34

Re:Wapp – A Web-Application Framework for Tcl by blacksqr on Friday June 11, 2021 @11:23AM (#27474592)
Yes, why on earth would someone use a tool designed to work directly with text to manage a text-based document definition protocol, when so many more complicated options are available?
Re:Wapp – A Web-Application Framework for Tcl by mhd on Friday June 11, 2021 @10:44AM (#27474076)
Tcl had a very short time in the fickle web dev spotlight, mostly due to Aolserver and Philip Greenspun. Something between CGI with Perl and whatever Java had to offer in the deep end of the 90s.

At that time, a few lucky folks made way too much money using weird languages for the fledgling commercial internet.

http://aolserver.github.io

https://philip.greenspun.com/tcl/

Re:Wapp – A Web-Application Framework for Tcl by doublerabbit on Friday June 11, 2021 @11:59AM (#27475007)
Just throwing this out there, NaviServer is the replacement to aolserver. It's in active development and pretty awesome to what it can do. OpenACS is a prime example

https://openacs.org

https://wiki.tcl-lang.org/page/NaviServer

Re:Wapp – A Web-Application Framework for Tcl by orthoxerox on Friday June 11, 2021 @11:06AM (#27474376)
Because it's a likeable language. It has a small, neat syntax, equally clever semantics, so people do stuff in tcl for fun.
Re:Wapp – A Web-Application Framework for Tcl by shp0ngle on Friday June 11, 2021 @11:11AM (#27474451)
I used to fix some bugs in Tcl/Tk program a long time ago and it was the opposite of "fun".

But frankly it was about 10 years ago (and the program in question was ancient even back then) and I don't really remember much, and if it was a fault of Tcl, Tk, or the actual program.

Re:Wapp – A Web-Application Framework for Tcl by andrewshadura on Friday June 11, 2021 @11:26AM (#27474619)
Tcl has this interesting property. It's closer to Lisp in spirit and shell in syntax, but it also looks superficially like C, being actually nothing like it. People who try to program in it as if it were C usually fail and start hating it, whereas people who understand its essence start liking it.

Unfortunately, people often encounter Tcl in situations where there's nobody to explain it to them, so they learn it the wrong way.

Re:Wapp – A Web-Application Framework for Tcl by therealcamino on Friday June 11, 2021 @08:01PM (#27479992)
To paraphrase the moderator of comp.compilers from many years ago, everything is easier if you always keep in mind that TCL is a string substitution language.
Re:Wapp – A Web-Application Framework for Tcl by edwinyzh on Friday June 11, 2021 @11:10AM (#27474433)
IIRC, the author of SQLite uses TCL.
Re:Wapp – A Web-Application Framework for Tcl by bachmeier on Friday June 11, 2021 @12:03PM (#27475059)
He used to be a member of the core TCL development team.
Re:Wapp – A Web-Application Framework for Tcl by swiley on Friday June 11, 2021 @10:38AM (#27473989)
It has one of the only truly cross platform UI toolkits.
Re:Wapp – A Web-Application Framework for Tcl by reflectiv on Friday June 11, 2021 @10:45AM (#27474087)
ok but like....thats for desktop application development...

...this is the web, a completely different and totally unrelated beast.

Re:Wapp – A Web-Application Framework for Tcl by tpoindex on Friday June 11, 2021 @11:05AM (#27474366)
I did write a Tcl web system back in the 2000's that was close to the Tk programming model, although not quite a one-to-one. Here is an example of side by side programs for Tk and Aejaks: https://wiki.tcl-lang.org/page/%C3%86jaks+compares+to+Tcl%2F...

Some other screen shots: http://aejaks.sourceforge.net/Screen_Shots/index.html

This was made with the Java based Echo toolkit, and the Jtcl interpreter (Tcl implemented in Java.)

Re:Wapp – A Web-Application Framework for Tcl by swiley on Friday June 11, 2021 @10:48AM (#27474143)
tk works on mobile as well.
Re:Wapp – A Web-Application Framework for Tcl by reflectiv on Friday June 11, 2021 @11:05AM (#27474370)
mobile is much more akin to desktop development because the API's/etc are specific to each device type (android/iphone).

The web is a different beast from that too.