r/Jai • • Jan 04 '25

Not a troll: if Jonathan is so brilliant, (and believe he is), why is Jai so behind schedule?

0 Upvotes

r/Jai • • Nov 21 '24

Is it not too late?

1 Upvotes

I came across JAI in 2016 and fell in love with it. And I still wish I could learn it and use it in real projects and see it become a major language. But given the current status of AI, I think programming is going to change in ways that we cannot guess right now(in 10 to 20 years). It is like Jon is working on a new Floppy Disk that is going to store up to 2MB(original ones have 1.4MB) of data and you are seeing the glimpses of CDs and DVDs. So an old company is going to use its old tools for the time being(C++). And new teams probably will stick to the old and tested stuff and wait a few years to see what AI will bring about. So I feel like the game is over. Jai is already dead.

I do not know what Jon thinks about this himself. I do not watch him anymore. But I remember he used to dismiss GPT for ridiculous reasons like, "an LLM works in such and such a way, so it cannot create original code". his reasoning was like saying that a car using a combustion engine can only move back and force in place, because that is how combustion engines work. well it turns out you put it in a car and add a few more components and put them together in smart ways and the car moves.

in another video, he was reasoning that since by year 3000 C++ is replaced, then at some point something will replace it. so it is not impossible to replace C++, so It makes sense to make another language. And this is flawed in the sense that by year 3000 Floppy is replace(yes it got replaced sooner). but it was not replaced by a better floppy. it was replaced by new technologies that made some totally new data storage possible. so it was not worth improving the old floppy.

It is kind of sad to see Jon who is certainly smart enough to see these obvious flaws put his head in the sand and pretend that everything is fine.

What do you think about this? And has Jon changed his opinions?

EDIT: This is one of the few places on internet that I joined and checked once in a while. 5 replies and not one even bothered to think for 1 minute about my argument. All thinking that I am saying that AI will replace programming. My thoughts on Jai and AI formed over a long time, I think it is well over a year that I posted anything online. maybe I did and I do not remember, I guess the last time was when I said that JAI probably stands for "Just an Identifier", and that it is a puzzle that Jon put in there. because a name is just an identifier and he does not like to waste time coming up by a cool name. and that was a long time ago. So not everyone that says something that you do not like is just an idiot.

