pl_mpeg
cdecl
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.
pl_mpeg
-
Finally. Embed
You can get some IDE support with a simple preprocessor macro[1].
It's a crutch, but at least you don't need to stuff the shader into multiple "strings" or have string continuations (\) at the end of every line. Plus you get some syntax highlighting from the embedding language. I.e. the shader is highlighted as C code, which for the most part seems to be close enough.
[1] https://github.com/phoboslab/pl_mpeg/blob/master/pl_mpeg_pla...
-
Video Codecs and 4k
> MPEG is not free. A license is required for using MPEG.
For MPEG-1 this is not true anymore. All patents have expired. It's also far less computationally expensive and easier to implement/integrate than more modern codecs. This makes MPEG-1 a "good enough" solution for (e.g.) short video clips in a game.
Disclaimer: I wrote pl_mpeg[1], so my opinion is biased.
[1] https://github.com/phoboslab/pl_mpeg
cdecl
- Finally. Embed
-
Show HN: Nimwave – build TUIs for the terminal, web, and desktop
https://github.com/elcritch/cdecl/blob/ee3b06f52e666b2a854eb...
I also found that `useState` pattern from React with the variant library a handy pattern: https://github.com/yglukhov/variant and it’s pretty simple to do if you already have a context object: https://github.com/elcritch/fidgetty/blob/f65876af34797f308b...
Sorry for the link spamming, I just find the overlap of UI state management without OO interesting!
What are some alternatives?
incbin - Include binary files in C/C++
nimwave - TUIs for the terminal, desktop, and web
nimscripter - Quick and easy Nim <-> Nimscript interop
fidgetty - Widget library built on Fidget written in pure Nim and OpenGL rendered
pyker - Python tool to convert files from a directory tree into a C header file.
vim_cubed - Vim rendered on a cube for no reason
execfs - Proof of concept userspace filesystem that executes filenames as shell commands and makes the result accessible though reading the file.
variant - Variant type and type matching for Nim
stb - stb single-file public domain libraries for C/C++
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.