frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Fortran for C Programmers

https://flang.llvm.org/docs/FortranForCProgrammers.html
21•todsacerdoti•7h ago

Comments

readthenotes1•5h ago
I haven't used a modern Fortran, but for older versions , the biggest surprise was the lack of reentrance.
adrian_b•2h ago
Indeed, reentrance and recursivity and the use of stacks and/or heaps for dynamic memory allocation have appeared in programming languages that have descendants still used today only in 1960, in ALGOL 60 and LISP I. These features have become ubiquitous in the later programming languages, all of which have been at least partially inspired by ALGOL or LISP.

Fortran is the only surviving programming language older than that (first specification in 1954 and first implementation in 1956). Cobol is the only surviving programming language equally old with LISP and ALGOL, so that it has not been influenced by either of them. Thus now Fortran and Cobol are the only surviving programming languages from the era when only static memory allocation was used in programs, though their later versions have added most modern programming language features.

pjmlp•23m ago
Depending on where you place them, there are still some folks having to deal with NEWP, PL/I and RPG, which are of similar vintage.
jmclnx•5h ago
Very nice, my first professional job was with Fortran IV, but my 19 year old self made lots of mistakes back then :)

Anyway I eventually ended up with c. Recently I started playing with gfortran, but so much have leaked out of me I have been having a tough time of it. I expect this will help me a lot!

Edit: No functions ? OK, noticed it is handled under Subprograms. Seems there have been many changes.