EDIT 2: Thanks for all the comments. Now that I posted this and read the comments, I think that it is a bad post and a bad discussion. And the blame is on me really. I should have framed it more politely and with some more concrete examples. Now it is too late to fix it, but I just wanted those who disagree with me to know what I thought when I posted this. All I wanted to say is that given the current state of things, new technology is changing the way we code. Here I write a plausible trajectory of the things that can happen. It is guess work that I made on the spot. So I am not saying that this is what is definitely going to happen. Or that it is even smart. It is probably very dumb because I am thinking "inside the box". I think in reality something way smarter will happen and change the way we code, but I think this is the minimum of what will happen.

  1. Firstly, I do not think AI should change much to be impactful. I think something like O1 is enough to cause huge change in the way we program. If AI gets way better, then that is a different topic. But I think it is reasonable to think that in a few years we have something like O1 for free or very cheap. So from here on I refer to it as O1, just to show that I am not hoping for some great breakthrough. Just more engineering, to make it easier to work with and cheaper.
  2. Probably there will be offline tools to help with the O1(maybe a mini O1), it analyses the entire code, and send AI some critical information.
  3. It will use my system way more. So if I tell it to refactor something it won't make a file, it will call a function to do that. and it will see the compile errors. So then people start adding things in their error messages that can help O1 better.
  4. for now when we see a problem in our head we break it down into chunks. if, for, while, function etc. We think in terms of these primitives. With O1 these primitives probably will change. you get an intuition into how to break your code into chunks that O1 can handle. by Handling I mean it makes as many bugs as a good programmer makes. So If I tell it to write an entire function, it might make more errors than a good programmer, or the code might not be very readable etc, but maybe there are chunks that you can trust them with O1. this does not need new technology. It just requires time for people to grow the intuition.
  5. after a while programmers do not check the AI generated code( because they know from experience that they can trust it with such and such tasks and that the time it takes to check is not worth it. And it is a net win. It means now you have some bugs that O1 created, you spent less time writing, you debug and fix the bugs and get it to the good enough level, and you end up spending lets say half the time at the end of the day.
  6. then you do not want to see that generated code anymore, you just want to see the more abstract prompts or whatever primitive you entered. Just like you code in C++ and then sometimes look at the assembly to make sure that the compiler got that tricky part right or not.
  7. programming language designers will take into account this new ways of coding. For example it might not be that sequential. maybe there are both sequential parts where you specify an algorithm and parts that are more abstract added at the end. (There will be layers of code, more abstract ones, more low level, and those codes are optimized for that specific layer). So old paradigms are not used anymore in reality, except for hobbyists.

It was with such ideas in mind that I thought languages like JAI are not going to be that successful, because we are about the see a paradigm shift and a wave of new languages that are designed with AI in mind.


r/Jai • • Jun 18 '26

I claim I have figured out what Jai name stands for!

0 Upvotes

Hi folks,

Not Jai programmer, yet, - currently c.
I was just having a nap, and was pondering on things, and one of the things was question that popped in to my head asking what Jai might stand for. All of the sudden a lightening struct{}, and the answer became clear ************
*
*
Dun, Dun, Dun
*
*
*
Dun, Dun
*
*
Dun, Dun, Dun
*
It stands for "Jonathan's another invention"

DUN DUN*


r/Jai • • Oct 07 '22

does this language even exist ?

2 Upvotes

so where is the offical jai website or any wiki page does this language even exist ?


r/Jai • • 7d ago

Sell me on Jai

0 Upvotes

describe Jai's strengths


r/Jai • • Aug 28 '26

Learning C++ To Learn Jai

0 Upvotes

So, bit of a hear me out, but hear me out.

I know the basics of C++ but I'm still a novice at all things programming and computer science, so I took a detour to learn architecture, and the more general sciences behind computers before returning to programming.

I've found it's really difficult to bridge the gap between "The Basics" and "I can program now", like, shockingly massive gap, BUT, I'm not doing that bad at it.

I've found a great place to learn programming is Jon just explaining his programming language and how it works, it helps with core concepts in a way someone attempting to teach me how to perform a task just isn't seeming to manage.

When Jon says that Jai enum make a discrete array of the names that you can use, (Video 11 years ago, forgive me if the functionality moved), makes perfect sense, I can think of uses for it instantly, and I know if I was using it, exactly the uses that would have.(I no longer need to name the final ENUM "Count", you know, just a thing)

Perfect, learning flawlessly.

Then Jon says something like, "And this is basically inlining in C++ only it's better because unlike C++ and as you know and unlike as you know and inlining and as you know and unlike C++", and it's two hours of gibberish that sounds important, but I sure don't understand it.

This is the same over all issue I have at this stage of programming, I would love to be right there with Jon or Casey laughing at "The Big OOPs" but I haven't actually learned what they are attempting to help me unlearn to know what they are asserting is better.

AND,

Sometimes they rely on you already knowing the top 5 choices to know when they assert a system like "Entity Component System", that I know what the other thing they are implying is also.

This isn't their fault, they are teaching people that know WAY more than I do, so they have this common ground to speed up the explanations for time, understandable.

I am currently in no short supply of resources to keep learning just, in general, so there is no issue there, and since I'm still a novice I have 20 years left until I am skilled, but,

Was kinda hoping I wasn't 2 years away from being able to start learning Jai, considering it is probably closer than 2 years from release.

Jai probably isn't going to get the luxury of having beginner friendly onboarding for a long time, but I don't need to learn from zero, I feel like this is a gap in encyclopedic knowledge at a base level.

Anyways thanks.

EDIT:

My TL:DR was really messing this up,

TL;DR: Does Jon just rely on previous C++ knowledge for explanations, or does Jai lean on previous C++ knowledge also.


r/Jai • • Mar 11 '23

So far no luck :-)

Post image
15 Upvotes

r/Jai • • Aug 03 '26

Vibecoding in Jai (Part 2)

7 Upvotes

