https://github.com/false-schemers/sharpF/blob/master/example...
> #F (Sharp-F or False) is a portable compiler/runtime for a minimalistic subset of the Scheme programming language. Compatibility with R5RS/R7RS Scheme programs is provided in a form of libraries written in #F itself.
Is there #FIOF?
> Opposing them, minimalist cadre under the austere guidance of Aubrey Jaffer maintained that genuine Scheme purity could only be realized through strict, isolated, single-file autarky, uncompromised by external dependencies or revisionist imports. This schism permanently fractured Scheme consciousness, decisively expelling modular heresy from orthodox minimalist implementations.
EDIT: s7
Wait, is fopen deprecated? Is this just on Windows?
Any function that had a target pointer for multiple items would get an size parameter, so f.ex. memcpy and strcpy have both dest buffer size and copy count, dest buffer size being smaller than count is a failure and produces an corresponding errno.
errno handling being the explicit return value is the change for Microsoft's fopen_s , probably to avoid multithreaded errno issues (is the global a thread local despite not being initially specified or do we risk race conditions).
To Microsoft's credit it seems that the standard bodies agreed on the replacements being improvements and they are now in C11, Microsoft just decided to push this for developers on Windows, probably since insecure programs affected their image and they've since that XP-era u-turn actually done a lot to fix what was an inherently insecure OS.
https://learn.microsoft.com/en-us/cpp/c-runtime-library/refe...
https://learn.microsoft.com/en-us/cpp/c-runtime-library/refe...
kreelman•6mo ago