frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: The Aria Programming Language

https://github.com/egranata/aria
44•egranata_aria•4d ago
Aria is a modern, dynamic scripting language. It is meant to be a "sweet spot" language, easy to pick-up and enjoyable to use.

It comes with a familiar C-style syntax, and draws inspiration from a variety of languages. It has a small but usable standard library and strives to be a low-ceremony-get-stuff-done kind of language.

It is currently at version 0.9 and I would love feedback as I work towards getting it to 1.0.

Comments

ofalkaed•4d ago
What would this offer me over more established scripting languages? Main thing I want to know when I see a new offering. On a quick look I find the almost but not quite C syntax more difficult to read, like the lack of parenthesis on the if statement's test and this is my biggest issue with C like languages, they change things just enough that I have to think about it and I don't see what the change offers beyond those used to C syntax having to stop and think.
egranata_aria•4d ago
Good news is I can offer you parentheses, but they are indeed optional on conditionals/loops. I am fairly sure there are other C-style syntaxes that leave those out. See https://stackoverflow.com/questions/2061593/why-do-c-languag... - you can't have the same ambiguity if you have mandatory braces around the body. Would there be a reason to require them?

With that said, this will work just fine and you wouldn't have to think about it too hard, if at all:

  func main() {
    if (1 == 2) {
      println("oh no!");
    } else {       
      println("phew!");
    }
  }
On the more general point, why this vs. anything else? That's a great question. I have tried to hit a balance that I think is pleasant to write code in (e.g. I like not having __init__.aria files around to define modules :-), and I like having proper enums, and so on...). I like to think someone would pick up Aria because it is a fun little language to try out and experiment with, not because it would change the world.

Mileage may of course vary and you may think that balance is actually nowhere to be seen. That's great, hit me with it.

account-5•3d ago
I feel like I keep harping on about Nushell but as scripting languages go it's right up there for me. Built with rust too and comes with a ton of stuff built in.

What's the niche this fills? I came across roc-lang recently which seemed interesting too, again built with rust, and opinionated on certain things common in older languages.

It doesn't have to, and obviously it's your project, but what is this offering over other languages. Why would I reach for it?

egranata_aria•3d ago
I hadn't really looked at Nushell, but it (process control) is definitely something I plan to improve in Aria (https://github.com/egranata/aria/issues/21). Right now I have a simple system() wrapper, but not much in terms of advanced subprocess control. Maybe worth investing some time in cleaning up?

I have tried to fill the niche of "scratch my itches, please", which means Aria is intended to feel smooth, pleasant and simple to write in. There are still things I want to improve before calling it a 1.0, but the general theme is, a general purpose scripting language with just enough structure and as little ceremony as possible.

It may be that I struck the wrong balance somewhere (and I know of a few places, e.g. operator overloading - I plan to rewire the syntax), and that would be great to get eyes on and get feedback!

norman784•17h ago
Just a side note, roc-lang is being rewritten in Zig[0]

[0] https://gist.github.com/rtfeldman/77fb430ee57b42f5f2ca973a39...

plainOldText•18h ago
Judging from the small example in the readme, the language looks pleasing to the eye.

What’s under the hood though? What are some of the technical choices, performance characteristics and longer term goals?

derdi•16h ago
The current implementation looks like a compiler to a stack-based bytecode with a straightforward textbook interpreter. For example, here is the interpretation of the Add bytecode: https://github.com/egranata/aria/blob/master/vm-lib/src/vm.r...

So to a very rough first approximation, performance characteristics should be in CPython's ballpark.

thenulldevice•16h ago
You do a good job on explaining the what of the language, but I cannot quickly find the why of the language. What is the language's purpose? Why should or could I use it?
mrbluecoat•16h ago
Agreed. Feels like "a scripting language for C developers who hate JavaScript"
nottorp•15h ago
That can be a decent "why" though...
pshirshov•13h ago
Does it support higher-kinded types and typeclasses? Does it support call-site expansion?
drumnerd•8h ago
Why the name conflict with aria the technology?

Fast

https://www.catherinejue.com/fast
980•gaplong•11h ago•286 comments

Classic Common Desktop Environment coming to OpenBSD

https://undeadly.org/cgi?action=article;sid=20250730080301
49•susam•2h ago•12 comments

Ollama's new app

https://ollama.com/blog/new-app
262•BUFU•7h ago•137 comments

