NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Truss: A programming language optimized for agent-written software (github.com)
grahamlee 23 minutes ago [-]
Difficulty: no existing model is trained on Truss. They have been trained on examples of design by contract in other languages (Ada, Eiffel, Java etc) and would do a better job with those and with contract-enforcement rules. Or even with grammar-constrained output and those languages.

Source: I also tried writing an agent-optimized language (for concision and adaptability, not correctness), then I measured.

capv 5 minutes ago [-]
+1. You cannot teach AI a new programming language with prompts. In order to be efficient the language has to be in its "brain", i.e., AI's neural network has to be trained on large number of samples.
rfgplk 36 seconds ago [-]
Incorrect. Models can actually adapt to new syntax quite easily, even with zero training material. Of course that does depend on how truly novel your syntax && constructs are, but generally speaking if you don't deviate too-too far from conventional wisdom you should be fine. My language is quite exotic in fact and frontier LLMs have no trouble writing it, as long as you supply a .bnf file.
pwdisswordfishq 19 minutes ago [-]
Named for having the lifespan of an iceberg lettuce?
phoghed 7 minutes ago [-]
Named for how you have to respond to people at work questioning wtf you’re doing. “We got this bro. Truss”
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 19:35:11 GMT+0000 (Coordinated Universal Time) with Vercel.