From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5627bbd30d10b1bc,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.84.97 with SMTP id x1mr1053095pay.7.1359125187811; Fri, 25 Jan 2013 06:46:27 -0800 (PST) X-Received: by 10.50.150.142 with SMTP id ui14mr1790231igb.9.1359125187747; Fri, 25 Jan 2013 06:46:27 -0800 (PST) Path: s9ni17053pbb.0!nntp.google.com!ld4no2068823pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 25 Jan 2013 06:46:27 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.53.16.242; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO NNTP-Posting-Host: 70.53.16.242 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8752bd49-0ab9-48dd-b257-ee32f0180a18@googlegroups.com> Subject: Parallel for in instant, Useful strategy ? From: Patrick Injection-Date: Fri, 25 Jan 2013 14:46:27 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-01-25T06:46:27-08:00 List-Id: I don't have any code written concerning this or even planned but I was just curious about something... Sqlite is actually based on disk writes and not on sockets or some other IPC. It has a reputation for speed when utilized by a single user. Despite the usually frowned upon system calls, it is a well received library. Assuming the user has a multicore computer, I am curious what would be the factor that slows the program, the overhead of creating multiple threads or the execution of a given single threaded program over the course of a few milliseconds. I am not really suggesting a rewrite of sqlite but I am wondering, with the rise of multicores computers, whether commands might be better written as parallel programs. Ada can interface with other languages but if Ada programs could be called as freestanding commands in tandem with other languages it might lower the barrier to entry for new users. Sqlite could be a template to work from.