Re:Show HN: The C3 programming language (C alternative langu...
by lerno on Saturday April 05, 2025 @08:37AM
(#43592962)
You could still do it as a userland feature and implement add/sub/mult/div as methods on the type.
[ Parent
| on HN ]
Re:Show HN: The C3 programming language (C alternative langu...
by djmips on Saturday April 05, 2025 @02:05PM
(#43595317)
That never works as well as having it built into the compiler.
Re:Show HN: The C3 programming language (C alternative langu...
by Joshringuk on Saturday April 05, 2025 @08:49PM
(#43598047)
You can define your own "built-ins" types and functions(!) so that should make it indistinguishable.
You can also extend the standard Library from inside your own project, modules are open for extension
Re:Show HN: The C3 programming language (C alternative langu...
by lerno on Sunday April 06, 2025 @06:37PM
(#43605569)
Well, you're free to revive this issue: https://github.com/c3lang/c3c/issues/1451. I'd need a more solid proposal.