Groups | Search | Server Info | Login | Register
Groups > comp.os.vms > #378397
| From | cross@spitfire.i.gajendra.net (Dan Cross) |
|---|---|
| Newsgroups | comp.os.vms |
| Subject | Re: DCL2 |
| Date | 2025-12-17 16:55 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <10huna7$jc8$1@reader2.panix.com> (permalink) |
| References | <10h055c$217jf$1@dont-email.me> <10h3upk$3f20l$1@dont-email.me> <10hrovq$mbo$1@reader2.panix.com> <10hsiel$329ui$1@dont-email.me> |
In article <10hsiel$329ui$1@dont-email.me>, Craig A. Berry <craigberry@nospam.mac.com> wrote: > >On 12/16/25 8:05 AM, Dan Cross wrote: >> In article <10h3upk$3f20l$1@dont-email.me>, >> Craig A. Berry <craigberry@nospam.mac.com> wrote: >>> [...] But with people using scripting >>> languages to process massive vectors to train LLM models, it all seems >>> pretty puny. >> >> This is a good point, but, I sometimes wonder if, perhaps, we >> need to recalibrate what we mean when we say, "scripting >> language." I imagine that you are referring to Python here, as >> that seems to be the thing that the kids are all hip on these >> days when it comes to model training and such-like, but I think >> it's fair to say that that language has grown far beyond >> traditional "scripting" use. >> >> Python is interpreted, yes, but people who are using it to do >> numerical analysis are often using the jit-compiled variant, and >> more often the actual heavy computational lifting is being done >> in a library that's exposed to Python via an FFI; so the actual >> training code is in Fortran or C or some more traditional >> compiled language. > >Yes, of course. The scripting language will use a library (e.g., NumPy >or PyTorch) that exposes interfaces to various kinds of hardware >acceleration. But eventually there is processed data returned that gets >manipulated using ordinary constructs of the calling language. Sure. But the point is that, at that point, those are the parts of the program that aren't (generally) performance-critical, or where the relatively slow performance of interpreted Python isn't a serious impedement, for one reason or another. Consider writing that data to a file, for example; most of that is going to be blocked on IO, not the interpreter. >My >comment arose in the context of DCL and Arne's suggestion of a new >wrapper language around DCL supplying new features; if any of those new >features tries to put more than 8192 bytes into a DCL symbol, that ain't >gonna work. And the same would be true for a new lexical function in >current DCL. That's fair, and I completely agree with you. I apologize, as I realize I'm just quibbling over what one calls a "scripting language," which entirely irrelevant to the topic at hand. >> There is, evidently, a need (or at least desire) for a really >> good interpreted language to script various system management >> tasks; I gather folks feel that DCL is a bit long in the tooth >> and insufficient for that. As I mentioned before, I feel like >> that is qualitatively different than using DCL as an interactive >> CLI; perhaps the solution here is just to build out a really >> nice set of officially supported modules for, say, Python (or a >> similar suitable language) and call it a day. > >Python, Perl, and Lua all exist. Probably all could use additional work >for VMS-specific administrative tasks. Not sure the state of Ruby, but >there is JRuby. And at least a couple of other JVM-based scripting >options. So it's not like people are struggling between DCL and nothing. > >In a way I agree with you that a good scripting language should not have >to be a good CLI and vice versa. But there is an important category of >script that starts off as one long command, gets split into two or more >commands, wrapped in a loop, parameterized for different inputs, put in >a subroutine, and has features added like e-mailing the output to a >distribution list. Now you've got a program, and there is no obvious >point in that process where it's free or easy to switch languages. This is why I pointed at REXX on z/VM as an interesting example of a system that, I think, does well in this area. The actual "command interpreter" in CMS, as it is, is pretty anemic, but ignoring EXEC2, essentially all scripts are written in REXX, which is a real language. But its "enviornments" concept makes it syntactically very easy to send commands to CMS or XEDIT in that world. Not that I'm suggesting that VSI adopt REXX for VMS, but rather just pointing it out as an interesting example of a system in this space that works remarkably well. On a slightly humorous note, I've heard folks say that once you get the point where your shell script exceeds ~10 lines, or more than a single conditional, or you start to entertain the idea of using a loop at all (other than simply over the arguments to the script), it's time to reach for a Real language. >So while it's certainly not the only paradigm for writing scripts, it's >darn convenient to have a CLI that can also function as a decent >programming language. DCL would have fit the bill 30 years ago but now >not so much. Thus the discussion about enhancing or replacing DCL. Yeah, I hear you on that. I also keep thinking about Tcl, which Ousterhout imaged as both a command language for interactive use and a scripting language. It was really designed for interactive tools with captive user interfaces; imagine the `ftp` or `telnet` clients, for example. In the 1980s when Tcl was being developed, programs like these frequently had a kind of janky ersatz command interpreter built in and some amount of configurability via reading a file (`.telnetrc`, for example), but it was always idiosyncratic and weird. But what if the interface for the tool was constructed from a proper language? It's an interesting idea, but presumes tight coupling with whatever program it is embedded in, thus not really suited for use as a "shell". I don't think it was as well thought-through as REXX in the VM world, critically lacking the "environment" concept, but it's another interesting point in the design space.
Back to comp.os.vms | Previous | Next — Previous in thread | Next in thread | Find similar
DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-05 21:41 -0500
Re: DCL2 Marc Van Dyck <marc.gr.vandyck@invalid.skynet.be> - 2025-12-06 11:42 +0100
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-06 10:33 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-06 10:57 -0500
Re: DCL2 Chris Townley <news@cct-net.co.uk> - 2025-12-06 16:12 +0000
Re: DCL2 kludge@panix.com (Scott Dorsey) - 2025-12-06 14:45 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-06 15:23 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-06 15:47 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-07 12:03 -0500
Re: [Info-vax] DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-07 12:09 -0500
Re: DCL2 Chris Townley <news@cct-net.co.uk> - 2025-12-07 14:18 +0000
Re: DCL2 kludge@panix.com (Scott Dorsey) - 2025-12-07 10:03 -0500
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-08 20:13 +0000
Re: [Info-vax] DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-06 15:41 -0500
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-14 01:45 +0000
Re: DCL2 antispam@fricas.org (Waldek Hebisch) - 2025-12-15 01:51 +0000
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-15 02:56 +0000
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-15 16:37 +0000
Re: DCL2 jgd@cix.co.uk (John Dallman) - 2025-12-15 19:37 +0000
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-15 22:59 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-15 11:58 -0500
Re: DCL2 "Craig A. Berry" <craigberry@nospam.mac.com> - 2025-12-06 15:28 -0600
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-06 18:46 -0500
Re: DCL2 "Craig A. Berry" <craigberry@nospam.mac.com> - 2025-12-07 07:17 -0600
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-07 11:07 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-07 11:13 -0500
Re: DCL2 steve sparrow <sdsparrow@aol.com> - 2025-12-08 11:14 -0600
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-08 19:07 -0500
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-16 14:05 +0000
Re: DCL2 "Craig A. Berry" <craigberry@nospam.mac.com> - 2025-12-16 15:20 -0600
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-16 21:59 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-16 20:17 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-16 20:42 -0500
Re: DCL2 "Craig A. Berry" <craigberry@nospam.mac.com> - 2025-12-17 07:19 -0600
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-18 09:46 -0500
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-18 09:44 -0500
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-17 16:55 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-16 20:26 -0500
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-17 16:57 +0000
SIMH + OpenVMS 5.5-2H4 standalone BACKUP: ISO appears as DJAx not DUAx flexmcmurphy <plica2006@gmail.com> - 2025-12-17 23:00 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-17 20:45 -0500
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-18 15:03 +0000
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-14 01:41 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-15 11:59 -0500
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-15 23:01 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-15 19:28 -0500
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-16 01:24 +0000
Re: DCL2 Sam Thomas <sam@noneya.com> - 2025-12-16 17:38 +0000
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-16 22:07 +0000
Re: DCL2 Sam Thomas <sam@noneya.com> - 2025-12-17 14:52 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-17 20:34 -0500
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-18 02:31 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-17 21:40 -0500
Re: DCL2 Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2025-12-08 14:12 +0000
Re: DCL2 Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2025-12-08 14:23 +0000
Re: DCL2 bill <bill.gunshannon@gmail.com> - 2025-12-08 15:42 -0500
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-10 20:50 +0000
Re: DCL2 Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2025-12-11 13:11 +0000
Re: DCL2 cross@spitfire.i.gajendra.net (Dan Cross) - 2025-12-11 16:22 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-08 19:58 -0500
Re: DCL2 Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2025-12-09 13:31 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-08 20:35 -0500
Re: DCL2 Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2025-12-09 13:55 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-09 20:08 -0500
Re: DCL2 Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2025-12-10 14:14 +0000
Re: DCL2 Mark Berryman <mark@theberrymans.com> - 2025-12-13 11:27 -0700
Re: DCL2 Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-12-14 01:31 +0000
Re: DCL2 Arne Vajhøj <arne@vajhoej.dk> - 2025-12-15 11:48 -0500
csiph-web