Bougl, to random French
@Bougl@mamot.fr avatar

La NASA vient de mettre à jour l'ordinateur de bord de Voyager I
https://www.huffingtonpost.fr/science/video/la-nasa-envoie-a-la-sonde-voyager-1-une-mise-a-jour-46-ans-apres-son-lancement-et-ca-fonctionne_224826.html
J'ai un utilisateur qui veut changer de machine parce qu'une mise à jour ne passe pas, puis-je le satelliser lui et sa misère ?
#voyager1 #fortran

SinclairSpeccy, to tech

67 years ago on October 15, 1956, The programming language FORTRAN, short for "Formula Translation," was introduced to the public.

It was the first general-purpose, compiled imperative programming language, originally developed by IBM in the 1950s for scientific and engineering applications. FORTRAN gained popularity and became a vital tool in scientific and engineering applications

FORTRAN code on a punched card, showing the specialized uses of columns 1–5, 6 and 73–80

YurkshireLad,
@YurkshireLad@mastodon.social avatar

@SinclairSpeccy My first ever job (year out at Uni) was maintaining #Fortran. 👴

JeromeDqn,
victorp, to python

The TIOBE Programming Community index is an indicator of the popularity of programming languages. This ranking is organized according to their popularity as of Sep 2023:
(1) Python
(2) C
(3) C++
(4) Java
(5) C#
(6) JavaScript
(7) Visual Basic
(8) PHP
(9) Assembly Language
(10) SQL
(11) Fortran
(12) Go
(13) MATLAB
(14) Scratch
(15) Delphi/Object Pascal
(16) Swift
(17) Rust
(18) R
(19) Ruby
(20) Kotlin

https://www.tiobe.com/tiobe-index/

#Sep2023 #Sep2022 #Change #ProgrammingLanguage #Ratings #Python #C++ #C# #Java #C #JavaScript #VisualBasic #PHP #AssemblyLanguage #SQL #Fortran #Go #MATLAB #Scratch #Delphi #ObjectPascal #Swift #Rust #R #Ruby #Kotlin

DoctorFortran, to hpc

2023 passed its final ISO ballot, with 16 country votes in favor, no objections. Look for publication in late October or maybe early November.

crankyclown,
@crankyclown@kolektiva.social avatar

@DoctorFortran Excuse me. #Fortran still exists? Why? I first learned coding with #Fortran in 1974. What is the valid reason for its continued existence? Serious question.

vmagnin,
@vmagnin@floss.social avatar

@crankyclown @DoctorFortran
is surviving because it is well adapted to its ecological niche: scientific computing. Fortran is fast (compiled language) and its syntax is relatively simple and close to the mathematical formulas.
For example, many climate models use Fortran, either directly or in libraries used by other languages.
Of course it has evolved dramatically since 1974, with 6 standards: FORTRAN 77, then Fortran 90, 95, 2003, 2008 and 2018. And soon 2023...

walkerb, (edited ) to random

Sometimes I do contrarian things, just for the hell of it. Especially if I'm annoyed. I was recently annoyed that loyalty didn't cut both ways.
So I decided to write a program to generate an AI monthly song challenge. And because I was in a contrarian mood I decide the language of choice was FORTRAN.

I wanted the output to look 'retro' so I wanted it to be a console program, and because it was FORTRAN, I wanted to make sure it was cleanly structured. FORTRAN is know for being susceptible to writing dirty linear code.

FORTRAN can be structured just like other languages. I created a separate module to house the Open AI related functions - getting the API key, getting the completion back from the prompt and then parsing the JSON that was returned.

There are a number of ways to store API keys so that they do not end up committed to a repository along with the code. Here I chose to use an environment variable that I set on my machine. This guarenteed that the API key was not in the code itself.

Making the API call itself to OpenAI from FORTRAN was more interesting. In the end I decide to make it call curl to handle this, which worked just fine. I regard this as analogous to using a library in a more modern language. Another way to do this would have been to write the call in C and then use the linker to link it to the FORTRAN program. This would still have been dependent on libcurl.

The response from the API is provided in JSON, and as it turns out there is a well specified JSON library available for FORTRAN - json_module. The documentation for this and examples are fairly non existent though, so it took me quite a bit of trial and error to find the code on how to descend into objects to retrieve the text of the response.

Finally because I wanted a retro console look, I had it feed this output to the 'remind' command to display the calendar with the chosen theme for each day.

In the end it was a fun rabbit hole to make a language developed in the 1950s do something very 2023.

#fortran #openai

