Is js-ctypes still supported or is it deprecated
Miles <[email protected]> Wed, 20 Jan 2021 11:27:25 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
Hi there, I'm not sure if this is the correct place to ask this but thought it was worth a try... Is js-ctypes still "properly" supported by Spidermonkey or is it deprecated and going to disappear soon? It looks like it is still there in the source code in spidermonkey 85 (there is a ctypes directory in src and there is a --enable-ctypes option to configure so it looks like it is all there (but I haven't tried to compile it or use it yet). However if I go to https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes there is a big red warning box saying Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. I'm looking to see if can use ctypes to allow people to be able to call dlls from our JavaScript embedding. Nothing definite yet but before I even think about it I thought I should check whether this is a viable option or if it is shortly going to be removed. Many thanks Miles