ncmv92
ncmv92 on Hacker News
Continue from the development of castle version 1.0, the next version goes standalone with no STL dependency. Please check it out and share your opinion. Thank you.
Posted by
ncmv92 on Sunday April 12, 2026 @03:41AM
from the github.com dept.
Posted by
ncmv92 on Sunday April 12, 2026 @03:40AM
from the github.com dept.
Posted by
ncmv92 on Monday February 02, 2026 @10:04AM
from the github.com dept.
https://libeventcpp.sourceforge.io/LibEventCpp is a lightweight and portable C++14 library for event-driven programming. Implemented in a single header file for easy integration.
Features:
- Message event handler: Asynchronous message queue with event looper
- Signals and slots: Type-safe callback connections (Qt-style)
- Time events: POSIX timers with callback support
- Once events: Execute callbacks conditionally (once per life, N times, value change, interval)
- Toggle events: One-shot triggers with reset capability
- File descriptor events: Monitor file descriptors using poll()
- Signal events: POSIX signal handling wrapper
- File system events: Monitor file system changes using inotify (Linux)
beej was also a great place to take the first steps in network programming :) I just updated my reference list. This is one of my missing piece. Thank you for the reminder.
Posted by
ncmv92 on Sunday January 19, 2025 @07:13AM
from the github.com dept.
In my opinion, Linux network programming, especially socket programming, isn’t that difficult. However, learning this topic on your own can be challenging because many online resources are unclear, and sample codes often only cover the basics. You might find yourself unsure of what to do next. That's why I created this tutorial. It aims to give you clear guidelines and plenty of examples to help you understand better.
The Linux IPC feature provides the methods for multiple processes to exchange data and signals.
This guideline will introduce to you various IPC techniques, including File Locking, Pipe, Signal, Semaphore, Message Queue, Shared Memory, and Socket.
Each technique has its unique use cases and advantages.
Posted by
ncmv92 on Friday January 17, 2025 @11:23PM
from the github.com dept.
Posted by
ncmv92 on Friday January 17, 2025 @03:36AM
from the github.com dept.