r/ProgrammingLanguages • u/Luroqa • Jan 24 '26
Discussion Why don't any programming languages have vec3, mat4 or quaternions built in?
Shader languages always do, and they are just heaven to work with. And tasty tasty swizzles, vector.xz = color.rb it's just lovely. Not needing any libraries or operator overloading you know? Are there any big reasons?
110
Upvotes
View all comments
Show parent comment
7
u/shponglespore Jan 24 '26
What shell scripting languages are you thinking of? All the ones I've used (Unix shells and PowesScript) just treat file names as strings. Even build systems like Make, Ninja, and Bazel lack a special data type for file names.