Deutsch English Français Italiano |
<types-20240401151149@ram.dialup.fu-berlin.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Command Languages Versus Programming Languages Date: 1 Apr 2024 14:16:33 GMT Organization: Stefan Ram Lines: 24 Expires: 1 Feb 2025 11:59:58 GMT Message-ID: <types-20240401151149@ram.dialup.fu-berlin.de> References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de su0jAnwaLN7kVdzXVisnPAImmVD4YYO1waZebPAFWTIrwD Cancel-Lock: sha1:wWZlvRimNPR7Ve6dl09rkIYDoDc= sha256:3cNDpmkC3ABdjAV4E85RKTv4d2DY5JJou5yWOu7hFeo= X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: en-US Bytes: 2577 Johanne Fairchild <jfairchild@tudado.org> wrote or quoted: >A scripting language is a programming language made for a hypothetical >machine, not too different from a programming language made for a real >machine, one made of hardware. I think of the type system: In a non-scripting programming language, the types often are based on hardware, like "16 bit integer", and typing is often handled in a static and rather strict way. Higher types, like strings whose size can change at run time, are often missing. Scripting languages are often less strictly typed, some rely entirely on strings which are interpreted as integers if necessary. Often one has no control over the internal represention of data, so one cannot access a library using the ABI or write a device driver in a scripting language. Explicit type conversions are rarely required. Also, resource handling: Scripting languages handle the memory for you. In a scripting language, you cannot call "malloc" to obtain the obligation to free this piece of memory exactly once in the future. They are garbage collected.