frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Is Fortran better than Python for teaching basics of numerical linear algebra?

https://loiseaujc.github.io/posts/blog-title/fortran_vs_python.html
15•Bostonian•1h ago

Comments

Bostonian•1h ago
A follow-up post is https://loiseaujc.github.io/posts/blog-title/jacobi_experime... "Jacobi method: From a naïve implementation to a modern Fortran multithreaded one".
stathibus•1h ago
If you are unwilling to teach through python's warts you should use Matlab, not fortran.
dubya•51m ago
I’d suggest Octave over Matlab, because current Matlab has tons of distracting AI and autocomplete front and center. Probably really helpful for getting a plot just right or implementing an algorithm from a paper, but not so good for learning the basics.
goerz•40m ago
Even better: Julia (although Fortran is pretty good!)
QuadmasterXLII•20m ago
I love julia, but the default workflow is

Step 1) Write the function using high level abstractions Step 2) Glance over the generated assembly and make sure that it vectorized the way you wanted.

mofeing•13m ago
> Glance over the generated assembly and make sure that it vectorized the way you wanted.

Isn't that sth you would also need to do in Fortran? IMO Julia makes this so easy with its `@code_*` macros and is one of the main reasons why I use it.

adgjlsfhk1•19m ago
I translated the jacobi example to julia, and it does seem to address every one of his gripes with Python.
kergonath•11m ago
Fortran is much more approachable and more regular than Matlab. Really, there’s no contest.
a-dub•1m ago
this is the way. octave or matlab.

people like to complain about matlab as a programming language but if you're using it that way you're doing it wrong.

matlab (the core language) is awesome for expressing matrices and vectors and their operations as well as visualizing the results. you shouldn't be using programming language flow control (or any of the other programming language features), you should be learning how to write for loops as vector and matrix operations and learning from the excellent toolboxes.

QuadmasterXLII•10m ago
Am I crazy or is the Jacobi iteration flipping the sign of u every iteration?

Also the swapping of u and tmp doesn't work like that in python. Might in fortran.

patagurbon•9m ago
The post dismisses Julia quite quickly, especially since it is a language essentially purpose built to teach numerical linear algebra. Numerical methods is taught in Julia in at least a dozen universities I'm aware of, including MIT.

Unicode support and a few other syntax niceties make translation from the blackboard to the editor nice and clean. Fortran is great but legibility and easy tooling like (reproducible) package managers are paramount in teaching

abdullahkhalids•4m ago
My scientific computing journey was

- Matlab in the first few science lab courses + first CS course.

- C++ in second CS course

- Fortran for the scientific computing course

I found Fortran worse than matlab. The error messages were difficult to parse, and it was much more difficult to do step through debugging like in matlab.

But later I learned Python, and now use it professionally to do scientific computing, and I would give anything to go back to Fortran. Or use Rust or Julia. Or if Wolfram/Mathematica if that was possible. Anything but Python.

The fundamental problem with Python is that all the math is hacked into it, unlike Julia/Matlab/Mathematica where the math takes first priority and other values are secondary.

tomrod•4m ago
Fortran, Octave, or Julia are excellent for learning linear algebra.

This was the path I took, before going to Python, Go, and Rust.

criddell•1m ago
[delayed]

Dedicated mobile apps for vibe coding have so far failed to gain traction

https://techcrunch.com/2025/09/23/dedicated-mobile-apps-for-vibe-coding-have-so-far-failed-to-gai...
1•toomuchtodo•1m ago•0 comments

Using Moondream AI to Make Your Pi "See" Like a Human

https://hackaday.com/2025/09/23/using-moondream-ai-to-make-your-pi-see-like-a-human/
1•amrrs•3m ago•0 comments

Ask HN: Bring back Jack Tramiel via AI as a trusted advisor in new Commodore?

1•amichail•3m ago•0 comments

Martin A. Couney

https://en.wikipedia.org/wiki/Martin_A._Couney
1•doener•6m ago•0 comments

Vibe Coding in Practice

https://zed.dev/blog/vibe-coding-in-practice
1•nadis•7m ago•0 comments

