jsvar
kcgi
Our great sponsors
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.
jsvar
-
Newbie here, is it possible to use c for website backend ? And what framework?
I discovered this recently : https://github.com/Marian-Vittek/jsvar
-
µWebSockets VS jsvar - a user suggested alternative
2 projects | 18 Jul 2022
JSVAR - a C library for web GUIs with websockets.
- JSVAR: a fresh lightweight C library for very easy creation of live web GUIs. Easy to understand open source code, MIT license.
kcgi
-
Newbie here, is it possible to use c for website backend ? And what framework?
You can use KCGI to use C or C++ as a FastCGI backend.
-
New embedded programming language with C as a host language
I like the premise of embedded generating inline c. Kinda like php for c, rather than html
I'm not sure of custom BNF per generating command. I notice they're mostly order independent, which makes it a little easier to learn, but what's the advantage over c syntax? Is it roughly that pointers etc are impossible. Maybe a c-esque syntax would be more learnable
How does the existing syntax compose, i.e. can the user run away with writing tcl-style scripts
If you don't get a lot of feedback, I would guess it is inpart due to custom syntax being an entry barrier to understanding
I don't know, I think html is easy, so people want power with php. On the other hand c is powerful and hard, by the time I'm using that, does Vely's custom syntax give me more than a set of convenient c library calls... such as https://kristaps.bsd.lv/kcgi/
In any case, I like the apis, and I think the premise has legs
-
Seriously, why is everyone doing the same thing nowadays?
It's not that hard, I use kcgi.
-
BCHS: OpenBSD, C, httpd and SQLite web stack
The C library used (https://github.com/kristapsdz/kcgi) is portable and working on linux as well. Putting this behind nginx as fastcgi seems very well doable.
What are some alternatives?
Websocket - WSServer is a fast, configurable, and extendable WebSocket Server for UNIX systems written in C (C11).
awesome-c - A curated list of awesome C frameworks, libraries, resources and other shiny things. Inspired by all the other awesome-... projects out there.
paho.mqtt.embedded-c - Eclipse Paho MQTT C client library - enhanced and less brittle fork with SSL and WebSocket support, a modernized build system, CI and bug fixes
bdwgc - The Boehm-Demers-Weiser conservative C/C++ Garbage Collector (bdwgc, also known as bdw-gc, boehm-gc, libgc)
MinnowServer - A super small and fast embedded HTTP(S) WebSocket server
nimOnAVR - Nim language test program for Arduino UNO/Nano or its compatibles
webfsd - A simple HTTP server for mostly static content written in C
nim-on-samd21 - Template for programming Microchip SAM D21 MCUs with Nim
facil.io - Your high performance web application C framework
SDS - Simple Dynamic Strings library for C
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
svd2nim - Convert CMSIS ARM SVD files to nim register memory mappings