Click here to Skip to main content
15,920,031 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: When you are dead... Pin
BillWoodruff18-Oct-19 15:08
professionalBillWoodruff18-Oct-19 15:08 
GeneralRe: When you are dead... Pin
dandy7220-Oct-19 4:23
dandy7220-Oct-19 4:23 
GeneralOrder of element processing Pin
kalberts17-Oct-19 6:09
kalberts17-Oct-19 6:09 
GeneralRe: Order of element processing Pin
PIEBALDconsult17-Oct-19 6:30
mvePIEBALDconsult17-Oct-19 6:30 
GeneralRe: Order of element processing Pin
kalberts17-Oct-19 9:50
kalberts17-Oct-19 9:50 
GeneralRe: Order of element processing Pin
ZurdoDev17-Oct-19 11:05
professionalZurdoDev17-Oct-19 11:05 
GeneralRe: Order of element processing Pin
Marc Clifton17-Oct-19 7:53
mvaMarc Clifton17-Oct-19 7:53 
GeneralRe: Order of element processing Pin
kalberts17-Oct-19 10:22
kalberts17-Oct-19 10:22 
Back in an old file achive at my home computer, I found the answer: "The Fortress Language Specification"
2.8 For Loops Are Parallel by Default

Here is an example of a simple for loop in Fortress:
C++
for i ← 1 : 10 
   print(i " ")
end
This for loop iterates over all elements i between 1 and 10 and prints the value of i. Expressions such as 1 : 10 are referred to as range expressions. They can be used in any context where we wish to denote all the integers between a given pair of integers.
A significant difference between Fortress and most other programming languages is that for loops are parallel by
default. Thus, printing in the various iterations of this loop can occur in an arbitrary order, such as:

5 4 6 3 7 2 9 10 1 8
According to Wikipedia: "In July 2012, Steele announced that active development on Fortress would cease after a brief winding-down period".

The Wikipedia articles on Haskell's competitors for DARPA funding, IBM's X10 and Cray's Chapel, are so brief that it takes more searching to learn if they have any similar implicit parallelism of for/foreach and array operations.

The reasons for terminating Haskell development may have been sound. Yet, when flipping through specifications of now-dead languages, I frequently say to myself "Hey, that is a good idea! Why isn't that provided in our modern languages?" I am not sure that parallel for loops falls in that category, but I see e.g.
atomic do
   x += 1
   y += 1
end
- of course we can do similar things in many other languages, but often with a lot more fuzz and syntactic molasses, when all we need is the simplicity of this. Haskell also tried to revive dimension arithmetic, which I haven't seen since Algol68: If you multiply av value of dimension km/h by a value of dimension h, the result is av value of dimension km. Assigning it to a variable of dimension kg would lead to a compile-time error.

Generally speaking: Software guys could learn a whole lot, and broaden their professional scope, from spending some time reading specifications and standards that never made it into the mainstream.
GeneralRe: Order of element processing Pin
Dar Brett17-Oct-19 17:12
Dar Brett17-Oct-19 17:12 
GeneralRe: Order of element processing Pin
kalberts17-Oct-19 19:30
kalberts17-Oct-19 19:30 
GeneralRe: Order of element processing Pin
Stuart Dootson18-Oct-19 0:48
professionalStuart Dootson18-Oct-19 0:48 
GeneralRe: Order of element processing Pin
giulicard17-Oct-19 21:41
giulicard17-Oct-19 21:41 
GeneralRe: Order of element processing Pin
Gerry Schmitz18-Oct-19 3:03
mveGerry Schmitz18-Oct-19 3:03 
QuestionRe: Order of element processing Pin
Mark Smeltzer18-Oct-19 20:38
Mark Smeltzer18-Oct-19 20:38 
GeneralRe: Order of element processing Pin
obermd18-Oct-19 3:15
obermd18-Oct-19 3:15 
GeneralRe: Order of element processing Pin
kalberts18-Oct-19 3:21
kalberts18-Oct-19 3:21 
GeneralThought of the Day Pin
OriginalGriff17-Oct-19 4:51
mveOriginalGriff17-Oct-19 4:51 
GeneralRe: Thought of the Day Pin
W Balboos, GHB17-Oct-19 5:21
W Balboos, GHB17-Oct-19 5:21 
GeneralRe: Thought of the Day Pin
RickZeeland17-Oct-19 6:17
mveRickZeeland17-Oct-19 6:17 
GeneralRe: Thought of the Day Pin
Gary Wheeler17-Oct-19 6:39
Gary Wheeler17-Oct-19 6:39 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer17-Oct-19 9:12
professionalDaniel Pfeffer17-Oct-19 9:12 
GeneralRe: Thought of the Day Pin
Herman<T>.Instance17-Oct-19 9:48
Herman<T>.Instance17-Oct-19 9:48 
GeneralRe: Thought of the Day Pin
kalberts17-Oct-19 12:21
kalberts17-Oct-19 12:21 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer18-Oct-19 0:03
professionalDaniel Pfeffer18-Oct-19 0:03 
GeneralAn arm and a leg might have been a fair price! PinPopular
CodeWraith17-Oct-19 0:24
CodeWraith17-Oct-19 0:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.