3 ms·
Sigh. I'm pretty sure I could add lock free queues to C without changing the syntax. lockfree_enqueue(queue, whatnot); whatnot = lockfree_dequeue(queu
by tedunangst 17y ago
Sigh. I'm pretty sure I could add lock free queues to C without changing the syntax.
lockfree_enqueue(queue, whatnot);
whatnot = lockfree_dequeue(queue);
Looks just like all the rest of my C code. The part of me that wants to learn lisp dies a little every time I read one of these "look how awesome lisp is" comments because I'm afraid I'll end up spouting such nonsense.
- zachbeane 17y agoIt's easy to add new things to Lisp and C when the interface looks mostly like function invocation. It's easier to extend Lisp with things that aren't a lot like function invocation, because C syntax and the C preprocessor don't work together as well as Lisp syntax and Lisp macros. I wouldn't worry much about spouting nonsense when you learn new things unless you're prone to that already.