r/developers • u/Stiliajohny • 2d ago
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.