frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LAPACK without Fortran77; a C11 translation

https://github.com/ilayn/semicolon-lapack
2•ilayn•5h ago
Before anything, let me get certain concerns out of the way, right away

Mandatory disclosure: Just to prove that this is not some yet-another-LLM cracked-pottery, I did similar work for SciPy and hand-translated ARPACK, PROPACK, QUADPACK, ODEPACK and bunch of other packs (https://github.com/scipy/scipy/issues/18566 for the complete list, ~85K SLOC) when LLMs were not good for this type of work. Most of the translations are already released in previous SciPy versions so I hope that provides credibility for F77 -> C11 translation work. Now LLMs are slightly better and for LAPACK translation, I used Claude Code as an assistant for certain tasks. End of PSA.

-------- We now return to normal programming.

This is a C11 translation of the venerable Fortran77 linear algebra library, LAPACK. In case you can't afford or don't want Fortran dependency, this project might help. It works exclusively with a CBLAS interface to avoid the symbol naming bonanza that affects every other vendor (is it uppercase or not, with/out trailing underscore, ...). A bit controversially, translation is 0-indexed inside out, except the error codes. unfortunately `info = 0` encodes success so we can't do much about that.

Current test coverage; LAPACK own test suite (450K parametrized tests also mapped to C), NumPy test suite and SciPy test suite all pass. At least in the most common algorithms it is sound. For less covered ones, still there might be bugs and hence I marked it as alpha for now. But if you find any, write up an issue in the repo.

Also this makes it much easier to compile OpenBLAS and LAPACK with for your own machine or wherever it is meant to be running with architecture optimizations enabled and it works with a leaner binary size.

If you also want a drop-in replacement, there is also a fortran-shim supplied that will convert the wrappers to be seen as 1-indexed (that's how I tested NumPy/SciPy) with a bit of performance hit.

You can also name mangle the symbols to your liking with prefix and suffixes if you don't like the default. ILP64 is also supported and if you try to link with ILP64 CBLAS, it either complains if it was accidentally linked or handles things for you if you provide the flag.

The doxygen version of the documentation on Netlib, always rubbed me the wrong way for some reason; hence I tried my spin on it. It's here: https://ilayn.github.io/semicolon-lapack/

One particular detail I wanted to see often, was to see all four flavors at the same time; now they are grouped like this https://ilayn.github.io/semicolon-lapack/api/linear-systems/... If I failed please let me know, I'm still exploring the details. The default fonts, as an example, definitely need some love.

A couple of points as a futile attempt to prevent unhelpful discussions;

- There is nothing wrong with Fortran. If you like it keep using it. I don't, though big fan of Fortran77 for its era, not so much what is called the modern one. - This work has nothing to do with Fortran. It tries to serve a particular audience that use exclusively a C toolchain and does not want inter-language issues. - This work hopes to attract more people for optimizing the C code for common benefit.

Some more reasoning is given in the documentation.

All feedback/criticism welcome.

Modern Generic SVGA driver for Windows 3.1

https://github.com/PluMGMK/vbesvga.drv
2•userbinator•10m ago•0 comments

TELeR: A General Taxonomy of LLM Prompts for Benchmarking Complex Tasks (2023)

https://arxiv.org/abs/2305.11430
2•locknitpicker•15m ago•0 comments

Visualisation of the Artemis Mission (German)

https://www.zeit.de/wissen/2026-04/artemis-2-mondmission-nasa-raumfahrt-visuelle-reise
1•wazHFsRy•17m ago•0 comments

Ending My Claude Pro Subscription

https://lzon.ca/posts/other/cancelling-claude/
1•jpmitchell•24m ago•0 comments

slopc: Replace every Rust todo() macro with a spontaneous runtime implementation

https://github.com/shorwood/slopc
1•gnatolf•25m ago•0 comments

What an Ivy League Education Gets You

https://www.theatlantic.com/ideas/2026/04/ivy-league-education-income/686682/
1•ryan_j_naughton•28m ago•1 comments

I used AI. It worked. I hated it

https://taggart-tech.com/reckoning/
11•evolve2k•30m ago•5 comments

The Locksmith's Apprentice – Claude told me to expose my data without auth

https://mpdc.dev/the-locksmiths-apprentice/
1•ParanoidRV•31m ago•0 comments

IC3PEAK – Dead but Pretty [video]

https://www.youtube.com/watch?v=qCljI3cIObU
1•consumer451•35m ago•0 comments

Universal Cognitive Schema – open std for porting your AI identity in platforms

https://github.com/XwhyZ-WHYLD/universal-cognitive-schema
1•rgthomas•36m ago•1 comments

Applying machine learning to identify unrecognized Covid-19 deaths in the US

https://www.science.org/doi/10.1126/sciadv.aef5697
8•Pxtl•38m ago•4 comments

Oh Memories, Where'd You Go

https://weaviate.io/blog/engram-internal-use-case
1•eigenBasis•39m ago•0 comments

Code Reviews Need to Evolve

https://www.latent.space/p/reviews-dead
1•nutwani91•42m ago•0 comments

Humans only This website invites artists to animate anti-AI disclaimers

https://www.itsnicethat.com/articles/ori-peer-this-film-was-not-made-with-ai-animation-illustrati...
1•bryanrasmussen•46m ago•0 comments

I Saw Something New in San Francisco (By Ezra Klein)

https://www.nytimes.com/2026/03/29/opinion/ai-claude-chatgpt-gemini-mcluhan.html
1•sebmellen•48m ago•1 comments

Stop Telling Professionals How to Do Their Job – Commander's Intent

https://age-of-product.com/commanders-intent/
1•swolpers•51m ago•0 comments

Anyone want to try automating SEO blog and TikTok content?

1•oyaa52•1h ago•0 comments

Common Sense 2026: AI In America – the open letter I dictated over 2 months

https://www.raresignal.ai/common-sense-2026
1•dl92•1h ago•0 comments

Kids Toys, Adult Issues

https://shampoooty.myportfolio.com/port
1•Kaibeezy•1h ago•0 comments

What if the browser built the UI for you?

https://jonno.nz/posts/what-if-your-browser-built-the-ui-for-you/
19•jonnonz•1h ago•19 comments

Why aren't qualified candidates getting hired?

https://justapplied.substack.com/p/the-job-market-is-broken-were-trying
2•pavankalyanm•1h ago•1 comments

US forces locate and evacuate downed airman in Iran

https://www.foxnews.com/live-news/second-us-fighter-jet-downed-by-strait-of-hormuz-as-search-for-...
5•longislandguido•1h ago•9 comments

Bevel Health CEO: WHOOP just filed a lawsuit against us

https://twitter.com/greyngyen/status/2040100105336799659
1•doppp•1h ago•0 comments

Limiting Not Just Screen Time, but Screen Space

https://www.noemamag.com/limiting-not-just-screen-time-but-screen-space/
1•ecliptik•1h ago•0 comments

AI that copied musical artist files copyright claim against artist [updated]

https://twitter.com/VladTheInflator/status/2039577001531768906
45•josephcsible•1h ago•12 comments

Pre-Critical Recursive Cutoff: A Boundary Condition for AI Irreversibility

https://zenodo.org/records/18824181
1•EliasArden•1h ago•0 comments

The Spaceballs sequel will be released in April next year

https://www.engadget.com/entertainment/tv-movies/the-spaceballs-sequel-will-be-released-in-april-...
2•WaitWaitWha•1h ago•0 comments

Don't Buy the DGX Spark: NVFP4 Still Missing After 6 Months

https://old.reddit.com/r/LocalLLaMA/comments/1scf1x8/dont_buy_the_dgx_spark_nvfp4_still_missing_a...
4•kristianp•1h ago•0 comments

Anyone else having a terrible experience with Claude Code's remote control?

2•leddo•1h ago•0 comments

Anthropic blocks OpenClaw from Claude subscriptions in cost crackdown

https://thenextweb.com/news/anthropic-openclaw-claude-subscription-ban-cost
1•WaitWaitWha•2h ago•1 comments