SoftTalker•4h ago
Still used in scientific computing. Perhaps also in some financial settings? Otherwise it’s pretty dead.
90s_dev•3h ago
I hate to be superficial, but languages without braces just feel weird to me. I can use them and have even for a paycheck, but... no thanks. Even Lua, one of my favorite languages (if not #1), always feels at least slightly weird when I use it because of do/end.
almostgotcaught•3h ago
It's always the people that are chronically online here that comment with most lowbrow stuff. Yes Fortran is so dead that NVIDIA and Intel are both building new compilers for it

https://www.intel.com/content/www/us/en/developer/articles/r...

https://developer.nvidia.com/cuda-fortran

https://flang.llvm.org/docs/

xeonmc•2h ago
To be fair, in frontendland a framework is considered dead if it hasn’t updated for more than two weeks.
pjmlp•25m ago
As I point out in a sibling comment, it was definitely one of the reasons OpenCL lost, not being able to dump Fortran HPC workloads into GPUs.
pjmlp•26m ago
That narrow minded approach is one of the reasons OpenCL lost to CUDA, by not taking Fortran support seriously.

I was on a OpenCL Webminar panel, where Khronos folks said exactly the same thing.

Meanwhile, NVidia's investment into PGI compilers really paid itself out.

emmelaich•4h ago
I say bring back https://en.wikipedia.org/wiki/Ratfor

AniSora: Open-source anime video generation model

https://komiko.app/video/AniSora
152•PaulineGar•7h ago•42 comments

Project Verona: Fearless Concurrency for Python

https://microsoft.github.io/verona/pyrona.html
29•ptx•2d ago•1 comments

Coding without a laptop: Two weeks with AR glasses and Linux on Android

https://holdtherobot.com/blog/2025/05/11/linux-on-android-with-ar-glasses/
577•mikenew•3d ago•238 comments

Show HN: Turn any workflow diagram into compilable, running and stateful code

https://workflows.diagrid.io/
29•yaronsc•3d ago•2 comments

Mexican Navy ship crashes into Brooklyn Bridge leaving two people dead

https://www.theguardian.com/us-news/2025/may/18/mexican-navy-ship-hits-brooklyn-bridge-during-promotional-tour
32•teleforce•50m ago•7 comments

Experts have it easy (2024)

https://boydkane.com/essays/experts
57•veqq•5h ago•14 comments

Mystical

https://suberic.net/~dmm/projects/mystical/README.html
228•mmphosis•12h ago•24 comments

ARMv9 Architecture Helps Lift Arm to New Financial Heights

https://www.nextplatform.com/2025/05/12/armv9-architecture-helps-lift-arm-to-new-financial-heights/
49•rbanffy•3d ago•13 comments

Directory of MCP Servers

https://github.com/chatmcp/mcpso
135•saikatsg•11h ago•45 comments

Confessions about my smart home

https://frenck.dev/confessions-about-my-smart-home/
56•pabs3•5h ago•27 comments

How to have the browser pick a contrasting color in CSS

https://webkit.org/blog/16929/contrast-color/
178•Kerrick•14h ago•61 comments

Dead Stars Don’t Radiate

https://johncarlosbaez.wordpress.com/2025/05/17/dead-stars-dont-radiate-and-shrink/
194•thechao•13h ago•96 comments

Push Ifs Up and Fors Down

https://matklad.github.io/2023/11/15/push-ifs-up-and-fors-down.html
425•goranmoomin•21h ago•157 comments

Bike-mounted sensor could boost the mapping of safe cycling routes

https://newatlas.com/bicycles/proxicycle-bicycle-sensor-safe-cycling-routes/
63•yunusabd•3d ago•25 comments

Mice grow bigger brains when given this stretch of human DNA

https://www.nature.com/articles/d41586-025-01515-z
32•pavel_lishin•3d ago•18 comments

If nothing is curated, how do we find things

https://tadaima.bearblog.dev/if-nothing-is-curated-how-do-we-find-things/
210•nivethan•15h ago•143 comments

Understanding Transformers via N-gram Statistics

https://arxiv.org/abs/2407.12034
75•pona-a•11h ago•2 comments

Palette lighting tricks on the Nintendo 64

https://30fps.net/pages/palette-lighting-tricks-n64/
188•ibobev•16h ago•40 comments

FreeBASIC is a free/open source BASIC compiler for Windows DOS and Linux

https://freebasic.net/
79•90s_dev•8h ago•17 comments

The Lost Japanese ROM of the Macintosh Plus

https://www.journaldulapin.com/2025/05/17/the-lost-japanese-rom-of-the-macintosh-plus-which-isnt-lost-anymore/
127•ecliptik•8h ago•38 comments

“Streaming vs. Batch” Is a Wrong Dichotomy, and I Think It's Confusing

https://www.morling.dev/blog/streaming-vs-batch-wrong-dichotomy/
42•ingve•3d ago•22 comments

Lessons from Mixing Rust and Java: Fast, Safe, and Practical

https://medium.com/@greptime/how-to-supercharge-your-java-project-with-rust-a-practical-guide-to-jni-integration-with-a-86f60e9708b8
4•killme2008•3d ago•1 comments

Memetics – A Growth Industry in US Military Operations (2006) [pdf]

https://apps.dtic.mil/sti/pdfs/ADA507172.pdf
22•lawrenceyan•5h ago•6 comments

Espanso – Cross-Platform Text Expander Written in Rust

https://github.com/espanso/espanso
73•kartikarti•3d ago•19 comments

O2 VoLTE: locating any customer with a phone call

https://mastdatabase.co.uk/blog/2025/05/o2-expose-customer-location-call-4g/
217•kragniz•18h ago•47 comments

Proton threatens to quit Switzerland over new surveillance law

https://www.techradar.com/vpn/vpn-privacy-security/we-would-be-less-confidential-than-google-proton-threatens-to-quit-switzerland-over-new-surveillance-law
366•taubek•16h ago•172 comments

Pyrefly: A new type checker and IDE experience for Python

https://engineering.fb.com/2025/05/15/developer-tools/introducing-pyrefly-a-new-type-checker-and-ide-experience-for-python/
181•homarp•18h ago•118 comments

Weather Report from Saturn's Moon Titan

https://www.sci.news/astronomy/titan-weather-13907.html
19•astroimagery•2d ago•0 comments

Climbing trees 1: what are decision trees?

https://mathpn.com/posts/climbing-trees-1/
5•SchwKatze•4h ago•0 comments

How I fixed the infamous Basilisk II Windows “Black Screen” bug in 2013

https://www.downtowndougbrown.com/2025/05/how-i-fixed-the-infamous-basilisk-ii-windows-black-screen-bug-in-2013/
69•zdw•2d ago•7 comments