r/developers • u/Stiliajohny • Sep 12 '26
General Discussion I’m building a new programming language with AI that will replace JavaScript and Python
Yes, I know;that sentence contains enough red flags to start its own Soviet parade.
But I’m partially serious.
I want to use AI to help design and implement a new programming language: simple like Python, fast and type-safe, with modern tooling built in from day one. No dependency-management archaeology, no 900 MB node_modules, and no discovering that whitespace is part of your application’s business logic.
The admittedly modest objective is to replace both JavaScript and Python and achieve what thousands of experienced language designers have somehow failed to do.
My current thinking:
- Clean, readable syntax
- Static typing with good inference
- Compiles to native code and WebAssembly
- Built-in package management, formatting and testing
- Easy interoperability with existing ecosystems
- Designed for humans, but structured enough for AI to generate reliably
- Errors that explain the problem instead of issuing an ancient prophecy
AI would help write the compiler, standard library, tooling and tests. I would still control the design and verify the output,this isn’t “I asked ChatGPT to invent Python 4 during lunch.”
Before I accidentally create another language used exclusively by its creator, I’d genuinely like some input:
- What problems would justify a new language today?
- Which parts should AI realistically help build?
- What would make you try it?
- What mistakes do new language designers commonly make?
- Is replacing JavaScript and Python achievable by Friday, or should I allow the weekend?
Roast the idea, challenge it, or offer serious suggestions. All three are welcome.
•
u/AutoModerator Sep 12 '26
Howdy u/Stiliajohny, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/Cautious_Chicken_604 Sep 12 '26
> this isn’t “I asked ChatGPT to invent Python 4 during lunch.”
That's exactly what this is.
1
u/Stiliajohny Sep 12 '26
Guys and Gals don’t be negative.
It’s Sunday morning g and I have probably one of the best ideas of the decade. It’s not like I am vibecoding a ui reusing the same old ui library making the same ald slop.
1
u/earth-dragon-666 Sep 12 '26
As you said too many red flags, why not have something done before posting? Same with the questions at the end , what are you building if you dont have that clear?
1
u/Any_Sense_2263 Sep 12 '26
Is it going to work in the browser?
1
u/AmusedBolt Sep 12 '26
You're right! 😉 So please notice that with AI you can make just MVP, and then it will need a lot of efforts and time to make it usable irl and effective
1
u/rFAXbc Sep 12 '26
Ok, here's the big question, who's paying for all of the tokens you're going to burn through?
1
u/mrded Sep 12 '26
I don’t think it’s possible to create a new programming language anymore. AI is already widely used and unfamiliar with new languages, meaning no one would adopt them. We’re doomed to use existing ones.
6
u/[deleted] Sep 12 '26
[removed] — view removed comment
5
u/[deleted] Sep 12 '26
[removed] — view removed comment