4 ms·
Exactly. This shows that "extremely portable" is actually marketing for "It supports a number of platforms. In my opinion, this number is big".
by ktpsns 4mo ago
Exactly. This shows that "extremely portable" is actually marketing for "It supports a number of platforms. In my opinion, this number is big".
- noosphr 4mo agoWe support extreme portability for sufficiently large values of two.
- lelanthran 4mo ago> This shows that "extremely portable" is actually marketing for "It supports a number of platforms. In my opinion, this number is big". The number might just be zero - did anyone check if this compiles? I am trying to track down where the function `sp_mem_allocator_alloc_type` is defined (used in 3x places) but it doesn't appear in the GH search results. I'm not going to clone and build this (too dangerous).
- flohofwoe 4mo ago> I am trying to track down where the function `sp_mem_allocator_alloc_type` is defined A quick glance at the source on github and here you go: https://github.com/tspader/sp/blob/e64697aa649907ce3357a7dd00ff259bb3928498/sp.h#L7997-L7999 https://github.com/tspader/sp/blob/e64697aa649907ce3357a7dd0... `sp_mem_allocator_alloc_type ` is going through a couple of macro resolutions which ends up at `sp_mem_allocator_alloc` > I'm not going to clone and build this (too dangerous). Your computer won't explode just from downloading and compiling some C code, don't worry ;) The github repo builds and the examples run just fine on macOS by just running `make` in the project directory, although with one warning: warning: 'posix_spawn_file_actions_addchdir_np' is deprecated: first deprecated in macOS 26.0
- dboon 4mo agoIt looks like I need to update my macOS machine! Thanks for the sanity, and thanks for reading.
- rswail 4mo agoOnly if you want to move from MacOS Sequoia to Tahoe. Tahoe has the Liquid Glass stuff that people don't like as well as other UX changes that have been controversial. Apple still do security updates on Sequoia.
- locknitpicker 4mo ago> Your computer won't explode just from downloading and compiling some C code, don't worry ;) This is the first time I ever saw anyone dismissing the risk of downloading and running stuff off the internet. "Don't worry".
- lelanthran 4mo ago> Your computer won't explode just from downloading and compiling some C code, don't worry ;) I have no idea what's in the Makefile, and I'm not going to review it just so to try and figure out where a function is defined :-/
- flohofwoe 4mo agoI found the function body in about 30 seconds by browsing the code on github via plain old text search. Is that also to dangerous? ;)
- rigonkulous 4mo agoUse better tooling, then. Cscope is your friend.
- pseudohadamard 4mo agoI'm trying to sort out the whole mess of sp_ht / sp_str_ht_init / sp_str_split_c8 / sp_da_for / sp_da. sp_da_fuq? What is all this stuff?
- forgotpwd16 4mo ago> I'm not going to clone and build this (too dangerous). Just create a disposable isolated environment, like VM or container, and do it inside? And, yes, does compile.
- rigonkulous 4mo agoFor C-based projects, use cscope. It found it pretty fast.
- egl2020 4mo agoWhen I was a wee lad, a conference speaker announced that "portability" meant "runs on anything that supports OS/360".