https://github.com/nakedmcse/FortranSong/tree/main

r_ivorra, to programming

Here's a list of 9 languages which are supposedly "heading for extinction". But, are they? It includes #R, , / , , or ...

https://www.makeuseof.com/programming-languages-heading-for-extinction/

vmagnin,
@vmagnin@floss.social avatar

@r_ivorra
feels no hurry: it was in the TIOBE Index Top 20 for 9 months in 2021 (the year it went back), 5 months in 2022, and already 7 months in 2023. A total of 21 months on the last 33 months (starting from January 2021):
https://www.tiobe.com/tiobe-index/

The community is giving a new impulse:
https://fortran-lang.org/

And the Fortran 2023 standard should be published around October/November.

Well, Fortran is playing chess with Death for several decades now.

vmagnin,
@vmagnin@floss.social avatar

@r_ivorra
Yes, stands for "Formula Translator". It is still one of the major language in the scientific field. But has also been adopted a lot for computation (often using Fortran libraries) on the desktop. is also using a lot of Fortran libraries. And there are also #C++ and .
Being a compiled language, Fortran programs can run fast, as C and C++.
For example, many climate models are written in Fortran or use Fortran libraries.

mjgardner, to VisualBasic
@mjgardner@social.sdf.org avatar

@ChristosArgyrop Bad news, according to this “Make Use Of” both and are “heading for extinction” along with (and ), , , , (the language in discontinued ), and : https://apple.news/A9sb4_KhEQoeIdeulO_zfgw

The text hedges the headline’s assertion for every entry above. And of course, it cites .

It’s also syndicated on , which has had, um, quality control problems lately: https://futurism.com/msn-ai-brandon-hunter-useless

vmagnin,
@vmagnin@floss.social avatar

@mjgardner @ChristosArgyrop
#Fortran feels no hurry: it was in the TIOBE Index Top 20 for 9 months in 2021 (the year it went back), 5 months in 2022, and already 7 months in 2023. A total of 21 months on the last 33 months (start from January 2021):
https://www.tiobe.com/tiobe-index/

The #Fortran-lang community is giving a new impulse:
https://fortran-lang.org/

And the Fortran 2023 standard should be published around October/November.

Well, Fortran is playing chess with Death for several decades now.

vmagnin, to random
@vmagnin@floss.social avatar

The last "Code for Thought" podcast (40 minutes) is about #Fortran:
https://codeforthought.buzzsprout.com/1326658/13456135

#CodeForThought

nosherwan, to rust
@nosherwan@fosstodon.org avatar

🔥 😎
Popular Programming Languages:

So according to the latest Tiobe index:

Python is No.1
Rust is now in Top 20
And Julia just entered Top 20

The claims are Julia is faster than Python and targets the same market as Python.

https://www.tiobe.com/tiobe-index

#rust
#julia
#python
#popular
#language
#programming
#development

halfbit_,

@nosherwan Can we get an applause for #fortran? it’s memory safe, it’s the fastest language around, and it has no obnoxious fanboys. Also you can NOT write smart contracts in it.

ciura_victor, to cpp
@ciura_victor@hachyderm.io avatar

Fortran is officially more modern than C++ 😄
A new revision of Fortran (2023), is about to drop and it includes an HTTP client. 🤯
https://fortran-lang.org

MartinWdd, to random German

Ich höre gerade https://open.spotify.com/episode/4AxqQXXkwkQOuPCWLGU0Xl?si=MeAXv9crQV27FnsKZ2Bx5Q&context=spotify%3Acollection%3Apodcasts%3Aepisodes

Leider wusste ich in den 90ern nicht, dass bei DOS dabei war - ich hatte nur die „Shell“-Programmierung mit GOTO und IF ERRORLEVEL gefunden und bin damit schnell an Grenzen gestoßen

remy9999,

@MartinWdd

#spagetticode haben wir es immer genannt in #basic..

#pl1, #pascal , #Cobol, #fortran waren damals richtig gute Sprachen. Zumindest war der Code im Nachhinein noch lesbar und einigermaßen nachvollziehbar.

ChristosArgyrop, to programming
@ChristosArgyrop@mstdn.science avatar

Popularity of languages from August ( is 28 at 0.68%).
Has its limitations, but a couple of points worth noting :

  1. and are holding rather well
  2. languages that are involved in some sort of data analysis and processing (, /c++) are doing very well. Not sure what to make of ; are ppl in seeing through the reality is a scripting over extremely performant c/c++ and that there are other lang that can glue as well?
    & are ⬆️
