frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Jaithon 3, a fast programming language with the perfect syntax

https://github.com/abhiramasonny/jaithon
11•AbhiramaVS•4d ago

Comments

AbhiramaVS•4d ago
Hi HN! I’m Abhirama, and I started Jaithon in 2023 when I was in 8th grade to teach myself how to code in C. Jaithon 1 was really bad, it was all in one file and it was completely an interpreter and it was extremely slow with bugs everywhere. Recently, I have came back to this project with the goal of making the perfect programming language that is not only fast, but it has the optimal syntax & features out of every programming language.

Jaithon has Python features such as comprehensions, f-strings and first-class functions with declared fields, explicit visibility, traits and checked type annotations, along with syntax choices from lua, Java, bash, c++, go, and rust.

The compiler separates lexing, parsing, type checking and bytecode generation. The VM has 107 opcodes along with a JIT compiler to speed stuff up, polymorphic inline caches and a garbage collector.

Jaithon is nearly completely bootstrapped, with the lexer, parser, and bytecode generation built completely within Jaithon itself. The syntax of jaithon code is also easily customizable.

You can build and run it with:

git clone https://github.com/abhiramasonny/jaithon cd jaithon make ./jaithon examples/hello.jai

It would mean a lot if you star the project on my GH as I am trying to reach 15 stars soon :) anyways, lmk if you have any feedback. Currently Jaithon is between Java and C++ for speed (a more detailed benchmark exists within the project by running make benchmark) and I am in the process of optimizing the VM.

Would love to hear yalls thoughts!

- Abhi (abhiramasonny.com)

sieve•3d ago
Nice! This is what I keep telling everyone: LLMs let you build stuff you may not have the time/energy to before. You still need to do the last 10% yourself though. Tying up all the loose ends.

Syntax is a personal choice. Can always be changed. Architectural choices are difficult to manage later on.

The VM seems to be a stack VM. I have my own python replacement project (https://news.ycombinator.com/item?id=48090665) that I am developing privately for now. LLM-assisted ofc. Started with a bytecode VM and then switched over to a register one. The biggest break from regular language systems was the decision to move to an Erlang-style preemptive scheduler.

AbhiramaVS•3d ago
I completely agree! I started Jaithon before mainstream LLMs existed and for a while Jaithon was free of AI generated code and my personal stance on AI generated code was rather negative. Recently though, my stance has grown far more positive towards AI. While LLMs are undeniably the future it remains crucial that you completely understand the code being generated, and are also in control of the architecture in place. I have tried to adhere to both of these principals while coding :) and it is an unequivocal fact that AI made me atleast 10x more productive. Granted this is a bad measure but still a measure of such: in the last 2 days I have made the same number of commits as I have to Jaithon in the last 3 years.

Also, I was curious why you swapped over to a register based VM, could you give more clarity on that and the benifits/negatives? currently im using some sort of bytecode vm, though its not like im married to the idea of a bytecode vm.

Also (dont mean this as any sort of advertisement or anything like that) would you mind starring the repo? trying to hit 15 stars :D dont feel forced or anything like that.

sieve•3d ago
There are pros and cons to both approaches. I moved from stack to register because I was writing the code gen backend from scratch in any case and preferred to have a register representation instead of converting from stack to register (which has to happen one way or another). Also mildly helpful with control flow analysis during bytecode generation and verification phases.
abhinai•31m ago
This language keeps the best parts of Python while discarding the bad. I clicked the link apprehensively, but I have to agree that this syntax is spot-on (for me, at least). So many new languages miss the mark.
nullbio•25m ago
I like the syntax, but I personally don't see the need to be developing new languages right now that don't play to the strengths and weaknesses of AI. In a year or three from now, no one will be writing code by hand or reading it manually. Most of the people I know are already at this point.
skybrian•4m ago
First impression: looks more like JavaScript than Python?
AbhiramaVS•2d ago
ah gotu, yeah that makes sense. I will def further investigate this ltr :)

Engineers will do anything to avoid learning from history

https://horn.gg/blog/engineers-will-do-anything-to-avoid-learning-from-history/
99•madrox•1h ago•50 comments

Abdominal fat predicts heart disease risk better than BMI

https://www.acc.org/about-acc/press-releases/2026/08/11/14/59/abdominal-fat-predicts-heart-diseas...
94•theanonymousone•2h ago•61 comments

Bede Liu, a digital signal processing pioneer, has died

https://spectrum.ieee.org/digital-signal-processing
35•Jimmc414•2h ago•2 comments

