htcpp | emsdk | |
---|---|---|
4 | 39 | |
10 | 2,836 | |
- | 0.8% | |
5.5 | 7.9 | |
about 1 year ago | 10 days ago | |
C++ | Python | |
- | GNU General Public License v3.0 or later |
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.
htcpp
-
Caddy is the first and only web server to use HTTPS automatically and by default
I'm always a bit bothered by them saying they are the "only" web server that can do this. First you can also just configure it in a way where it will not use HTTPS (e.g. if you provide an IP:port instead of a hostname). And if you do require specific configuration to enable HTTPS and automatically get certificates via ACME, then lots of other web servers can do this too. Even my own web server can do it: https://github.com/pfirsich/htcpp (see https://github.com/pfirsich/htcpp/blob/main/configs/acme.jom... for an admittedly much more complicated config).
-
Introducing co-uring-http, an HTTP server built on C++ 20 coroutines and `io_uring`
Cool stuff! I am currently converting my io_uring based HTTP server (https://github.com/pfirsich/htcpp) to using coroutines as well, so this is cool to see. (WIP library here: https://github.com/pfirsich/aiopp)
-
http sever testing tool
I recently built an HTTP(S) server myself (https://github.com/pfirsich/htcpp) and did not find something like you are looking for. If you also don't find anything (but please link it if you do!), consider just running your server on a publicly accessible VM and listening on port 80 and you will be bombarded by various people trying to break in. Most of it will be useless, like checks for unprotected phpMyAdmin and stuff like that, but I did find a few bugs that way. I even found some TLS issues (of course listen on 443 instead).
-
Who is using C++ for web development?
I am serving static HTML from a web server, which I have built myself using C++: https://github.com/pfirsich/htcpp. I am not sure if that even counts, but I'm kind of proud of it. And I use it to serve my personal website: https://theshoemaker.de.
emsdk
- Software Applications Incorporated
-
How does one get started with unit testing?
One place that I’ve found some real, open source unit tests to look at for an example is in the emsdk for emscripten: https://emscripten.org
-
godot 4.2 apksigner returned with error #2
Your default path was set by emsdk, given where the path is pointing. Your modified path is the path the installer linked in the Godot docs sets, just typically that kind of stuff doesn't override existing variables. This is a good thing to keep in mind in general as if you end up having to use a different version for something else in the future and just install it expecting the installer to update it for you, you will likely run into the same issue.
-
WebAssembly: Building GUI for C++ libraries with Embind
Emscipten C/C++ to WebAssembly compiler.
-
Playing with low-level memory in WebAssembly
I am playing around with Emscipten which wraps around clang to compile C/C++ code in WASM binary and provide some glue-code API to embed WASM binary into JavaScript. Look into MDN Docs and Emscripten SDK to get started.
-
Is there any alternative other than JavaScript to deal with web frontend?
Elm is a different approach that compiles into JavaScript. In the extreme case, you have Emscripten which will compile many language into JavaScript but will feel really clumsy compared to using JavaScript in a lot of cases.
-
What's the "modern" way of creating a native addon for Node.js?
https://emscripten.org/ ?
-
SQLite builds for WASI since 3.41.0
SQLite is a pretty popular database and it's a critical dependency for many different applications. By compiling it to Wasm32-wasi, you can add it to any WebAssembly module.
This enables a new set of possibilities for Wasm and SQLite. For example, now you can run a full WordPress application in the browser [1][2] / server [3] using the same Wasm module. Note that for the browser these projects use Emscripten [4], but in the future the same Wasm32-wasi module will work.
In general, any environment that includes a wasm runtime can potentially run applications that uses SQLite under the hood. Before, it wasn't possible.
- [1] https://wordpress.wasmlabs.dev/
- [2] https://developer.wordpress.org/playground/demo/
- [3] https://wasmlabs.dev/articles/running-wordpress-with-mod-was...
- [4] https://emscripten.org/
-
Noob question: Between WebGL, OpenGL ES and emscripten, what is the recommended usage and relationship between them for creating an interactive browser based graphics app?
The emscripten interface for the assimp library. It runs entirely in the browser, and allows you to import 40+ 3D file formats and access the result in JSON or glTF format. This is not a full port of assimp, but an easy to use interface to access it's functionality.
-
Website with Godot?
Three.js is written in JS and loads like a JS library on a modern website. Godot is a binary application transpiled to WASM (with the help of emscripten), resulting in a pretty large initial payload. Godot provides JS integration, but it feels less "native" with its layers of abstraction.
What are some alternatives?
Wt - Wt, C++ Web Toolkit
pyscript - Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2
TreeFrog Framework - TreeFrog Framework : High-speed C++ MVC Framework for Web Application
WASI - WebAssembly System Interface
bittyhttp - A threaded HTTP library for building REST services in C.
itk-wasm - High performance spatial analysis in a web browser, Node.js, and across programming languages and hardware architectures
co-uring-http - High performance HTTP server built on C++20 coroutines and io_uring
website - WebAssembly website
aiopp - Asynchronous IO for C++20
webaudio-examples - Code examples that accompany the MDN Web Docs pages relating to Web Audio.
userver - Production-ready C++ Asynchronous Framework with rich functionality
tictactoe-game-wasm - This is a simple example for creating your first game in web assembly. The logic for this tic-tac-toe game is written in C++.