<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<span>I read that WebAssembly is intended as a first-class target for LLVM. So how do I make use of this to compile to WebAssembly with LLVM? I really want to know. I have this code that I want to compile to WebAssembly and use on the backend as a Node module
(instead of using it as an ES6 (or above) module): <a id="LPlnk317638" href="https://github.com/DragonOsman/currency_converter">
https://github.com/DragonOsman/currency_converter</a> (look in the .cpp file for the web server code). </span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
And I also want to know how to use EMSCRIPTEN_BINDINGS on my use of std::shared_ptr since I still don't fully understand how to do this. I did read the Emscripten documentation, but I still need some help in understanding how to do it. </div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
Also, can I use both the iostream and emscripten.h headers in the same file? Or is that a bad idea? </div>
<div class="LPBorder561612" id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL0RyYWdvbk9zbWFuL2N1cnJlbmN5X2NvbnZlcnRlcg.." style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; min-width: 424px; max-width: 800px;" contenteditable="false">
<table id="LPContainer561612" role="presentation" style="padding: 12px 36px 12px 12px; border-radius: 2px; border: 1px solid rgb(200, 200, 200); width: 100%;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer561612" style="height: 160px; overflow: hidden; margin-right: 12px; position: relative;">
<a id="LPImageAnchor561612" href="https://github.com/DragonOsman/currency_converter" target="_blank"><img width="160" height="160" id="LPThumbnailImageId561612" style="display: block;" alt="" src="https://avatars0.githubusercontent.com/u/18173932?s=400&v=4"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle561612" style="font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 21px; font-weight: 300; margin-right: 8px; margin-bottom: 12px;">
<a id="LPUrlAnchor561612" style="color: var(--themePrimary); text-decoration: none;" href="https://github.com/DragonOsman/currency_converter" target="_blank">GitHub - DragonOsman/currency_converter: Application for Computer Science course</a></div>
<div id="LPDescription561612" style="color: rgb(102, 102, 102); overflow: hidden; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; margin-right: 8px; margin-bottom: 12px; max-height: 100px;">
Google Maps + Currency Converter Web Application. Application for Computer Science course. This is a currency converter web application with the frontend and a backend.</div>
<div id="LPMetadata561612" style="color: rgb(166, 166, 166); font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; font-weight: 400;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</body>
</html>