Awesome Open Source
Awesome Open Source

Melon logo

Melon

中文说明

Melon is a C library for simplifying-development. It includes many data structures, algorithms, architectures and many other useful components.

  • Data structure
    • Doubly linked list
    • Fibonacci heap
    • Hash table
    • queue
    • Red-black tree
    • stack
  • Algorithms
    • Encryption algorithm: AES, DES, 3DES, RC4, RSA
    • Hash algorithm: MD5, SHA1, SHA256
    • Base64
    • Large number calculation
    • FEC
    • JSON
    • Matrix Operations
    • Reed Solomon coding
    • Regular matching algorithm
    • KMP
    • Cron format parser
  • Components
    • Error code management
    • Memory pool
    • Thread Pool
    • I/O Thread
    • Data link
    • TCP encapsulation
    • Event mechanism
    • File cache
    • HTTP handling
    • Scripting language
    • Lexical analyzer
    • Parser generator
    • Websocket
  • Scripting language
    • Preemptive coroutine language - Melang
  • Framework
    • Multi-process model
    • Multi-thread model
    • Trace Mode

You can pick some components or framework based on your demand.

On Windows, framework can NOT be activated, but other components still working.

Installation

On Windows, please install mingw, git bash and make at first. Install MingW-W64-builds with the installation settings:

  • Version: 8.1.0

  • Architecture: i686

  • Threads: posix

  • Exception: dwarf

  • Build revision: 0

Then execute these shell commands on git bash or terminal (on UNIX).

git clone https://github.com/Water-Melon/Melon.git
cd Melon
./configure [--prefix=LIB_INSTALL_PATH]
make
make install

License

BSD-3-Clause License

Copyright (c) 2014-present, Niklaus F. Schen

Document

Please refer to Github Pages for more details.

中文文档请参考:中文指南

Docker

You can pull the built container image to deploy the running environment.

docker pull melonc/melon
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
C (189,870
Json (39,751
Algorithms (37,818
Http (30,250
Websocket (14,131
Unix (12,911
Thread (12,392
Data Structures (10,028
Regular Expression (8,847
Multithreading (2,132
Base64 (1,508
Md5 (1,407
Thread Pool (965
Multiprocessing (868
Sha256 (857
Sha1 (738
Multi Process (150
Reed Solomon (80
Cipher Algorithms (73
Memory Pool (25
Melon (12