Code Monkey home page Code Monkey logo

fracture's Introduction

Fracture

General Overview

Fracture is a lightweight modernization framework for C targeted at web development. Fracture enables developers to build modernized C applications geared toward web systems. The framework is designed to be compatible with WebAssembly or Javascript applications.

Fracture can be used in conjuction with Kore (https://kore.io/) to build robust C frontend and backend applications.

WASI (https://github.com/WebAssembly/WASI) server side bindings are planned and we would love to have contributions for a WASI server.

Setup & Building

Dependencies

Installation Steps

Follow each dependencies directions:

  1. Install Emscripten
  2. Install Clibs
  3. Install Node.js
  4. Install NPM
  5. Install Taildwind CSS

Build Webc client

From the root directory

make all

To clean up

make clean

Contributing

To contribute please fork a copy of the repo make changes and open a Pull Request. Any and all Pull Request will be reviewed and either added or discussed.

fracture's People

Contributors

phoenixpinpoint avatar

Stargazers

Pablo avatar

Watchers

 avatar

Forkers

droughtrye

fracture's Issues

Request Module

Feature: REQUEST Module

Build a HTTP Request Struct and Library for containerizing and managing requests.

DEPENDS ON:

GET Request

Feature: HTTP Method GET

Build a wrapper around the libcurl API for HTTP GET

DEPENDS ON: REQUEST and RESPONSE structs

ADD_HEADER realloc causes memory leak

HTTP Client: HEADER and HEADERS
...Setting up HEADER h1
...Setting up Inital Values of HEADERS headers
...Calling ADD_HEADER
...Checking headers length is 1
...Checking headers[0] value and h1 value are equal
...Checking GET_HEADER_BY_INDEX value and h1 value are equal
...Setting up HEADER h2
...Calling ADD_HEADER
...Checking headers length is 2
...Checking headers[1] value and h2 value are equal
...Checking GET_HEADER_BY_INDEX value and h2 value are equal
...Checking GET_HEADER_BY_KEY value and h1 value equal
...Checking GET_HEADER_BY_KEY value and h2 value equal

==209==
==209== HEAP SUMMARY:
==209== in use at exit: 1,943 bytes in 59 blocks
==209== total heap usage: 1,440 allocs, 1,381 frees, 175,562 bytes allocated
==209==
==209== 64 (32 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 42 of 47
==209== at 0x483AD7B: realloc (vg_replace_malloc.c:834)
==209== by 0x10AC98: ADD_HEADER (in /home/aguthrie/code/WebC/tests/build/check_http)
==209== by 0x10BB4B: test_headers_fn (in /home/aguthrie/code/WebC/tests/build/check_http)
==209== by 0x10F79C: srunner_run_tagged (in /home/aguthrie/code/WebC/tests/build/check_http)
==209== by 0x10C9CE: main (in /home/aguthrie/code/WebC/tests/build/check_http)
==209==
==209== LEAK SUMMARY:
==209== definitely lost: 32 bytes in 1 blocks
==209== indirectly lost: 32 bytes in 2 blocks
==209== possibly lost: 0 bytes in 0 blocks
==209== still reachable: 1,879 bytes in 56 blocks
==209== suppressed: 0 bytes in 0 blocks
==209== Reachable blocks (those to which a pointer was found) are not shown.
==209== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==209==
==209== For lists of detected and suppressed errors, rerun with: -s
==209== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.