Feral
fpm
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.
Feral
-
What instructions are needed for a language vm
I have been working on my own VM (and language) as well and I decided to have only a small set of instructions that I wanted. I finalized on ~25 instructions. You can check them out here - https://github.com/Feral-Lang/Feral/blob/master/include/VM/OpCodes.hpp
fpm
-
Try This Brand New Analog Computer
> more like a floating point ... or more like a fixed-point ... ?
It really depends on what kind of analog hardware you use. Not exactly like either. You would different causes for error: Thermal, inherent indeterminism of interactions, decay/drift of value over time, boundary breaches with values near extrema, etc.
> IMO it is surprising fixed-point values don’t come up more often
The C++ standard committee has seen a paper on adding those to the language, as a library feature: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p00...
There's a kind-of-popular fixed-point-math library for the language:
https://github.com/MikeLankamp/fpm
and I'm sure they have received some attention in other languages.
-
Rust be like
[1]: https://github.com/MikeLankamp/fpm/blob/master/docs/performance.md
-
Convert integer to floating point string without doing any floating point operations
It is a header only library, all you need to do is include the 3 hpp files in https://github.com/MikeLankamp/fpm/tree/master/include/fpm
What are some alternatives?
yaal - Yet another abstraction layer - a general purpose C++ library.
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
gta5view - Open Source Snapmatic and Savegame viewer/editor for GTA V
cnl - A Compositional Numeric Library for C++
Ark - ArkScript is a small, fast, functional and scripting language for C++ projects
libcudacxx - [ARCHIVED] The C++ Standard Library for your entire system. See https://github.com/NVIDIA/cccl
fundot - The Fundot programming language.
monero-lws - Monero Light Wallet Server (scans monero viewkeys and implements mymonero API)
tails - A fast, minimal Forth-like interpreter core in C++ with no assembly
grand-unified-divisibility-rule - One divisibility rule for all numbers
nsis - ***This is just a mirror of https://sf.net/projects/nsis -- please report issues there*** NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.
ccom - ⚙️ Compiler for the CCom (Conditional Comments) language