Scripting languages...
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
I personally use them for prototyping and testing algorithms, and for calculations that are too tedious to do manually. And of course I use shell scripting to automate tasks. I as for language/platform I generally use Python, it's cross platform and it also has .NET (IronPython) and Java (Jython) implementations so I can use it to script those as well. (But I picked up Python at a job where all of the internal tools were Python, so it can be used for larger scale stuff, it's just not ideal for performance intensive tasks IMO.)
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
Automation, pretty much always. Monitoring, upon rare occasions. backups, setting redundant copies out, etc. on my work machine. In dos. In my last job it was building a directory per day per project and putting a copy of any changed files into the dir. Shutdown routine for my home system; does a defrag, backup, then shutdown. In dos. Halting automatic updates service in windows. (Sometimes I don't want to be reminded every ten minutes that we need to reboot, and if I'm not there to tell it no then it goes ahead with that anyway.) I have a routine at work that dumps a copy of all a database's objects to disk, runs a custom sql parser against it, then it runs an SSIS job to upload the results to another database. That is sql server's job system, some dos and an SSIS job. I had one that would switch around cpu affinity between standard system processes and the games I ran. I've had others that would switch in a specific config file and then fire up the program for different working environments. I often set ping up to ping continuously on an ip when I'm rebooting a server that takes a while. That way I know when it is back. I'm sure a lot of the above can be done in another scripting language. I just haven't bothered to learn one. I'd love to be able to run a process, like a long query, and get an email or something when it finishes so I know it's done.
_____________________________ Give a man a mug, he drinks for a day. Teach a man to mug...
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
JavaScript for dynamically generating web pages. Windows .bat files for utilities.
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
A long time ago I used AREXX on Amiga (it was based on REXX). Shell scripting in tcsh and bash, largely to assist make. I used to do some JScript, largely to assist nmake. I've worked with nant recently as a preprocessor for my code. I will use scripts to handle one-off jobs or jobs that I plan on making many changes and don't want to worry about deploying.
m.bergman
-- For Bruce Schneier, quanta only have one state : afraid.
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
I guess my use is a little unique. I wrote my own language, debugger, and app platform for use in automation systems. I also made a native machine code generator for it so it is very fast. It has some unique features and is very versatile. We can map in nearly any DLL we want to and call functions from it, stdcall or cdecl. The app framework is shared memory based and multi-process oriented. There is a message passing API similar to QNX's built in that is the basis for the application architecture. We have several hundred installed systems that are used to build many of the chips and other things used in many very common devices, some of which start with the letter 'i'. We call it a scripting language because it compiles and loads itself on-the-fly and very quickly. It has many characteristics of a standard compiled language, like machine code generation, but we usually don't use it like one although it can be - binary images can be saved and loaded. We also have a user interface with an interactive editor that is hooked into the script engine because it is embeddable and also re-entrant. We can assign UI actions to call functions in a script that is loaded by the UI. By the way, when I say machine code generation I do not mean assembly. I mean real live binary machine code that is executed by the CPU directly with no interpretation. We probably violate dozens of patents with this but we've been doing this for for a very long time now and the ironic thing is that many of those patent holders are also our customers. ;) Our platforms are XP and W7 currently but we've been at this since NT was in beta and we started with visual studio v1.0. We tried to use Borland's Win32 stuff back then but it was awful. I was really bummed about that because I had been supporter of theirs for a long time.
-
What languages are you thinking about?
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
Good question... I'm pretty steeped in the C/C++/C# style of coding, so I'm looking for something to broaden my horizons a little bit. Maybe something 'functional'. Although I think you can probably program in a functional style with pretty much any language... Probably Python. Cross platform... Can do just about anything... Any suggestions for other languages? Maybe something more purely functional?
-
Good question... I'm pretty steeped in the C/C++/C# style of coding, so I'm looking for something to broaden my horizons a little bit. Maybe something 'functional'. Although I think you can probably program in a functional style with pretty much any language... Probably Python. Cross platform... Can do just about anything... Any suggestions for other languages? Maybe something more purely functional?
Well, I think it comes down to what you are targetting. For example, web 2.0 is heavily driven by Javascript and its integration with HTML 5, you have already mentioned Python[^], but what about Ruby [^]/ Ruby on Rails[^] You could also try digging into F#[^] if you want functional and .Net
Dave Find Me On: Web|Facebook|Twitter|LinkedIn
Folding Stats: Team CodeProject
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
The largest I've ever done is our automated build process. The central piece is a long VBScript. The 'process' includes a native app that's the front-end UI and a number of batch files. The batch files are required so that I can redirect output to logs. The whole mess would probably be better done as a PowerShell script, or even a straight .NET app, but I'm afraid to try and replace the thing. Every time I ask it to open the pod bay doors, it refuses...
Software Zen:
delete this;
-
I'm curious... What kinds of things do you use scripting languages for? Which language and which platform? I think that I am looking for small to medium utility projects, not large full scale apps. It may be that I am just trying to find reasons to pick up a scripting language other than just grins and giggles.
Matthew Page wrote:
What kinds of things do you use scripting languages for?
Basic file-management, like temporary backup-strategies, automating apps, like getting the latest source-code, compiling and testing it, and extending existing applications (Macro's in VS, or even in some of our own apps)
Matthew Page wrote:
Which language and which platform?
Been using .vbs (VBScript files) under Windows, as it is as simple as creating a new textfile and since it offers a bit more than a batch-file. Been moving to PowerShell[^]. The Macro's in Visual Studio are in Basic[^], and my favourite embeddable scripting-engine would be the old MS ScriptControl[^].
Bastard Programmer from Hell :suss:
-
I guess my use is a little unique. I wrote my own language, debugger, and app platform for use in automation systems. I also made a native machine code generator for it so it is very fast. It has some unique features and is very versatile. We can map in nearly any DLL we want to and call functions from it, stdcall or cdecl. The app framework is shared memory based and multi-process oriented. There is a message passing API similar to QNX's built in that is the basis for the application architecture. We have several hundred installed systems that are used to build many of the chips and other things used in many very common devices, some of which start with the letter 'i'. We call it a scripting language because it compiles and loads itself on-the-fly and very quickly. It has many characteristics of a standard compiled language, like machine code generation, but we usually don't use it like one although it can be - binary images can be saved and loaded. We also have a user interface with an interactive editor that is hooked into the script engine because it is embeddable and also re-entrant. We can assign UI actions to call functions in a script that is loaded by the UI. By the way, when I say machine code generation I do not mean assembly. I mean real live binary machine code that is executed by the CPU directly with no interpretation. We probably violate dozens of patents with this but we've been doing this for for a very long time now and the ironic thing is that many of those patent holders are also our customers. ;) Our platforms are XP and W7 currently but we've been at this since NT was in beta and we started with visual studio v1.0. We tried to use Borland's Win32 stuff back then but it was awful. I was really bummed about that because I had been supporter of theirs for a long time.
Rick York wrote:
I wrote my own language, debugger, and app platform for use in automation systems. I also made a native machine code generator for it so it is very fast.
Now I'm sorry I didn't get back to this thread sooner. Is this language cool? It sounds cool. Do you have this language up on the net somewhere? Or is it too proprietary?
_____________________________ Give a man a mug, he drinks for a day. Teach a man to mug...