Foundationallib Features
Functional Programming Features - map, reduce, filter,
List Comprehensions in C and much more!
Expands C's Primitives for easy manipulation of data types such as Arrays, Strings, Dict
, Set
, FrozenDict
, FrozenSet
- and enables easy manipulation, modification,
alteration, comparison, sorting, counting, IO (printing) and duplication of these at a very comfortable level -
something very, very rare in C or C++, all without any overhead.
More comfortable IO - read and write entire files with ease, and convert
complex types into strings or print them on the screen with ease.
A powerful general purpose Foundational Library - which has anything and
everything you need - from replace_all()
to replace_memory()
to find_last_of()
to
to list_comprehension()
to shellescape()
to read_file_into_string()
to
string_to_json()
to string_to_uppercase()
to to_title_case()
to read_file_into_array()
to read_files_into_array()
to map()
to reduce()
to filter()
to list_comprehension_multithreaded()
to frozen_dict_new_instance()
to backticks()
- everything you would want to make quick and optimally efficient C programs, this has it.
Helps to make programs hundreds of times faster than other languages with similar ease of creation.
Easily take advantage of CPU cores with list_comprehension_multithreaded().
You can specify the number of threads, the transform and the filter functions, and this will transform your data - all in parallel. Don't have a multithreaded environment? Then disable it (set the flag).
You don't want to be reinventing the wheel and hoping that your memory allocation is secure enough - and then failing. Security Is Paramount.
You don't want to be waiting a day for an operation to complete when it could take less than an hour.
This library is founded on very strong and unequivocal goals and philosophy. In fact, I have written many articles about the foundation of this library and more relevantly the broader context. See the Articles folder - for some of the foundation of this library.
This library is an ideal and a dream - not just a Software Library. As such, I would highly suggest that you support me in this mission. Even if it's different from the status quo. Are you a Rust or Zig fan? Then make a Rust or Zig version of this ideal. Let's go. Give me an email.