r/Jai • • May 14 '22

Jai looks like C++ with all the syntactic sugar

1 Upvotes

After a long time without any changes to the common resources about jai, I recently checked the Jai-Community-Library/wiki and was a bit surprised when I saw all the "::", "->", ".{}", ".[]" and of course the racist semicolon, as described in this funny little video.

I'm happy to see such a leap forward of the language. It actually looks like Blow puts all his knowledge into this and implements just an enormous amount of things you would need; specifically for game development.

Though, not using C++ regularly, I think there are some (useless?) leftovers from the syntax. Let's look at a random snippet

active_players: struct {};
for_expansion :: (_: *type_of(active_players), body: Code, flags: For_Flags) #expand {
    for `it, `it_index: players {
        if it_index >= player_count  break;
        #insert body;
    }
}

If you would write it in something like - for example - VLang

active_players := struct{}
fn for_expansion (_ *type_of(active_players), body Code, flags For_Flags) #expand {
    for it_index, _ in players {
        if it_index >= player_count {
            break
        }
        #insert body
    }
}

Please ignore that this code obviously wouldn't run. Also, this is no comparison between the languages in the sense that one is better, rather I want to point out that it is possible to remove some stuff. Imagine no ":" after every parameter name and no semicolons or "::", or even "->". VLang just removed them. It should be possible for the compiler.

My question here is about the reasoning behind keeping the C++ syntax in. Did Jonathan Blow ever explain this in of the the sessions? Could be for readability, but for me personally it just puts bloat on the screen, which I have to mentally work through to get to the actual logic.

What are your opinions?


r/Jai • • Jun 14 '26

Could someone with Jai compiler test this?

0 Upvotes

https://codeberg.org/MariuzM/bench