aka_pugs, to random
@aka_pugs@mastodon.social avatar

OTD 1965: IBM announces the System/360 Model 67, their first system intended for time-sharing, and support virtual memory. Lots of interesting history around this machine. A thread: \
#ComputerHistory

kkarhan,
@kkarhan@mstdn.social avatar

@aka_pugs code written from that era is still up and running on today's mainframes in the banking sector.

#Cobol #Fortran #s390x #zArchitecture

a13cui, to rust

lukewarm take (had this talk in private with @mia but I have to share this):

#Rust is the best thing to happen to #Ada and they should be used a lot more (especially Ada). Moreso, I believe that Rust is essentially FP Ada with C syntax.

Now let me cook (this will be a multi-toot series). Ada, like Rust, is extremely type safe and stringent (they reach memory safety through different paradigms, but they end up having equivalent levels of memory safety).
Ada is more procedural/OO while Rust is more functional, from that POV they fit together perfectly. They're both fast languages with a lot of checks.
Rust can benefit from what we Ada people have with #SPARK and actually be able to prove that your program does what it says without a shadow of a doubt (SPARK is so good that it overshadows #MISRA C which is the gold standard for critical software made in C).
Ada can use Rust's popularity in open source and community (ideally not a toxic one at times), Rust can use Ada's proven track record of handling mission-critical tasks with no compromises whatsoever.
Ada can use Rust's successful marketing (holy shit does #AdaCore need to get involved more), Rust can use the lessons that Ada learned in its 40+ years of existence and improve upon them.
Rust can definitely benefit from having 1. an actual specification and 2. getting rustc certified (which would mean LLVM by extension), but those are behemoths and it's extremely unlikely, impossible even to audit. Lack of advertising leads to misconceptions, and misconceptions lead to not using the language (I use Tcl and Perl, so I definitely know how it feels to use languages that have been osbourned for 2+ decades).

1/2

louis,
@louis@emacs.ch avatar

@a13cui Thank you for these interesting posts! Although there is at least one other dimension I think you missed, and that is language stability. Rust changed A LOT and is still changing a lot and that is a no go for any serious commercial application. Combined with serious issues in the Rust leadership, as a company I would never use this language, not even for free.

The only overlap between these two languages is their focus on memory safety, but that's about it (in my naïve, unfounded opinion).

The only reason why Rust might seem interesting is that companies have access to a bigger Rust developer workforce, which is very small in the Ada world.

I was on a party last week and met two guys. One was 80 years old and still working in a company as a #Fortran developer. The other one was 65 years and still working as a #Pascal (Delphi) developer. Both work on serious industrial applications. It was a real joy to talk with them about how important language stability and longevity is.

mkwadee, (edited ) to python
@mkwadee@mastodon.org.uk avatar

The other day, a non-technical colleague said to me, “You’re a #Python expert, aren’t you?” I felt I had to correct him since I have only dabbled with the #language and I said that I’m more accustomed to scientific programming in #C or #Fortran. He looked a bit bemused and he then said “No, I meant #MontyPython.” Well, modesty aside, I said that I’m probably the most expert person there and so our conversation continued on a more humorous subject.

#CommunicationBreakdown

winfried, to Perl German
@winfried@fosstodon.org avatar

@Perl when I became Linux Server Amin 25 years ago, I learned Perl. Because I was looking for something beyond Bash and AWK.
I love this script language. Meanwhile I have the feeling that Perl is rather retrocomputing, is my feeling wrong?

cazabon,

@Stark9837 @koen @winfried @Perl

Exactly. I asked him when he was going to give up , too 😜

Ruth_Mottram, to random
@Ruth_Mottram@fediscience.org avatar

In searching for something else, I stumble across @reuterbal 's
epic thread on #Loki

  • no not that Loki, but an ingenious sounding source translation package for
    #Fortran to allow the #ECMWF #IFS model to run on GPU's.

What a cool piece of software...

Worth a deep read for #NWP + #ClimateModel nerds...

https://mast.hpc.social/@reuterbal/110476253044838075

gvwilson, to random
@gvwilson@mastodon.social avatar

In conversation with a friend yesterday, they bemoaned the gentrification of Python—the way that the cute little programming language neighborhood of the 90s was now crowded with the condos and up-market chain coffee shops of type hints and async I/O. I'm now stuck thinking about Fortran as a sturdy blue-collar part of town where people are mostly older and repair their own cars but a few younger folk with tattoos who take welding very seriously think they've found heaven.

villares,
@villares@ciberlandia.pt avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines