Re:TinyCompiler: A compiler in a week-end
by pjmlp on Friday February 21, 2025 @02:06AM
(#43124867)
Circle frontend, that includes all C++17 (when it was current) and the Rust related extensions, was implemented by a single guy.
[ Parent
| on HN ]
Re:TinyCompiler: A compiler in a week-end
by sitkack on Friday February 21, 2025 @02:47AM
(#43125117)
Relativity was discovered by a single guy.
Which confirms complex matters aren't an issue, being able to handle them might be.
Re:TinyCompiler: A compiler in a week-end
by sylware on Friday February 21, 2025 @07:28AM
(#43126713)
wrong, point missed by miles away.
Maybe, "normal"/"average" devs would help you to get the point.
Those can keep up with Go, as per the language authors point of view regarding target audience.
Re:TinyCompiler: A compiler in a week-end
by sylware on Friday February 21, 2025 @06:27PM
(#43134374)
AI????
Re:TinyCompiler: A compiler in a week-end
by ninalanyon on Friday February 21, 2025 @08:56AM
(#43127456)
Not really. Relativity goes back to Galileo at least, and it's development by Einstein relied on Lorentz and Riemann among others. Science really is a process of /standing on the shoulders of giants/ as Newton is reputed to have said.
That doesn't diminish Einstein's achievement of course.
Re:TinyCompiler: A compiler in a week-end
by sitkack on Friday February 21, 2025 @11:02AM
(#43129050)
I made a facetious comment to parry that of pjmlp, whom also made a facetious comment wrt to compiler complexity and what "one person" can do.
https://github.com/seanbaxter/circle
It is like if one tried claiming that Fabrice Bellard was an example of a median dev.
The number of C++ compilers written by one person is one. And because of this, it gives us no predictive power in what pjmlp was trying to assert.
I agree with you, Albert and Lorentz and Riemann got caught in the rhetorical crossfire.
Re:TinyCompiler: A compiler in a week-end
by mingodad on Friday February 21, 2025 @11:56AM
(#43129874)
Not exactly the same but here https://github.com/robertoraggi/cplusplus there is one person serious effort to create a C++-23 compiler front end.
Re:TinyCompiler: A compiler in a week-end
by fuhsnn on Friday February 21, 2025 @01:00PM
(#43130740)
It does look serious, and is able to parse one simple case I got at hand that openwatcom and orangec failed, thanks for bringing it up.
Re:TinyCompiler: A compiler in a week-end
by sylware on Friday February 21, 2025 @07:38AM
(#43126783)
You mean Circle can output correct intermediate code for the latest gcc code? Or valve mesa aco code?
That frontend plugs into LLVM for the IR to machine code part, no need for GCC.
It replaces clang, it is not a fork of it.