Wondering how the community will be allowed to interop with function
definitions in their languages of choice...even extending functions with
other languages.
I didn't know about NAPI-RS <https://napi.rs/> existed until watching a
podcast today (33:00) <https://youtu.be/Aeij24E-jHI?t=1980> where `#[napi]`
macro was mentioned as an interesting PR
<https://github.com/napi-rs/napi-rs/pull/696> and thus bringing about a
very powerful feature of building pre-compiled Node.js add-ons in Rust.
And now even ThreadSafe functions
<https://napi.rs/docs/concepts/threadsafe-function>.
How this might be utilized in Wikifunctions later on is an interesting
thought experiment... imagine someone wanting to use a Node library that
already affords a great implementation but also needs to be adapted or
expanded for special fit and purpose... and in Wikifunctions by writing a
Node.js addon in Rust language.
Does anyone feel that the idea of extending functions with other languages
(even native) might be too edgy a task on Function Composition? Or will
this eventually be expected to be supported in whole or partially with
the Launch
requirements
<https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Launch_requirements>
,one of which is:
- "Switching from one language to the other"
Thoughts?
Thad
https://www.linkedin.com/in/thadguidry/
https://calendly.com/thadguidry/