Semaglutide linked to lower predicted dementia risk

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/dad2.70432
318•randycupertino•7h ago•220 comments

Cultivating a state of mind where new ideas are born (2023)

https://www.henrikkarlsson.xyz/p/good-ideas
56•felixbraun•2h ago•17 comments

At-home test for infected ticks could improve Lyme Disease diagnosis

https://www.smithsonianmag.com/innovation/the-first-at-home-test-for-infected-ticks-could-improve...
198•gmays•9h ago•69 comments

AI in drug discovery – what it is, where we stand and the path forward

https://www.science.org/content/blog-post/so-how-ai-drug-discovery-doing-really
66•AnodicElegy•4h ago•35 comments

AI has access to a vastly larger working memory than the human brain

https://davidepiffer.com/p/ai-isnt-outthinking-mathematicians
369•rzk•5h ago•330 comments

RISC-V: They Should Have Known Better

https://dmitry.gr/?r=06.%20Thoughts&proj=12.%20RV
212•dmitrygr•1d ago•287 comments

Tracking down a Zsh history data loss bug

https://michael.stapelberg.ch/posts/2026-08-09-zsh-history-truncation-bug/
21•ingve•2h ago•2 comments

Auto-research with codex: How I achieved a 232x Faster Kernel

https://sankalp.bearblog.dev/autoresearch/
383•tosh•12h ago•86 comments

The Government Is Monitoring Anti-Flock TikTok and Instagram Accounts

https://www.404media.co/the-government-is-monitoring-anti-flock-tiktok-and-instagram-accounts/
46•Jimmc414•1h ago•22 comments

SugarTrack – an offline Android logbook for blood sugar (no account, no cloud)

https://sugartrack-beta.vercel.app/
7•hunzaboy•1h ago•1 comments

Super El Niño Keeps Growing as New Forecasts Reach Record Territory Ahead Winter

https://www.severe-weather.eu/long-range-2/super-el-nino-growth-accelerating-to-record-strength-f...
30•dgellow•4h ago•3 comments

A spectre is haunting Unicode

https://www.dampfkraft.com/ghost-characters.html
153•sensanaty•9h ago•46 comments

Voltair (YC W26) Is Hiring a Test Flight Engineer

https://www.ycombinator.com/companies/voltair/jobs/sSOD2Ox-flight-test-engineer
1•wweissbluth•5h ago

Modeling and Verification of Keeta's Consensus [pdf]

https://xescu.re/keeta-consensus.pdf
10•xescure•1h ago•1 comments

Tess's Android Wayland Compositor

https://github.com/wmww/tawc
32•schmorptron•5h ago•2 comments

The Wow signal was a strong narrowband radio signal detected on August 15, 1977

https://en.wikipedia.org/wiki/Wow!_signal
44•firefax•2h ago•6 comments

Working with AI feels more like leadership than coding

https://allen.bargi.org/notes/working-with-ai-feels-like-leadership/
248•allenb•13h ago•166 comments

Jaithon 3, a fast programming language with the perfect syntax

https://github.com/abhiramasonny/jaithon
11•AbhiramaVS•4d ago•8 comments

Humazon

https://hughhowey.com/humazon/
14•herbertl•3h ago•6 comments

Pizza Box Project Stack

https://cblgh.org/posts/2026-07-31-pizza-box-project-stack/
26•surprisetalk•4d ago•3 comments

2D Gaussian Splatting for Bézier Spline Line Art Vectorization

https://studios.disneyresearch.com/2026/07/16/2d-gaussian-splatting-for-bezier-spline-line-art-ve...
57•Jimmc414•23h ago•4 comments

Show HN: Eigendrum - Draw any shape and hear what it sounds like as a drum

https://baselashraf81.github.io/eigendrum/
191•BaselAshraf81•5d ago•91 comments

Geek Fighter – 2d fighter game

https://geek-fighter.vercel.app/
46•tareqismail•5d ago•26 comments

The mathematical beauty of hyperbezier curves

https://linebender.org/blog/hyperbezier/
183•raphlinus•6d ago•34 comments

An image can overflow

https://master.dev/blog/something-nobody-told-you-about-the-image-element-it-can-overflow/
11•ibobev•4d ago•4 comments

A controversial Alzheimer's surgery is said to reverse symptoms

https://www.nature.com/articles/d41586-026-02448-x
150•jeffreyrogers•7h ago•68 comments

Printytron – Describe a part, get a printable STL

https://printytron.com
63•statenjason•9h ago•28 comments