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:

242
active users

#fortran

1 post1 participant0 posts today
Tom Hayward<p>Attention Fortran lawyers!</p><p>A colleague posed an interesting one to me (assuming b is a 2D real array containing values):<br>OK:<br>real, dimension(:), allocatable :: a<br>a = b(1, :)</p><p>Error:<br>real, dimension(:), allocatable :: a<br>a = sum(b(2:,:), dim=1)<br>! (can fixed by allocating a)</p><p>Is there a rule about automatic allocation requiring no temporaries? Or compiler bug (in either case?)</p><p><a href="https://mastodon.social/tags/f90" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>f90</span></a> <a href="https://mastodon.social/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a> <a href="https://mastodon.social/tags/HPC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HPC</span></a></p>
The FreeDOS Project<p>Inspired by some folks who have been exploring <a href="https://fosstodon.org/tags/FORTRAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FORTRAN</span></a> 77 programming on FreeDOS, I wanted to share these programming gems: </p><p>Arithmetic If<br>Computed Goto<br>Assigned Goto </p><p><a href="https://www.both.org/?p=11217" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">both.org/?p=11217</span><span class="invisible"></span></a></p><p>They are excellent ways to add subtle bugs to your programs. 🤓😂🪳</p><p>Try them out using Open Watcom FORTRAN on FreeDOS.</p>
Jonathan Carroll<p>New post: <a href="https://jcarroll.com.au/2025/06/29/counting-digits-quickly/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jcarroll.com.au/2025/06/29/cou</span><span class="invisible">nting-digits-quickly/</span></a></p><p>What if you could just wave a magic wand over your R <a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> :rstats: code and have it transform into something that ran as fast as or faster than C? <span class="h-card" translate="no"><a href="https://fosstodon.org/@t_kalinowski" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>t_kalinowski</span></a></span>'s {quickr} 'R to Fortran Transpiler' does that for you! <a href="https://fosstodon.org/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a> </p><p>With bonus comparisons to <a href="https://fosstodon.org/tags/Rcpp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rcpp</span></a> <a href="https://fosstodon.org/tags/julialang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>julialang</span></a> :julia: and <a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> :rust:</p><p>Updated to restrict to integers thanks to <span class="h-card" translate="no"><a href="https://mastodon.social/@toddixd" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>toddixd</span></a></span></p>
Ricardus<p>I'm going to learn FORTRAN for the anachronism vibe.</p><p><a href="https://mastodon.sdf.org/tags/FORTRAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FORTRAN</span></a> <a href="https://mastodon.sdf.org/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a></p>
Society of RSE<p>📣 Back to the Fortran Future 2 📣 </p><p>This satellite event takes place 8th September 2025 adjacent to RSECon25 (9-11th September 2025) at the University of Warwick.</p><p>Its free to attend, so if you have an interest in Scientific Fortran please consider joining us.</p><p><a href="https://rsecon25.society-rse.org/back-to-fortran-future-2/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">rsecon25.society-rse.org/back-</span><span class="invisible">to-fortran-future-2/</span></a> </p><p><a href="https://mastodon.social/tags/rsecon25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rsecon25</span></a> <a href="https://mastodon.social/tags/rse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rse</span></a> <a href="https://mastodon.social/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a></p>
Infrapink (he/his/him)<p>Hold on, f2py CAN make Fortran functions comprehensible to Python‽ I DON'T have to use subroutines‽ Fortran syntax is just incredibly FUSSY‽</p><p><a href="https://mastodon.ie/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.ie/tags/Fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fortran</span></a> <a href="https://mastodon.ie/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.ie/tags/f2py" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>f2py</span></a></p>
Le Bottin des Jeux Linux<p>🛠️ Title: Code::Blocks<br>🦊️ What's: A libre, multiplatform IDE for C, C++ &amp; Fortran<br>🏡️ <a href="https://www.codeblocks.org/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">codeblocks.org/</span><span class="invisible"></span></a><br>🐣️ <a href="https://sourceforge.net/projects/codeblocks/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sourceforge.net/projects/codeb</span><span class="invisible">locks/</span></a><br>🔖 <a href="https://floss.social/tags/LinuxGameDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LinuxGameDev</span></a> <a href="https://floss.social/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://floss.social/tags/IDE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IDE</span></a> <a href="https://floss.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a> <a href="https://floss.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>++ <a href="https://floss.social/tags/Fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fortran</span></a><br>📦️ <a href="https://floss.social/tags/Libre" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Libre</span></a> <a href="https://floss.social/tags/Arch" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arch</span></a> <a href="https://floss.social/tags/RPM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RPM</span></a> <a href="https://floss.social/tags/Deb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Deb</span></a> <a href="https://floss.social/tags/Flatpak" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flatpak</span></a><br>📖 Our entry: <a href="https://lebottinlinux.vps.a-lec.org/LO.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lebottinlinux.vps.a-lec.org/LO</span><span class="invisible">.html</span></a></p><p>🥁️ Update: 13.12➜25.03<br>⚗️ Major release (Stable) 🍎️<br>📌️ Changes: <a href="https://www.codeblocks.org/changelogs/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">codeblocks.org/changelogs/</span><span class="invisible"></span></a><br>🦣️ From: <a href="https://mastodon.gamedev.place/@GameFromScratch/114500915816866607" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.gamedev.place/@GameFr</span><span class="invisible">omScratch/114500915816866607</span></a></p><p>🦝️ <a href="https://www.youtube.com/embed/5MmioQJ5kaE" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/embed/5MmioQJ5kaE</span><span class="invisible"></span></a><br>🎲️ <a href="https://www.youtube.com/embed/_NethtgMc64" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/embed/_NethtgMc64</span><span class="invisible"></span></a><br>🎲️ <a href="https://www.youtube.com/embed/zmT79Ljo0lI" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/embed/zmT79Ljo0lI</span><span class="invisible"></span></a><br>🎲️[fr] <a href="https://www.youtube.com/embed/n4TRIrFg7mk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/embed/n4TRIrFg7mk</span><span class="invisible"></span></a></p>
Christos Argyropoulos MD PhD<p>I love this piece about <a href="https://mastodon.social/tags/lowlevel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lowlevel</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> (which includes a shameless plug for <a href="https://mastodon.social/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a>, something i had not realized before)</p><p><a href="https://queue.acm.org/detail.cfm?id=3212479" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">queue.acm.org/detail.cfm?id=32</span><span class="invisible">12479</span></a></p>
Jörg Knappen<p><span class="h-card"><a href="https://functional.cafe/@loke" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>loke</span></a></span> <span class="h-card"><a href="https://symas.social/@cobolworx" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cobolworx</span></a></span> </p><p>So now one of the reasons for GNU <a href="https://nfdi.social/tags/FORTRAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FORTRAN</span></a> is gone:</p><p>Keep hearing whispering voices "GNU COBOL, GNU COBOL"</p>
Tor Lillqvist<p><span class="h-card" translate="no"><a href="https://mastodon.scot/@mattgemmell" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mattgemmell</span></a></span> Surely you mean 64x16. </p><p>Yes, that is Fortran. On the Radio Shack TRS-80. My first programming job.</p><p><a href="https://urbanists.social/tags/trs80" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trs80</span></a> <a href="https://urbanists.social/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a></p>
Robyn<p>Was für eine Freude. Mal wieder alten <a href="https://chaos.social/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a> Code debuggen. 🥲</p>
Nate Allen<p>I would be a greybeard <a href="https://pdx.social/tags/UNIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UNIX</span></a> guy if I could grow a non-scraggley beard, and it's unfair to the <a href="https://pdx.social/tags/DOGE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DOGE</span></a> teens to claim that the IRS and Social Security rely on ancient <a href="https://pdx.social/tags/COBOL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COBOL</span></a> code that only a few people alive actually understand. They also rely on ancient <a href="https://pdx.social/tags/FORTRAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FORTRAN</span></a> code and even I never studied that at Computer Camp.</p>
amen zwa, esq.<p>The original <a href="https://mathstodon.xyz/tags/LISP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LISP</span></a> had 7 primitives: \(\texttt{cons}\), \(\texttt{car,}\) \(\texttt{cdr}\), \(\texttt{atom}\), \(\texttt{quote}\), \(\texttt{eq}\), and \(\texttt{cond}\). And the original <a href="https://mathstodon.xyz/tags/Smalltalk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Smalltalk</span></a> syntax could fit on a 5×7 card. That meant a novice could learn the syntax in a matter of minutes, and direct all his efforts to learning how properly to wield the power of that Turing-complete language. This was why, in the 1970s and the 1980s, many college freshmen were taught FP in Scheme (a more modern LISP) and many middle school children were taught OO in Smalltalk. These were surely the best "first" <a href="https://mathstodon.xyz/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> languages.</p><p><a href="https://mathstodon.xyz/tags/FORTRAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FORTRAN</span></a> and <a href="https://mathstodon.xyz/tags/BASIC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BASIC</span></a> were simple, too. FORTRAN, the first high-level language, has been in continuous use since the late 1950s by engineers, who are not keyboard warriors. BASIC was invented in the early 1960s for teaching programming to non-STEM students at Dartmouth. It sired a whole generation of self-taught children in the 1980s.</p><p>Compare those to C++, Erlang, Python, Haskell, Java, JavaScript, Scala, Rust, Kotlin, and pretty much every language in popular use today. Most consider Python and JavaScript to be the simplest of modern languages. Yet, they are massive, complex languages. No 10-year-old could teach himself those, nor should he.</p><p>The original versions of those classic languages cannot be used to solve modern problems. But they should still be taught to youngsters as their first language. Throwing in the kids' faces a modern enterprise language confuses them and discourages them. Consequently, many novices never attain that state of flow, when the joy of programming gushes forth.</p><p><a href="https://mathstodon.xyz/tags/Simplicity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Simplicity</span></a> is a virtue. Self-motivated learning is virtuous.</p>
Lee Phillips<p>I predicted¹ in 2014 that <a href="https://mastodon.social/tags/julialang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>julialang</span></a> might replace <a href="https://mastodon.social/tags/Fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fortran</span></a> for <a href="https://mastodon.social/tags/science" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>science</span></a> and <a href="https://mastodon.social/tags/engineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>engineering</span></a> calculations. I think this process has begun and will continue.</p><p>Get a solid foundation in Julia (or any) language by starting with a good book:</p><p><a href="https://lee-phillips.org/amazonJuliaBookRanks/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">lee-phillips.org/amazonJuliaBo</span><span class="invisible">okRanks/</span></a></p><p>[1] <a href="https://rb.gy/y7yr2j" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">rb.gy/y7yr2j</span><span class="invisible"></span></a></p>
Sharlatan<p>FORTRAN package manager in Guix?</p><p><a href="https://github.com/fortran-lang/fpm" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/fortran-lang/fpm</span><span class="invisible"></span></a></p><p><a href="https://stackoverflow.com/questions/79357849/how-to-package-the-fortran-package-manager-for-gnu-guix" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/79</span><span class="invisible">357849/how-to-package-the-fortran-package-manager-for-gnu-guix</span></a></p><p>It's backed by <a href="https://www.sovereign.tech/tech/fortran" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">sovereign.tech/tech/fortran</span><span class="invisible"></span></a> </p><p><span class="h-card" translate="no"><a href="https://fosstodon.org/@abcdw" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>abcdw</span></a></span> </p><p><a href="https://mastodon.social/tags/Guix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Guix</span></a> <a href="https://mastodon.social/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a></p>
☮ ♥ ♬ 🧑‍💻<p>“Personally, I think the world needs only so many implementations of <a href="https://ioc.exchange/tags/FORTRAN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FORTRAN</span></a> 77.” — <a href="https://ioc.exchange/tags/RobertNystrom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RobertNystrom</span></a></p><p>&lt;<a href="https://craftinginterpreters.com/introduction.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">craftinginterpreters.com/intro</span><span class="invisible">duction.html</span></a>&gt;</p>
theruran 💻 🌐 :cereal_killer:<p>is <a href="https://hackers.town/tags/Fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fortran</span></a> memory safe?</p><p>I don't think I have ever heard of a CVE in Fortran code.</p><p><a href="https://hackers.town/tags/memorySafety" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memorySafety</span></a></p>
seungjin<p>Will <a href="https://mstd.seungjin.net/tags/Fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fortran</span></a> back?</p>
Walker Boh🛡<p>Waifuvault Unofficial <a href="https://infosec.exchange/tags/fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fortran</span></a> SDK now supports albums.</p><p>Was a bit of a slog, even compared to the C SDK.</p><p>Still got docs to update, but thats for tomorrow me...</p>
tor_haxson<p><span class="h-card" translate="no"><a href="https://mstdn.social/@goatrodeo" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>goatrodeo</span></a></span> </p><p>I taught classes and would occasionally get folks who worked at the big labs, I had a student who had been at CERN (the birthplace of WWW) and she had punchcards with CERN logo printed on them. </p><p>I asked her to send me some as a souvenir, but it never happened. <br>😢 </p><p><a href="https://heads.social/tags/Fortran" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fortran</span></a></p>