News for hackers. Stuff that matters.
Re:An usable and maximally efficient C standard library by samsquire on Monday December 04, 2023 @06:14PM (#38524572)
Thank you for this.

I really enjoy C (I'm a beginner).

Segmentation fault.

I should probably be using Rust. I really like how C maps to the machine and I find the semantics simple to understand compared to type systems.

The semantics of this library and lodash and other functional JavaScript patterns could probably be mapped to something that resembles a database query engine for general data structure traversal. Then the computer can work out how to allocate memory and what traversals are faster. And what traversals or queries are equivalent, a bit like Prolog. Every program is a compiler :-)

The boilerplate in C such as hashmaps, async, event loops, libuv, visitor pattern, indirection and so on I haven't yet wrestled with much yet.

There are no comments on this comment yet.