Viewing profile — fuhsnn
fuhsnn
HN member- Joined
- Sun, Aug 04, 2024, 8:59 PM UTC
- HN karma
- 561
- Public activity
- 204 items
- HN profile
- View on Hacker News ↗
About fuhsnn
No profile information was provided.
Recent public activity
-
comment
Comment #49077967
These look more like configure snapshots for Zig's bundled Clang than full ports of build system. The HAVE_/WITH_ defines are supposed to be dynamically probed to adapt to differen…
-
comment
Comment #48280730
It did take many hours, but I learnt a lot in the process, found some bugs to report, and watched plenty of series concurrently. Overall it's a nice and worthwhile hobby!
-
comment
Comment #48268732
For those who are making indie C compilers that don't pretend to be __GNUC__ but want to compile real world projects, slimcc's test script[1] and platform header hacks[2] might sav…
-
comment
Comment #48265565
> IMHO this "schism" was completely unnecessary and only happened because of ignorance and hubris Having attempted to implement it correctly in slimcc, there are indeed some edge c…
-
comment
Comment #48264372
> The sad vicious cycle of compilers not exercising the hardware There could theoretically be instruction selection passes that are biased toward rare instructions, specialized for…
-
comment
Comment #48066451
The page says "aims to provide 70%" though, funny how words spread.
-
comment
Comment #48065693
There is a library conversion fork: https://github.com/sgraham/sqbe . IMO when the intended usage is AOT with an external assembler, which is another subprocess, text-based IO is a…
-
comment
Comment #48054185
Some of us do spend hours on godbolt.org tweaking code like it was game character build.
-
comment
Comment #47944096
That read like a supply-chain attack gold mine if you ask me.
-
comment
Comment #47944075
rcc[1] is another real-JIT C compiler. antcc[2] and xcc[3] are worth mentioning for being fast-enough to run C like scripting. [1] https://github.com/dstogov/rcc [2] https://codebe…
-
comment
Comment #47874425
Looking at the repo, the author seemed a little fed up [1] with the nature of lower level language and quitted. [1] https://github.com/asibahi/paella/blob/main/writeup/c19.md#u...
-
comment
Comment #47852356
Yeah, to get arcane macro tricks right I probably spent more than a full month total fighting with linked lists, never want to touch that part again.
-
comment
Comment #47846021
Can't speak for kefir; slimcc has been `make unittest`ing Neovim v0.10.4 with no source modification in a Debian VM (so it's pretty portable, thanks!) On tcc, the most common dealb…
-
comment
Comment #47845133
c-testsuite itself was curated from simple-cc and tinycc's test files, the latter originated from picoc.
-
comment
Comment #47843925
I have found portability bugs in many projects with slimcc just because it exposed different preprocessor defines, some gate critical __attribute__ behind __GNUC__ check, some have…
-
comment
Comment #47843574
Congrats for the new optimizing pipeline, and thanks for the acknowledgment! It's nice to have company in the non-__GNUC__ camp.
-
comment
Comment #47791444
TinyCC's mob branch on repo.or.cz just got trolled with AI commits today. Nowhere is safe it seems.
-
comment
Comment #47787189
I don't fully grasp it either, the most appropriate analogy I can think of is like how OpenMP turns #pragma annotated loops into multi-threading, this work turns bytecode interpret…
-
comment
Comment #47786781
Took me a while to figure out whether it's interpreters for C programs or if there's a particular class of interpreters called "C". Turns out it's about interpreters implemented in…
- comment
-
comment
Comment #47761062
The website you linked says mallocng?
-
comment
Comment #47759633
Don't get mimalloc and mallocng mixed up though, completely different animals.
-
comment
Comment #47624441
Thanks, that actually look like a very solid baseline to start things with. Are you aware of onramp[1]? They use a custom VM to base compiler and shell on, it's extra steps, but co…
-
comment
Comment #47623523
Well, I happen to have been recreationally maintaining a hobbyist C compiler for three years, adding tests is part of the fun.
-
comment
Comment #47622859
> It does make it a little hard to understand Or much easier to backdoor...