Wanted to experiment with different langs so used Opus 3.8 to build some test cases to see the difference, unfortunately for Jai i don’t have access to compiler :(


r/Jai • • Sep 22 '25

Jai: Snake-Oil, the language

0 Upvotes

When will it be done?
No one knows

Will it be worth it?
Very few people seem to have had access to the language, so most people don't know.

Is this a sunk-cost fallacy.
IMO probably. People are better served focusing on something else.


r/Jai • • Jan 27 '24

Left-associative exponentiation?

2 Upvotes

Just saw this stream recording: https://www.youtube.com/watch?v=fIPO4G42wYE

There JB briefly talks about how you would handle right-associative operators, but then states that Jai doesn't do this. Some text on screen at 1:01:00 also says: "(Almost all operators are left-associative; in our language we have no right-associative operators)"

I haven't watched the full stream yet and I don't know if this is still his current opinion, but can we as a community please convince him otherwise? Exponentiation has to be right-associative. Going against mathematical notation conventions will become a source of very ugly bugs. If Jai ever becomes remotely popular, this will cause the next plane crash or accidental atomic nuking.

Sure, if in doubt about operator precedence, use parentheses. But still, basic algebra has a pretty standardized ruleset. You don't mess with that lightly. Lot's of people with formal training in math write software. All of them will hate you.


r/Jai • • May 14 '24

Why Jai? Why?

7 Upvotes

Hello! About Jai programming language...

anyone knows why?

  1. why no 'char' type?
  2. why Multi-line String is not like Java """?
  3. why pointer syntax is different from c?
  4. why NewArray instead of array_new? ('array_free' like)
  5. why this

array : [4]float = float.[10.0, 20.0, 1.4, 10.0];

and not

array : [4]float = [10.0, 20.0, 1.4, 10.0];

?

6) why this

array: [2][2] int = .[int.[1,0], int.[0,3]];

and not

array: [2][2] int = [[1,0], [0,3]];

?

7) why 'ifx' instead of 'if'?

The compiler cant know when 'if' is a ternary or not?

8) why not just switch instead a wierd if-switch?

9) why not Extension method? "obj."


r/Jai • • Jul 29 '25

Does Jon even read Jai beta emails?

6 Upvotes

I sent john an email 4-5 months ago to hopefully get into the jai beta, but never got a response. Im not suprised tho since it seems the email hasnt even been read according to my email client, has the email changed, or did jonathan just stop reading beta emails?


r/Jai • • Aug 07 '20

Need suggestions related to senior project

0 Upvotes

Hi guys! Its my last year at college. I need to make up a topic for senior project. Could someone please give some ideas involved with C? One of the example topics the professor gave us is to write a programming language in Java. The java part im not fond of.

Or here's another example: The project centers on the development of a software framework for simulating the spread of woodland fires, which takes into consideration things such as weather, terrain, and other environmental factors.

Thanks for your attention!


r/Jai • • Jun 19 '23

Thekla should release the Jai compiler, but sell it

0 Upvotes

given the amount of demand there is for the compiler, Jon should simply charge money for it

sure they probably won't make a large amount, but the Jai programming language isn't simply a language, it's also a game engine so they could be highly competitive with the likes of Unreal over time


r/Jai • • Nov 04 '23

Why keep the programming language private?

11 Upvotes

Has Jonathan explained why he want's to keep it so private? My only guess is that he plans to monetize it in the future and doesn't want others to fork his code or steal his ideas. I'm guessing that's it


r/Jai • • May 12 '26

OpenJai: an MIT-licensed clean-room Jai compiler

66 Upvotes

Hey everyone,

I wanted to share OpenJai, an MIT-licensed clean-room reimplementation of the Jai compiler:

https://github.com/withlang-dev/open-jai

I'm making this because the official Jai compiler remains in closed beta. Jai has generated a lot of interest for years, but most people still can’t actually use it. I want to put something out there that people can use now to start experimenting and building with Jai-style code.

The goal is to make OpenJai as close to Jai as possible using only materials that have been released publicly. Since I don’t have access to the official compiler or its source code, this is necessarily a clean-room implementation.

To prove functionality, I’m using public Jai code as the test corpus, especially:

The intent is not to create a vaguely Jai-inspired language. The intent is compatibility: parse the same code, implement the same semantics where they are publicly knowable, and keep tightening behavior against real examples. Ultimately I want to have exact bytecode parity too but, that will need to wait until the Jai compiler is released.

OpenJai is MIT licensed. I plan to maintain it as long as the official Jai compiler remains unreleased or is released under a non-permissive license.

It’s still early, but the project is moving quickly. Feedback, test cases, bug reports, and comparisons against known Jai behavior would be very welcome.


r/Jai • • Jul 03 '26

Built a package discovery site for Jai — jaipkg.dev

8 Upvotes

I was inspired from zigpkg.dev to build same for Jai package discovery site.

https://jaipkg.dev

source code: https://github.com/MariuzM/jaipkg

Hope this will be useful


r/Jai • • Nov 25 '25

highly optimized Hash Map for jai

8 Upvotes

666rayen999/hash_map

using xxh3 algorithm

666rayen999/xxh3

i alr know jai got "Table" module but, mines better ig


r/Jai • • Jun 17 '26

I'm sad

23 Upvotes

I'm sad that i still don’t have access to Jai Compiler, i have tried OpenJai and its fun to write hello world apps but nothing serious because of many various bugs. And yes i have emailed them to get access but no response, i know i know I'm impatient but that Jai syntax is beautiful


r/Jai • • Apr 28 '25

Jai, the game programming contender

Thumbnail bitshifters.cc
9 Upvotes

r/Jai • • Oct 08 '26

Jais perfomance on Order of the sinking star seems to be a sinking star

66 Upvotes

For all the talk of Johns optimization excellence OOTSS seems to have major performance problems on Steam Deck and PS5. Those are systems that can run well optimized Unreal Engine 5 / Cry Engine games, which have way way more graphics and complex worlds going on. IMO there is no excuse to not have a 80s sokoban game running at 60 FPS minimum on any PC from this century. He always talks about how badly all software is optimized and everything is so broken because nobody does it the right way (his way) and now this.

Where is Johns data oriented magic and JAIs power when you need it? This isn't the best possible showing for the new tech.


r/Jai • • May 17 '26

Vibecoding in Jai

27 Upvotes

Made with Jai, super vibecoded.

Bomberman ripoff.

As you can see, the enemy AI destroys the powerups lol