TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is anyone designing a programming language specifically for GenAI?

1 pointsby hedayet2 months ago
I’m not a programming language expert, but watching GenAI models stitch together code often feels unnatural. This raises a few questions:<p>1. Should we rethink programming languages for AI-assisted coding? 2. Is there a path toward a language that is both more readable for humans and easier for GenAI models to generate? Has anyone explored this idea, or would it require fundamentally new design principles (as there won&#x27;t be a good stash of human written code already for the models to learn from) ?

7 comments

sargstuff2 months ago
A food for thought. If one combines multiple individual baking&#x2F;cooking receipts not designed to be &#x27;combined&#x27; will that result in same kind of result of one recipt with multiple parts (aka designed as one part, with multiple groups of steps). Taste testing the results, might lead to ideas on how to correct the first &#x27;concatination&#x27; of receipts to &#x27;taste&#x27; more like the &#x27;composite&#x27; recipt.<p>Why would an AI-assisted coding design for the big picture if only has knowledge of one part without concept &#x27;fits into other parts&#x27; to make a whole design.<p>Generating algorithm descriptions and combining the algoithmic descriptions (to smooth&#x2F;normalize the algorithm as a whole) before generating code from algorithm would make things bit less fragmented. (same concept of compiling to intermediate code, then on each individual type of hardware architechture, translating the intermediate code into something runable on particular hardware architechture.)<p>Incomplete specifications cause problems for humans. AI&#x27;s learn from humans. Why would an AI learing from &#x27;incomplete specifications&#x27; infer what the &#x27;correct specifications&#x27; are (without being requested to do such an analysis)?
simne2 months ago
Main problem is not language, but that AI models still not creators but imitators (I mean only deep AI, like LLM, will explain).<p>Yet I read about very simple test - just ask AI to draw glass of wine - it could draw only half-filled glass if trained on half-filled glass and could not grow to higher abstraction, abstract glass from fullness.<p>I don&#x27;t know, what we really need to overcome this limitation, but while it exist it will limit all AI usage.<p>To be more constructive, I think, most practical languages for AI could be something like SQL, mean fully declarative, without any imperative part, so AI will just translate human text to language.<p>So may be solution, some hybrid approach, where human define limits on solution; deep AI is just translator; and some classic optimization technique will generate solution (on HN appeared link on query compiler book, where you could see huge list in contents, and later I&#x27;ll check, before I seen link with list of just all existing optimization approaches).<p>Other possible solution I see, may be some hybrid of deep AI and semantic AI. For semantic AI exists problem that it need to define any possible way, it cannot even hallucinate to create something new.
评论 #43241374 未加载
zahlman2 months ago
It&#x27;s not clear to me <i>how</i> a language would be designed to be easier for GenAI to get right. Python seems like a pretty good target already, given that there&#x27;s a lot of such code in the training data already plus how it reads (with idioms like &quot;for... in...&quot; etc.).
aghilmort2 months ago
Hypertokens define a spreadsheet-esque label-based referential coding environment. HTs can be used in any LLM context to create arbitrary operations as will be shown in the paper. Current expected release is later this month.
jzombie2 months ago
I am using ChatGPT to help me build a language that has a domain-specific use case with non-LLM models. The interpreter is written in Rust and the language resembles a mix of Lisp and SQL.
dtgm922 months ago
I think truly competent ai should be language agnostic in its output, whatever you need
aghilmort2 months ago
There are some existing attempts such as RASP iric