Figma will IPO on July 31

https://www.figma.com/blog/ipo-pricing/
145•nevir•6h ago•70 comments

The math is haunted

https://overreacted.io/the-math-is-haunted/
154•danabramov•7h ago•56 comments

Vibe code is legacy code

https://blog.val.town/vibe-code
398•simonw•7h ago•240 comments

Optician Sans – A free font based on historical eye charts and optotypes

https://optician-sans.com/
229•exvi•12h ago•50 comments

150 years of Hans Christian Andersen

https://www.newstatesman.com/culture/books/book-of-the-day/2025/07/150-years-of-the-bizarre-hans-christian-andersen
11•wholeness•7h ago•1 comments

Pentagon Pizza Index

https://www.pizzint.watch/
65•exiguus•6h ago•29 comments

Early universe's 'little red dots' may be black hole stars

https://www.science.org/content/article/early-universe-s-little-red-dots-may-be-black-hole-stars
59•rbanffy•7h ago•35 comments

Fixing Ctrl+C in Rust terminal apps: Child process management

https://www.fiveonefour.com/blog/Fixing-ctrl-c-in-terminal-apps-child-process-management
69•Callicles•1d ago•29 comments

Ferroelectric helps break transistor limits

https://spectrum.ieee.org/negative-capacitance-schottky-limit
17•jnord•2d ago•3 comments

Sei (YC W22) Is Hiring a Full Stack Engineer in Chennai, India

https://www.ycombinator.com/companies/sei/jobs/LeAtLYf-full-stack-engineer-typescript-react-gen-ai
1•ramkumarvenkat•3h ago

A short post on short trains

https://shakeddown.substack.com/p/a-short-post-on-short-trains
68•surprisetalk•14h ago•88 comments

Problem solving often a matter of cooking up an appropriate Markov chain (2007)

http://math.uchicago.edu/~shmuel/Network-course-readings/Markov_chain_tricks.pdf
216•Alifatisk•16h ago•67 comments

Launch HN: Lucidic (YC W25) – Debug, test, and evaluate AI agents in production

98•AbhinavX•12h ago•29 comments

Emacs: The macOS Bug

https://xlii.space/eng/emacs-the-macos-bug/
100•xlii•10h ago•70 comments

Our $100M Series B

https://oxide.computer/blog/our-100m-series-b
654•spatulon•15h ago•447 comments

Australia widens teen social media ban to YouTube, scraps exemption

https://www.reuters.com/legal/litigation/australia-widens-teen-social-media-ban-youtube-scraps-exemption-2025-07-29/
220•Brajeshwar•11h ago•322 comments

The HTML Hobbyist (2022)

https://www.htmlhobbyist.com/
232•janandonly•16h ago•127 comments

Critical vulnerability in AI coding platform Base44 allowing unauthorized access

https://www.wiz.io/blog/critical-vulnerability-base44
99•waldopat•12h ago•61 comments

Show HN: Open-source alternative to ChatGPT Agents for browsing

https://github.com/trymeka/agent
69•ElasticBottle•14h ago•19 comments

Show HN: Open-source physical rack-mounted GUI for home lab

https://www.getubo.com/post/gui-for-raspberry-pi-inside-mini-racks
10•mmajzoobi•3d ago•3 comments

Writing memory efficient C structs

https://tomscheers.github.io/2025/07/29/writing-memory-efficient-structs-post.html
141•aragonite•15h ago•74 comments

A major AI training data set contains millions of examples of personal data

https://www.technologyreview.com/2025/07/18/1120466/a-major-ai-training-data-set-contains-millions-of-examples-of-personal-data/
109•pera•18h ago•83 comments

Crush: Glamourous AI coding agent for your favourite terminal

https://github.com/charmbracelet/crush
324•nateb2022•12h ago•197 comments

Show HN: An AI agent that learns your product and guides your users

https://frigade.ai
58•pancomplex•15h ago•24 comments

The Preserving Machine by Philip K. Dick (1953)

https://archive.org/details/Fantasy_Science_Fiction_v004n06_1953-06
46•akkartik•9h ago•11 comments

I launched 17 side projects. Result? I'm rich in expired domains

229•cesargstn•15h ago•167 comments

Ultra-Rapid Vision in Birds

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0151099
57•downboots•3d ago•14 comments