<div dir="auto">Google “wasm js shared heap dom example” to get an example of interaction between WASM (C) and JS.</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Mar 8, 2025 at 9:00 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">I think it might be more important to get X3D co-existing with React, Next.js, Angular (TypeScript), Vue.js, Svelte, SvelteKit, Solid, Meteor etc.  I’m guessing X3DOM or DOM/JSON is the best way to do this.  Holger and Michalis can chime in on possibilities.  Tutorials or how-to’s would be good.  I’ve used Meteor 1 and X3DOM together.  THREE and React appear to be a good combo.  Perhaps we can make JSON work, without relying on DOM.   Currently, AFAIK, we convert JSON to DOM.  A full JSON+Proxy implementation of X3D might work.  I don’t know how to build an X3D browser, which is why I’ve relied on others.</div><div dir="auto"><br></div><div dir="auto">I think currently people are moving away from TypeScript to JSDoc, there’s no extra transpiling step for browsers, and probably comparable type safety in IDEs.</div><div dir="auto"><br></div><div dir="auto">I don’t know if TypeScript will get serious consideration for web browsers.  AFAIK, type safety in the language means extra checks, which AFAIK, slows down browsers, but I could be wrong.  Adding typesafety probably enhances security.</div><div dir="auto"><br></div><div dir="auto">I think it’s more likely for WASM to get DOM, as they are working on a shared heap between JS and WASM.</div><div dir="auto"><br></div><div dir="auto">John </div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 7, 2025 at 10:46 PM Joe D Williams via x3d-public <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">"TypeScript is a strongly typed programming language that builds on JavaScript, offering features like static typing, classes, and interfaces. "<br>
<br>
Is this typescript a tool for X3D?<br>
<br>
Thanks, <br>
Joe<br>
<br>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>
</blockquote></div></div>