I am drooling over the thought you might be able to share that lua stuff. Learning it has now gone to the top of the list. On Jun 28, 2013 6:19 PM, "David Crayford" <[email protected]> wrote:
> I've been using node.js for a while now and seriously love it. Writing web > apps has never been easier. Web sockets are cool and a snack with > socket.io and express. I looked at porting V8 to z/OS but its a lot of > work. Lua has an almost identical feature set to JavaScript and was dirt > easy to port. It's so fast that at first I thought something must be wrong. > A REXX script that took 11 secs would run in 0.03 secs in Lua. I've come to > the conclusion that REXX is a dog. And seriously underpowered for modern > use cases. I've built a comprehensive set of runtime packages so far - > JSON, XML, sockets HTTP, SMTP, a web server framework, SQL etc. It runs > outside of unix unlike perl. I changed to loader to search DD LUAEXEC. Due > to its embedded nature it should be able to run anywhere. CICS, DB2 stored > procedures etc. The IO package is just a thin layer on top of C stdio so it > handles all the file systems including VSAM. Poor old EXECIO has never > looked more pathetic. > > Hopefully my employers will let me release the port. I'm sure a lot of > people would find it very useful. Especially those who are CPU constrained. > > On 28/06/2013, at 11:05 PM, John McKown <[email protected]> > wrote: > > > I'm becoming quite conversant with JavaScript in Firefox, Chrome, and > I.E. > > . Especially to implement some AJAX scripts which do reports on events > > reported via the z/OS HTTP server into z/OS UNIX syslogd log files. I've > > written a web based "RACF User Administration" system using AJAX for the > > security admins (us and Production Control. We're too small for a > separate > > set of z/OS RACF admins). I also use AJAX in my "Mainframe Password Reset > > Self Service" web page as well. > > > > I don't remember who, but one kind soul sent me a z/OS implementation of > > lua. I've installed it, but have not learned lua yet. On Linux, I tend to > > use either simple BASH or Perl scripts. I've got a book on Node.JS to run > > JavaScript scripts, but haven't had time to read it. > > > > On Fri, Jun 28, 2013 at 9:15 AM, David Crayford <[email protected]> > wrote: > > > >> On 28/06/2013 9:52 PM, John McKown wrote: > >> > >>> Never put off till run-time what you can do at compile-time. -- D. > Gries > >> Careful! There are quite a few assembler programmers frequent this list! > >> > >> However, it does seem that the hipsters are writing code in dynamically > >> typed languages these days. Maybe speed of development is more important > >> than static typing to the unwashed masses. > >> I'm a big fan of duck typing. Very powerful concept that the value > carries > >> the type and not the variable. I love programming in modern scripting > >> languages. Not only are they fast > >> (I've got lua zlib script that can compress a data set faster and with > >> better compression ratios than TRSMAIN) they are also easy to learn and > >> have wonderful expression. > >> Closures, functional programming, loads of useful libraries and huge > >> communities that contribute great code. Just browse github - a treasure > >> trove of delights. > >> > >> > ------------------------------**------------------------------**---------- > >> For IBM-MAIN subscribe / signoff / archive access instructions, > >> send email to [email protected] with the message: INFO IBM-MAIN > > > > > > > > -- > > This is a test of the Emergency Broadcast System. If this had been an > > actual emergency, do you really think we'd stick around to tell you? > > > > Maranatha! <>< > > John McKown > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
