6 ms·
Scheme is a language where I wish this was part of the spec. So many Schemes are intended to be embedded or extended with C, and every one of them has a bespoke
by dleslie 5y ago
Scheme is a language where I wish this was part of the spec. So many Schemes are intended to be embedded or extended with C, and every one of them has a bespoke way of declaring C bindings and martialling data between C and Scheme.
- shakna 5y agoThere are ongoing efforts to stabilise a SRFI (like SRFI198 [0]), which would be the first step towards this. (First get the SRFI, then once that's stable and well implemented, it can be considered for the next spec). Unfortunately there's a lot of disagreement between the bigger players as to how this should be handled: > > 1) The authors appear to be deadlocked > No need to soften it with an "appear", we are intractably deadlocked. [0] https://srfi.schemers.org/srfi-198/srfi-198.html https://srfi.schemers.org/srfi-198/srfi-198.html
- froh 5y agoI agree. to bystanders, odd autocorrect: it's marshalling. marshalling data. although fight and war are indeed also appropriate associations for binary data exchange (struct conversions) between languages.
- watersb 5y agoI often court martial my data. Not mocking the spelling of the previous post; it's a strange term anyway and in this instance either spelling works.
- dmurray 5y agoTIL martial and marshal are unrelated etymologically, though marshalling data is by analogy with marshalling troops, and related to the military office. Marshal = mariscalcus = "horse servant", compare mare and seneschal. Martial = from Mars, god of war. https://en.wiktionary.org/wiki/marshal https://en.wiktionary.org/wiki/marshal
- froh 5y agoTIL: marshalling == ceremonial arrangement and management of a gathering these CS gals of olde really had a hand for naming :-)