· @vmagnin
68 followers · 144 posts · Server floss.social

@mucephie
I have just created a repository with experimental interfaces for and :
github.com/vmagnin/experimenta

More explanations are in the README.md file.

#FORTRAN #libadwaita #libsoup

Last updated 1 year ago

· @vmagnin
68 followers · 144 posts · Server floss.social

@mucephie
You may be interested by joining the Fortran-lang community:
fortran-lang.org/community/
You will find there both big and small projects in modern .
fortran-lang.discourse.group/

#FORTRAN

Last updated 1 year ago

· @vmagnin
68 followers · 144 posts · Server floss.social

@alexanderm @QuControlBerlin
Welcome Alexander!

Concerning , you could be interested by the work of the Fortran-lang community:
fortran-lang.org/

and join its Discourse:
fortran-lang.discourse.group/
(1138 registered users today)

#FORTRAN

Last updated 1 year ago

· @vmagnin
68 followers · 144 posts · Server floss.social

@Calixthe@bostonsocial.online @cody

You might be interested by the Rosetta Stone tutorial:
fortran-lang.org/learn/rosetta

#Python #FORTRAN

Last updated 1 year ago

· @vmagnin
62 followers · 125 posts · Server floss.social

The Package Manager 0.9.0 was released a few days ago:
fpm.fortran-lang.org/en/news/2

#FORTRAN #fpm

Last updated 1 year ago

· @vmagnin
62 followers · 124 posts · Server floss.social

Two small projects using bindings to explore two algorithms and see what vector drawing can bring:

- The first one draws a von , using the classical recursive algorithm: github.com/vmagnin/von_koch_sn

- The second one draws a tiling (aperiodic tiling of the plane with two tiles): github.com/vmagnin/penrose_til
The algorithm is interesting as it uses two interlaced recursive procedures: A calls A & A & B, and B calls A & B.

#fpm #cairo #FORTRAN #recursive #svg #koch #snowflake #penrose

Last updated 1 year ago

· @vmagnin
62 followers · 123 posts · Server floss.social

This repository contains bindings for the vector graphics library:
github.com/vmagnin/cairo-fortr

It is used by:
github.com/vmagnin/hat_polykit
which generates a SVG file including a batch of hat polykites. On March 20, 2023, David Smith and mathematicians Joseph Samuel Myers, Craig S. Kaplan and Chaim Goodman-Strauss posted a preprint on ArXiv describing that monotile with 13 sides that, used with its reflected version, admits tilings of the plane:
arxiv.org/abs/2303.10798

#FORTRAN #cairo #aperiodic

Last updated 1 year ago

· @vmagnin
62 followers · 123 posts · Server floss.social

@neilernst
There is of course a lot of debate in the community to get rid of that. No one would of course use implicit typing in modern code, but legacy codes are still running in many libraries...
But implicit typing is still officially the default, and IMPLICIT NONE must be used in every code.

Compilers are also of course offering options like -fimplicit-none in . But putting explicitly IMPLICIT NONE in code is a better practice! :-)

#FORTRAN #gfortran

Last updated 1 year ago

· @vmagnin
62 followers · 123 posts · Server floss.social

@neilernst
In , variables beginning by I, J, K, L, M, N were integers, others were real.
The IMPLICIT NONE statement was introduced in 1978 in the MIL-STD-1753 extension of the DOD, then integrated in the Fortran 90 standard.
So Fortran programmers must now always begin their programs and modules with IMPLICIT NONE to neutralize the ancient behavior.

And that's of course why most programmers still use the letters i, j, k as common loop counters.

#FORTRAN

Last updated 1 year ago

· @vmagnin
62 followers · 118 posts · Server floss.social

gtk-fortran 4.4 released: it provides Fortran interfaces to GTK 4.10 and GLib 2.76. It has been tested on Linux Ubuntu (with GFortran and Intel ifx compilers) and Fedora, MSYS2/Windows 10, macOS and FreeBSD.

github.com/vmagnin/gtk-fortran

Remark: options have been added to facilitate the use of the cfwrapper Python script with other C libraries (see github.com/vmagnin/gtk-fortran).

#GTK #FORTRAN #gtkfortran #binding

Last updated 1 year ago

· @vmagnin
61 followers · 115 posts · Server floss.social

A new example has been added in the gtk-fortran-extra repository (MIT license) : Peter Saville’s color code

github.com/vmagnin/gtk-fortran

Manchester graphic designer Peter Saville used this code on four record sleeves, the first being the 12" Blue Monday in March 1983:

youtu.be/c1GxjzHm5us

#GTK #FORTRAN #petersaville #bluemonday #neworder

Last updated 2 years ago

· @vmagnin
61 followers · 111 posts · Server floss.social
· @vmagnin
61 followers · 111 posts · Server floss.social

@necrosis @MartinWdd
You could also try to modernize it in modern Fortran (the latest standard is 2018).

See:
fortran-lang.org/de/index
and
fortran-lang.discourse.group/

#FORTRAN

Last updated 2 years ago

· @vmagnin
61 followers · 111 posts · Server floss.social

@jj1bdx
Yes, the 90 standard says:
"Note that the name of this language, Fortran, differs from that in FORTRAN 77 in that only the first letter is capitalized. Both FORTRAN 77 and FORTRAN 66 used only capital letters in the official name of the language, but Fortran 90 does not continue this tradition."

#FORTRAN

Last updated 2 years ago

Kenji Rikitake · @jj1bdx
142 followers · 326 posts · Server floss.social

In the 1950s people called FORTRAN in all caps. I guess the name was changed to in the 1990s.

#FORTRAN

Last updated 2 years ago

· @vmagnin
61 followers · 111 posts · Server floss.social

@scruss
Yes, Backus' team was aware that a good project needs a good documentation and tutorials to be adopted!

#FORTRAN #documentation #backus

Last updated 2 years ago

· @vmagnin
61 followers · 111 posts · Server floss.social

@scruss

Look also at the "Programmer's Primer for FORTRAN", by Grace E. Mitchell (1957, 64 pages):
softwarepreservation.org/proje

#FORTRAN #documentation

Last updated 2 years ago

· @vmagnin
60 followers · 95 posts · Server floss.social
· @vmagnin
60 followers · 94 posts · Server floss.social

@Infrapink @futurebird
In the original compiler (1957), there were no function and no subroutine. They were introduced in FORTRAN II (1958), a huge progress!

In , there are only functions, but they can return void and be used like subroutines.

In , subroutines are called procedures.

All that is just vocabulary with some subtleties...

#FORTRAN #C #pascal

Last updated 2 years ago

· @vmagnin
56 followers · 80 posts · Server floss.social

@hpcprogrammer @jbzfn
How long? It may take a long time...

There are more than 12 compilers maintained:
fortran-lang.org/en/compilers/

Sometimes a compiler is stopped, like Lahey Fortran recently.

Sometimes, new compilers are born:
Intel has developed a new LLVM ifx compiler to replace its classical ifort (ifx is now fully Fortran 2018 compliant, and is preparing for Fortran 2023). And two new other are in development: LFortran (an interactive compiler), and NVidia Flang (LLVM based).

#FORTRAN

Last updated 2 years ago