The originally submitted URL now redirects to the address above. Updating the destination does not change the item’s HN history, Hall membership, or rank.
Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment orderI want to make a few observations about this, and why I found it seemingly less "hacky" than other such attempts: - As I said in an earlier comment, "var" is just a typedef'd "void *". The downside is that libCello code is essentially untyped, but the upsides are that the C preprocessor is now enough to do the processing needed for the rest of the macros in the language, and that you can still mix regular typed C with…
Looking at the code, a great deal of this is non-portable and/or U.B, so I would hesitate to call it C. And I'm not talking about some hypothetical problems, but stuff that should surface quite soon. For example, this is how stack allocations are made: #define alloc_stack(T) ((struct T*)header_init( \ (char[sizeof(struct Header) + sizeof(struct T)]){0}, T, AllocStack)) So far as I can see, there are basically no alignment guarantees here - the returned pointer to the char array is not…
Author here. I always get asked two questions about libCello. 1. Why? 2. Is anyone using it for anything serious? The second one is easiest to answer: no. And most people are suprised to hear that I probably wouldn't use it for anything serious either. If you hadn't noticed from my github page I love C, and while I am also very interested in the things Cello adds such as duck typing and interfaces, and all the syntactic sugar that…
The strategy in the GC for determining the stack top for hunting GC roots will not work on all architectures. On aaarch-64, the address of a local dummy variable may be above a register save area in the stack frame, and thus the scan will miss some GC roots. In TXR Lisp, I used to use a hacked constant on aarch64: STACK_TOP_EXTRA_WORDS. It wasn't large enough to straddle the area, and so operation on aarch64 was unreliable. http://www.kylheku.com/cgit/txr/commit/?id=3aa731546c4691fac... A good…
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 5
- Total points
- 1672
- Total comments
- 542
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2013-05-07 | Higher level programming in C | alvivi | 18 | 1 |
| 2013-07-15 | Cello: Higher level programming in CFirst breakout · Best thread | mntmn | 535 | 157 |
| 2014-12-26 | Cello – Higher Level Programming in C | denysonique | 291 | 65 |
| 2016-06-15 | Cello: High Level C | phantom_oracle | 7 | 1 |
| 2017-01-10 | High-level development in C with libcello | ausjke | 3 | 1 |
| 2017-04-11 | Cello – A library that brings higher level programming to CHall induction | dlsym | 348 | 151 |
| 2020-01-20 | Cello – High Level C | thisisastopsign | 251 | 77 |
| 2022-03-05 | Cello – High Level C | graderjs | 162 | 85 |
| 2024-09-26 | Cello: High Level CLatest 20+ point return | gatane | 57 | 4 |
