mio
Mongoose
mio | Mongoose | |
---|---|---|
8 | 32 | |
1,631 | 10,626 | |
- | 1.4% | |
0.0 | 9.6 | |
3 months ago | 1 day ago | |
C++ | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mio
-
Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
As simple and clean example you can see https://github.com/mandreyel/mio readme.md
- Why are people willing to pay 100$ a year for an IDE?
-
How to parse two int values per line from a char* array from memory map
I loaded a 7Gb file into a memory map using the mio header file. The mmap variable is a char* array. I used a short file since this is my first time attempting a memory mapped file. This is the text2.txt file
-
Using mio header file to read in large file
I am using this mio header file and attempting to read in a 7GB file. This is taking a long time to execute so I stop the execution. I am reading in a small file just to test this out.
-
Reading a 7GB file into memore using mio.hpp header
A great fellow redditor showed me this memory mapping header file to read in large files. This is how I am using it with a syntax error.
- File Handling in C++
-
Fastest way to read very large file(Gb to Tb) in C++
I would memory map it. Use this lib: https://github.com/mandreyel/mio
Mongoose
-
Coroutines in C
I've found myself at this webpage multiple times while trying to minimize the complexity of APIs in my C projects.
My conclusion for now is that C coroutines are something to be left to the implementer. For example: Mongoose (https://github.com/cesanta/mongoose) uses event callbacks to deal with asynchronousness. It is much more pleasant to wrap a library like this in whatever thread/task primitives your system has rather than try to integrate the mythical cross-platform c couroutine.
-
BCHS stack: BSD, C, httpd, SQLite
I remember using mongoose 15 years back. Today i would have considered mongoose(10k+ stars) which is also a mature c/c++ web server[1] if not the licence.
https://github.com/cesanta/mongoose/tree/master/examples
- New scalable, fault-tolerant, and efficient open-source MQTT broker
- Eu não tinha nada melhor pra fazer, aí comecei a escrever um servidor HTTP em C do zero usando winsock.
-
Experience using crow as web server
Alternatives at the low to medium level of abstraction include civetweb and mongoose, which have a common ancestor. Both of these appear to be C rather than C++, but seem to be production quality and well-documented. Another C library is cpp-httplib, which is probably too low-level for me.
-
libonion or libhttpserver for embedding a webserver in a small application?
Since this is only going to be used internally would Mongoose be worth considering?
-
Selling proprietary library
Here’s an example: https://mongoose.ws/
- [Cpp] Quelle bibliothèque de serveur Web C++ faut-il utiliser de nos jours ?
- How to serve exactly 1 HTML file and 1 JavaScript file, then exit the program?
-
What C source code or library do you use for a local server?
If you are looking for something simple there is mongoose from cesanta, https://github.com/cesanta/mongoose
What are some alternatives?
hana - Your standard library for metaprogramming
libwebsockets - canonical libwebsockets.org networking library
llfio - P1031 low level file i/o and filesystem library for the C++ standard
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
filesystem - An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD.
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
robin-hood-hashing - Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
POCO - The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
Lyra - A simple to use, composable, command line parser for C++ 11 and beyond
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
prelockd - Lock executables and shared libraries in memory to improve system responsiveness under low-memory conditions
SteamVR-for-Linux - Issue tracker for the Linux port of SteamVR