Deutsch English Français Italiano |
<dtcthjta199gkv0rvff4tbaip2qgaj0k2q@4ax.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 27 Oct 2024 21:52:47 +0000 From: Joe Gwinn <joegwinn@comcast.net> Newsgroups: sci.electronics.design Subject: Re: OT: Linix goes politics Date: Sun, 27 Oct 2024 17:52:46 -0400 Message-ID: <dtcthjta199gkv0rvff4tbaip2qgaj0k2q@4ax.com> References: <vff5rp$1c1v6$1@solani.org> <d3gnhj1v9pt3aea029c1q1lotbm7pemrv2@4ax.com> <vfi09d$23gs$1@solani.org> <04jqhjdoje7mjhueqi3iusubfg3vs7plql@4ax.com> <i9mqhjdqclnurb4r2t7u0pin28hlt372i4@4ax.com> <vfjnte$3sq4f$1@dont-email.me> User-Agent: ForteAgent/8.00.32.1272 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 65 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-vshW7wpi/6gfI5PlHxdK7ASQW5WwjIgZm0GXcQPlx6J4DFjO/K2RT01+oEh/XtgXtbtSxL6+/ZFd0Dr!Fe+XggHfJefq9RMuZUDJ51DvP3G4TzXCBV4lUR5JoZJLj4/oGHKcqX1LPcKMJeEUxnYw8WU= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 3737 On Sat, 26 Oct 2024 14:45:07 -0700, Don Y <blockedofcourse@foo.invalid> wrote: >On 10/26/2024 2:19 PM, Joe Gwinn wrote: >> It's 9000 languages. This was discussed on SED in February 2023. My >> posting on the subject is "Re: dead programming languages" posted on >> 23 February 2023. This is the posting that went into ecosystems and >> other practicalities. > >Most languages just change the syntax of operations. > >OTOH, many introduce (or, promote to first-class notions) >techniques and mechanisms that are tedious to implement >in other languages. In evolution, all's fair, even if it isn't squishy critters that are evolving. >E.g., support for concurrency has to be added to most >languages; there are no notions of having other processes >running alongside "yours"; thus, no mechanisms for exchanging >information with them, no mechanisms to ensure competing >accesses to data are atomic, etc. Concurrency is far older than any computer language save assembly. Hardware did concurrency before that. In the old days, we did multiprocessing, with multiple processors sharing a backplane with multiple processors. In advanced cases, there would also be a memory board on one of the backplane slots, where data used by all could be retained - the blackboard model was common. Later, threads were invented, this being concurrent threads of control within the same process and thus address space. Etc. And realtime operating systems were basically clouds of independent but interacting finite state machines. As was the hardware being controlled. The mapping between hardware and software FSMs needed to be clean, or things got pretty awkward. In none of these cases were the computer languages expected to have any critical role in handling and implementing concurrency. Which is good because they were not very good at concurrency. To summarize, the software folk had no idea how hardware actually worked, and the hardware folk didn't speak software. >Imagine using C (or any other programming language) to >*interact* with a relational database... how many errors >would a user likely make by failing to address the issues >that SQL hides? Databases are a swamp of their own, and are far too slow and unreliable for embedded realtime. It's very common to use N-dimensional hash tables for storage and access of random data. Hash table lookup is a O[1] (constant-time ) operation that does not degrade as data accumulates. Joe Gwinn