Show HN: Pleeboo – free pledge boards without singups

https://www.pleeboo.com/example
1•Jean-Philipe•7m ago•0 comments

Qwen3-VL: Sharper Vision, Deeper Thought, Broader Action

https://qwen.ai/blog?id=99f0335c4ad9ff6153e517418d48535ab6d8afef&from=research.latest-advancement...
3•natrys•12m ago•1 comments

Digital Infrastructures at Scale Lead to Value, Power, and Risk (online book)

https://digitalinfrastructures.nl/book/
1•reconnecting•12m ago•0 comments

Show HN: RapidFire AI: 16–24x More Experiment Throughput Without Extra GPUs

https://github.com/RapidFireAI/rapidfireai
1•kamranrapidfire•13m ago•0 comments

Kyiv can win all of Ukraine back from Russia, Trump says

https://www.bbc.com/news/articles/c07vm35rryeo
3•duxup•14m ago•0 comments

Unsolved Problems in MLOps

https://spawn-queue.acm.org/doi/pdf/10.1145/3762989
2•jamesblonde•15m ago•1 comments

A history of ARM, part 1: Building the first chip

https://arstechnica.com/gadgets/2022/09/a-history-of-arm-part-1-building-the-first-chip/
2•ibobev•16m ago•0 comments

Fauxmium – browse an infinite imaginary web

https://paul.kinlan.me/projects/fauxmium/
1•ChrisArchitect•16m ago•1 comments

The surprising revival of road bowling, Ireland's ancient sport

https://www.rte.ie/brainstorm/2025/0709/1522577-road-bowling-ireland-sport-heritage-tradition-cor...
1•austinallegro•17m ago•0 comments

Mass phishing emails pretending to be Y Combinator right now

3•Tremeschin•18m ago•2 comments

TV Simulator Says

https://tvsimulator.com/says/
1•CharlesW•18m ago•0 comments

Confidential Computing with OpenBSD

https://toobnix.org/w/v7xpcN8MyouxGTnwYt35WM
1•todsacerdoti•18m ago•0 comments

Brachiograph Plotter

https://www.4rknova.com//blog/2022/05/02/brachiograph
1•ibobev•20m ago•0 comments

Things in the "Context Plane" – By Shagility

https://agiledata.substack.com/p/things-in-the-context-plane
1•JnBrymn•24m ago•0 comments

Is life a form of computation?

https://thereader.mitpress.mit.edu/is-life-a-form-of-computation/
6•redeemed•24m ago•0 comments

Judge lets construction on an offshore wind farm resume

https://arstechnica.com/science/2025/09/judge-lets-construction-on-an-offshore-wind-farm-resume/
3•voxadam•25m ago•0 comments

Ask HN: Going to Taiwan electronics markets; what would you build?

2•ihaveajob•25m ago•0 comments

Secret Service traced swatting threats against officials. They found 300 servers

https://www.cnn.com/2025/09/23/us/swatting-investigation-server-network-discovered
2•drewmol•26m ago•0 comments

The Lancet Series on Alzheimer's Disease

https://www.thelancet.com/series-do/alzheimers-disease
2•domofutu•26m ago•0 comments

Google Admits Biden White House Pressured Content Removal, Will Unban Affected

https://reclaimthenet.org/google-admits-biden-white-house-pressured-youtube-censorship
7•drak0n1c•26m ago•2 comments

10k Active Users

https://last-ds-frontend.vercel.app/
2•prosa10•27m ago•1 comments

SHA2 Fatal Flaw? (Hash Length Extension Attack) [video]

https://www.youtube.com/watch?v=gOIBUe1fjX0
2•dazhbog•27m ago•0 comments

Nearly half of businesses suffered deepfaked phone calls against staff

https://www.theregister.com/2025/09/23/gartner_ai_attack/
4•rntn•28m ago•0 comments

Where is all the Tether is scam people and ZIRP and tulips made Bitcoin?

2•Printerisreal•28m ago•0 comments

Podman Desktop celebrates 3M downloads

https://podman-desktop.io/blog/3-million
3•twelvenmonkeys•30m ago•0 comments