Bosque

The war between wetware and hardware.
User avatar
Pyrrho
Posts: 28192
Joined: Sat Jun 05, 2004 2:17 am
Title: Man in Black
Location: Division 6

Bosque

Post by Pyrrho » Sun Apr 21, 2019 10:51 pm

New programming language from Microsoft! :hyper:

https://dev.to/0xrumple/all-what-you-ne ... osque-38c0
The author of Bosque, Mark Marron, introduces a new programming model called Regularized Programming.

In his research paper, he mentions how structured programming (that we knew since 1970) might cause "accidental complexity"!

We believe that, just as structured programming did years ago, this regularized programming model will lead to massively improved developer productivity, increased software quality, and enable a second golden age of developments in compilers and developer tooling.
Okay sure.
The flash of light you saw in the sky was not a UFO. Swamp gas from a weather balloon was trapped in a thermal pocket and reflected the light from Venus.

User avatar
Witness
Posts: 23582
Joined: Thu Sep 19, 2013 5:50 pm

Re: Bosque

Post by Witness » Sun Apr 21, 2019 11:12 pm

Pyrrho wrote:
Sun Apr 21, 2019 10:51 pm
Okay sure.
Reminds me of Prolog, the "5th generation language" which completely revolutionized programming in the… what… eighties? :mrgreen:


Judging from the (admittedly puny) example provided:

Image

you can write the same thing more lazily in Lisp:

Code: Select all

> (setq a (list 1 2 3 4 5))
(1 2 3 4 5)

> (map (fn (x) (* 2 x)) a)
(2 4 6 8 10)
or even more tersely in Mathematica. :|

Code: Select all

a = {1, 2, 3, 4, 5}
b = (2 #)& /@ a
(2 #)& is an anonymous function multiplying by 2, and /@ is the map operator. :coolspecs:
Last edited by Witness on Tue Apr 23, 2019 3:22 am, edited 1 time in total.

User avatar
Abdul Alhazred
Posts: 78449
Joined: Mon Jun 07, 2004 1:33 pm
Title: Yes, that one.
Location: Chicago

Re: Bosque

Post by Abdul Alhazred » Sun Apr 21, 2019 11:26 pm

Whatever happened to good old APL? :)
Image "If I turn in a sicko, will I get a reward?"

"Yes! A BIG REWARD!" ====> Click here to turn in a sicko
The arc of the moral universe bends towards chaos.
People who believe God or History are on their side provide the chaos.

User avatar
Witness
Posts: 23582
Joined: Thu Sep 19, 2013 5:50 pm

Re: Bosque

Post by Witness » Sun Apr 21, 2019 11:28 pm

Abdul Alhazred wrote:
Sun Apr 21, 2019 11:26 pm
Whatever happened to good old APL? :)
It eloped with Brainfuck. :x

User avatar
Witness
Posts: 23582
Joined: Thu Sep 19, 2013 5:50 pm

Re: Bosque

Post by Witness » Tue Apr 23, 2019 3:27 am

Abdul Alhazred wrote:
Sun Apr 21, 2019 11:26 pm
Whatever happened to good old APL? :)
Which reminds me that the OuLiPo (Ouvroir de Littérature Potentielle) was fond of APL for their literary computer explorations: http://markwolff.name/wp/digital-humani ... pian-code/. :mrgreen: