frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Comparison of Ada and Rust, Using Solutions to the Advent of Code

https://github.com/johnperry-math/AoC2023/blob/master/More_Detailed_Comparison.md
65•andsoitis•2h ago

Comments

yoyohello13•1h ago
Interesting that Ada has an open source compiler. For whatever reason when I looked at it years ago I thought it was proprietary compilers only so I never really looked at it again. Maybe I’ll look again now.
jonathanstrange•1h ago
I'd love to use Ada as my primary static language if it had broader support. It's in my opinion the best compiled language with strong static typing. Although it has gained traction with Alire, it unfortunately doesn't have enough 3rd party support for my needs yet.
andsoitis•1h ago
What 3rd party things would you like to see?
PaulKeeble•50m ago
Ada has some really good ideas which its a shame never took off or got used outside of the safety critical community that mostly used it. The ability to make number types that were limited in their range is really useful for certain classes of bugs. Spark Ada was a relatively easy substandard to learn and apply to start to develop software that was SIL 4 compliant.

I can't help but feel that we just went through a huge period of growth at all costs and now there is a desire to return, after 30-years of anything goes, to trying to make software that is safer again. Would be nice to start to build languages based on all the safety learnings over the decades to build some better languages, the good ideas keep getting lost in obscure languages and forgotten about.

Veliladon•39m ago
> The ability to make number types that were limited in their range is really useful for certain classes of bugs.

Yes! I would kill to get Ada's number range feature in Rust!

pjmlp•32m ago
That feature is actually from Pascal, and Modula-2, before making its way into Ada.

For some strange reason people always relate to Ada for it.

Veliladon•5m ago
For me it's because I learned Ada in college.

18 year old me couldn't appreciate how beautiful a language it is but in my 40s I finally do.

nicce•30m ago
There is RFC but I guess the work stopped.
weinzierl•6m ago
It is worked on under the term "pattern types" mainly by Oli oli-obk Scherer I think, who has an Ada background.

Can't tell you what the current state is but this should give you the keywords to find out.

commandar•41m ago
Tangentially related, one of the more interesting projects I've seen in the 3D printing space recently is Prunt. It's a printer control board and firmware, with the latter being developed in Ada.

https://prunt3d.com/

https://github.com/Prunt3D/prunt

It's kind of an esoteric choice, but struck me as "ya know, that's really not a bad fit in concept."

bigstrat2003•20m ago
I found it kind of odd that the author says Rust doesn't support concurrent programming out of the box. He links to another comment which points out you don't need Tokio for async (true enough), but even that aside async isn't the only way to achieve concurrency. Threads are built right into the language, and are easier to use than async. The only time they wouldn't be a good choice is if you anticipate needing to spawn so many threads that it causes resource issues, which very few programs will.
imglorp•7m ago
The author indicates some obvious differences, including the fact that Ada has a formal spec and rust doesn't -- rustc seems to be both in flux as well as the reference implementation. This might matter if you're writing a new compiler or analyzer.

But the most obvious difference, and maybe most important to a user, was left unstated: the adoption and ecosystem such as tooling, libraries, and community.

Ada may have a storied success history in aerospace and life safety, etc, and it might have an okay standard lib which is fine for AOC problems and maybe embedded bit poking cases in which case it makes sense to compare to Rust. But if you're going to sit down for a real world project, ie distributed system or OS component, interfacing with modern data formats, protocols, IDEs, people, etc is going to influence your choice on day one.

Pivot hell and letting go: Why I stopped building my first app and moved on

https://saifbuild.substack.com/p/pivot-hell-and-letting-go
1•iboshidev•4m ago•0 comments

Different mushrooms learned the same psychedelic trick

https://theconversation.com/how-different-mushrooms-learned-the-same-psychedelic-trick-266401
1•invisibleink•7m ago•0 comments

Show HN: Caccepted – A Simple Stupid No Login Challenge and Todo Tracker

https://www.caccepted.com/
1•yusufaytas•8m ago•0 comments

A 102-Year-Old Yoga Teacher's Simple Approach to Aging Well

https://www.nytimes.com/2025/09/29/well/move/102-year-old-yogi-charlotte-chopin.html
1•thelastgallon•8m ago•0 comments

Show HN: Share sessions between Codex and Claude Code (and more)

https://github.com/yoavf/ai-sessions-mcp
1•yoavfr•11m ago•0 comments

Obituary: Yardbirds Co-Founder Chris Dreja Dead at 79

https://www.rollingstone.com/music/music-news/chris-dreja-the-yardbirds-co-founder-obituary-12354...
1•bookofjoe•12m ago•0 comments

Sand Castle Holds Up a Car – Mechanically Stabilized Earth [video]

https://www.youtube.com/watch?v=0olpSN6_TCc
1•akshatjiwan•14m ago•0 comments

Dortmund's 1-1 Stalemate Reveals Bayern Munich's Path to Unpr

https://voquette.com/article/breaking-dortmunds-1-1-stalemate-reveals-bayern-munichs-shocking-pat...
1•gyvastis•15m ago•0 comments

Lycos Buys Tripod for $58 Million (1998)

https://archive.nytimes.com/www.nytimes.com/library/cyber/week/020498lycos.html
1•susam•18m ago•0 comments

Hackathons aren't enough. Accelerators are too much. So we built Proving Ground

1•markbevans101•19m ago•0 comments

Secure Your App with Memory Integrity Enforcement – Meet with Apple [video]

https://www.youtube.com/watch?v=iYUMr3Y9fAU
1•blucell•20m ago•0 comments

Unity discloses a years-old security exploit – urges developers to update games

https://www.theverge.com/news/791609/unity-security-exploit-developers-update-games
2•diggan•22m ago•0 comments

Show HN: Pomodoro App

https://play.google.com/store/apps/details?id=com.rishitha.pomodoro
1•Codegres•22m ago•0 comments

Breaking "Provably Correct" Leftpad

https://lukeplant.me.uk/blog/posts/breaking-provably-correct-leftpad/
1•todsacerdoti•26m ago•0 comments

First-time job hunters' college degrees don't unlock opportunities they once did

https://www.cnbc.com/2025/10/03/job-market-new-grads-unemployment.html
1•rntn•30m ago•0 comments

Revelation: 15-Year-Old Girl's Decomposed Body Found in Pop Star D4vd's

https://voquette.com/article/shocking-revelation-15-year-old-girls-decomposed-body-found-in-pop-s...
1•gyvastis•30m ago•0 comments

Can driverless cars get tickets? What happened Bay Area police pulled a Waymo

https://www.latimes.com/business/technology/story/2025-09-30/can-driverless-cars-get-tickets-what...
1•paulpauper•32m ago•0 comments

Abstraction

https://notes.jordanscales.com/abstraction
1•bryan_ka•32m ago•0 comments

Politics Are a Dead End

https://www.sebjenseb.net/p/politics-are-a-dead-end
1•paulpauper•33m ago•0 comments

Have we passed peak social media?

https://www.ft.com/content/a0724dd9-0346-4df3-80f5-d6572c93a863
1•paulpauper•33m ago•1 comments

Are Cattle Good for the Environment?

https://www.farmprogress.com/livestock/are-cattle-actually-good-for-the-environment-
1•bilsbie•35m ago•0 comments

Cheap Desktop CNC

https://www.makera.com/pages/makera-z1
1•vineethy•36m ago•1 comments

The 10x Team (CppNorth '25)

https://www.youtube.com/watch?v=WexvfUA3bSs
1•guy4261•40m ago•1 comments

Smart patch reduces cravings for alcohol and drugs

https://news.harvard.edu/gazette/story/2025/10/wearable-patch-reduces-cravings-for-alcohol-and-dr...
2•gnabgib•41m ago•0 comments

Galatasaray vs. Beşiktaş Derby – 10 Championships on the Line in Co

https://voquette.com/article/breaking-galatasaray-vs-besiktas-derby-10-championships-on-the-line-...
1•gyvastis•44m ago•0 comments

Microsoft lays off thousands and jacks up Game Pass prices

https://www.pcgamer.com/gaming-industry/as-microsoft-lays-off-thousands-and-jacks-up-game-pass-pr...
5•speckx•48m ago•0 comments

Luxury jet replaces cabin windows with video screens

https://www.popsci.com/technology/private-jet-no-windows-otto-aerospace/
2•geox•49m ago•0 comments

If A.I. Can Diagnose Patients, What Are Doctors For?

https://www.newyorker.com/magazine/2025/09/29/if-ai-can-diagnose-patients-what-are-doctors-for
1•PaulHoule•51m ago•5 comments

Tech Whistleblower's Handboom

https://medium.com/@rviragh/tech-whistleblowers-handbook-d400d9bc19a0
1•logicallee•52m ago•1 comments

Privacy Harm Is Harm

https://www.eff.org/deeplinks/2025/10/privacy-harm-harm
3•hn_acker•52m ago•0 comments