GithubHelp home page GithubHelp logo

gdavidbutler / pthreadchannel Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 381 KB

Yet another implementation of a "channel" construct for pthreads

License: GNU Lesser General Public License v3.0

Makefile 0.69% C 99.31%
csp pthread channel

pthreadchannel's Introduction

Welcome

Below are collections of code I've published to allow me to use at companies I've worked with/for without losing my intellectual property.

I've been a professional computer programmer since the late '70s. I read about UNIX and the C programming language and looked for a way to use them. After purchasing a micro computer in the early '80s that included them, I was hooked. And, now, so is most of the computing world.

C is: mature, stable and ubiquitous. Often described as a portable assembly language, C translates directly to processor instructions and is: fast, small and efficient. Why program a computer in any other language? Is C too close to the processor?

You will find a couple of repositories that take full advantage of the closeness (the callback parsers). They have no dependences (not even on the standard C library). They are pure C functions that get down and dirty to rip through CSV, XML and JSON.

There is a repository that significantly simplifies multi-thread programming in C. Exploiting POSIX threads, channels enable a style of programming that is common in newer programming languages. And uncommon features, like lazy evaluation.

And, as C operations map to instructions, C structures organize memory for efficient access. Processing rich information is possible but tedious, at best. There is a much better language for handling data. The SQLite library is an indispensable tool for the C programmer. Declarative programming for data rich C! A couple more repositories marry the XML and JSON callback parsers with SQLite to provide DOM capabilities.

Lastly, C is an imperative language. Implementing dynamic execution is possible but tedious, at best. There is a much better language for handling dynamic execution. The CLIPS library is another indispensable tool for the C programmer. Declarative programming for dynamic C! There is a repository that marries data rich SQLite with dynamic CLIPS.

Enjoy!

pthreadchannel's People

Contributors

gdavidbutler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

junftnt

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.