photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

247
active users

#functional

0 posts0 participants0 posts today
Continued thread

#Space 🌌 is a far more logical, sensible place to do #fusion, because that’s where it wants to happen anyway. In 📆 2027, we’re going to send a small part of #Sunbird in #orbit. The first #functional Sunbird will be ready four to five years later. Sunbird could deliver #cargo to #Mars 🔴 in under six months edition.cnn.com/science/nuclea

CNN · Nuclear-powered rocket concept could cut journey time to Mars in halfBy Jacopo Prisco

I'm looking for interesting new ways to bend (or break) my brain. Is there a #functional (first) #programming language that compiles down to single binaries?
I have some experience with F#, but it's been ages since I used it and I don't really like whatever "self-contained" .Net binaries are. 😬
Haven't tried Elm or Haskell yet.
Any recommendations?

It is traditional for #functional #programming languages (especially those used in academic research) to target 𝜆-calculus, then have a graph reduction VM (G-machine, eg), to interpret that generated "functional assembly".

It would be interesting to switch things up a bit: instead of interpreting the generated 𝜆-calculus, translate that intermediate code into #Forth and have the Forth compiler generate byte code for a stack VM (Smalltalk VM, JVM, WASM, etc.), which can JIT compiles the byte code, if necessary.

In many ways, 𝜆-calculus and Forth are like dizygotic twins separated at birth:

• Both languages are as low-level as languages can get without devolving into machine instructions
• Both languages are unashamedly raw and untyped
• Both derive their considerable computational powers from their simplicity
• 𝜆-calculus prefix and Forth postfix have the same operational semantics
• 𝜆-calculus is declarative, but Forth is imperative
• 𝜆-calculus models a reduction machine, but Forth models a stack machine

With the resurgence of the stack architecture in the form of powerful, modern VMs, it would seem reasonable to reunite these long-lost twins.

This past long weekend, I reread an old favourite of mine: "The Implementation of #Functional #Programming Languages", Jones (1987). I haven't touched this book in years; it jogged many a fond memory.

The subject matter of this book is implementing non-strict (lazy) FP languages on a graph reduction VM called the G-machine. Jones's customary no-nonsense presentation style cuts cleanly through the dense thicket of compiler theory. It is a great classic text for all #ComputerScience students studying compilers.

An advantage this book offers, especially to the undergraduate students, is its practice-oriented description of 𝜆-calculus, which is in stark contrast to most other textbooks on this theory. Since Jones's compilers target 𝜆-calculus as the intermediate language, his presentation is necessarily pragmatic. This enables the students to grasp not only the denotational semantics, but also the operational semantics, of executable 𝜆-calculus—a rare gem amongst the countless texts on this theoretical subject.

The best bit is that Jones made his book public domain on Microsoft Research site.

microsoft.com/en-us/research/w

Similarly accessible—but less practice-focused—introductions to 𝜆-calculus can be found in these textbooks:

• "An Introduction to Functional Programming through 𝜆-Calculus", Michaelson (1989)
• "Functional Programming: Practice and Theory", MacLennan (1990)

The students should read at least one (preferably all) of these introductory texts, before reaching for "The 𝜆-Calculus, its Syntax, and Semantics", Barendregt (1981) or "Computational 𝜆-Calculus and Monads", Moggi (1989).

#NatureServe, which curates #biodiversity data from across #Canada 🇨🇦 and the #United #States 🇺🇸 estimates that “40% of #animals and 34% of #plants in the #USA are at risk of #extinction, while 41% of #ecosystems are facing #collapse.”

Each extinction is forever, and can create an unfillable #functional gap in an ecosystem.

Collapse begets collapse - of ecosystems, #ecosystem #services, and #societies. We are collectively on a #dangerous track.

🔗 reuters.com/business/environme

Good morning :fediverse: In this morning's #Introduction #ConnectionList #FollowFriday #TwitterMigration post, I'm bringing you another list of folx you should consider following - so we more richly and deeply connect the #Fediverse.

@jess is a Staff #SoftwareEngineer in #OpenSource with interests in #web and #testing 👋

@shirley works in #dataviz and combines #code and #art to make wonder and hope 👋

@alisonmarigold is a #mycologist #scientist 👋

@hackuador does #software, specifically the #functional #fp type 👋

@steveblackburn is a #ComputerScience #professor #academic #researcher who specialises in #GarbageCollection 👋

@afsanehrazi is an Assistant #Professor #researcher #academic at #Drexel and she research #HCI, #privacy and #safety 👋

@jujuliagrace is a #doctor and #activist who is opposing privitisation of the #NHS 👋

Professor @Prof_Klinger is a #geographer and #SupplyChain #researcher 👋

@georgelakoff is #Professor Emeritus at UC #Berkeley in cognitive #linguistics and #philosophy - his Metaphors we Live By is a favourite 👋

That's all for this morning, don't forget to build your own #ConnectionList so we can more closely connect the #Fediverse ❤️

#introduction #introductions

Hey folks, I hope #corporate accounts are welcome here.

Dark is a #ProgrammingLanguage, editor, and #PaaS, developed in public on #GitHub.

It started in 2017 and has had a tumultuous time, but is still being actively worked on by a small team led by @paulbiggar.

Dark's goal is to make it 100x easier to build #backend #services. It's a #functional programming language, with some novel ideas, such as #TraceDrivenDevelopment and #deployless.

#introductions Hey there! I’m Andrew, and this is my single user instance.

I’m primarily a #frontend developer for 💰, but love #NixOS, #elixir, and #functional programming

I like playing video games, especially ARPGS (especially especially Path of Exile and Last Epoch). I like FFXIV, but haven’t had a chance to play EndWalker yet.

I have a blog that I don’t write to often at https://afontaine.dev, and on matrix I am @andrew:chat.afontaine.dev, but I don’t pay attention to it too much.

I’m an infrequent tooter, but I do occasionally get into a tooting zone
afontaine.devAndrew Fontaine · Mostly Code
"Why Functional Programming Matters" a Chalmers Uni nroff memo from 1984:

www.cse.chalmers.se/~rjmh/Pape…

> Slightly revised versions appeared in 1989 and 1990 in the Computer Journal and the Year of Programming.

Eric Normand is in his usual style reading and heavily annotating the 1990 version in the latest LispCast:

lispcast.com/why-functional-pr…

The paper is talking about pure functional programming, with fully referentially transparent functions enabling laziness, like Haskell or, in their case, its spiritual predecessor Miranda.

#functional #SwedishProgramming
www.cse.chalmers.seWhy Functional Programming Matters