What is Nostr?
Slashdot (RSS Feed) /
npub1y0k…f73e
2024-10-12 15:34:00

Slashdot (RSS Feed) on Nostr: 'Running Clang in the Browser Using WebAssembly' This week (MIT-licensed) WebAssembly ...

'Running Clang in the Browser Using WebAssembly'

This week (MIT-licensed) WebAssembly runtime Wasmer announced "a major milestone in making any software run with WebAssembly."

The announcement's headline? Running Clang in the browser using WebAssembly...

Thanks to the newest release of Wasmer (4.4) and the Wasmer JS SDK (0.8.0) you can now run [compiler front-end] clang anywhere Wasmer runs! This allows compiling C programs from virtually anywhere. Including Javascript and your preferred browser! (we tested Chrome, Safari and Firefox and everything is working like a charm)...

- You can compile C code to WebAssembly easily just using the Wasmer CLI: no toolchains or complex installations needed, install Wasmer and you are ready to go...!

- You can compile C projects directly from JavaScript...!

- We expect online IDEs to start adopting the SDK to allow their users compile and run C programs in the browser....



Do you want to use clang in your Javascript project? Thanks to our newly released Wasmer JS SDK you can do it easily, in both the browser and Node.js/Bun etc... Wasmer's clang can even optimize the file for you automatically using wasm-opt under the hood (Clang automatically detects if wasm-opt is used, and it will be automatically called when optimizing the file). Imagine using Emscripten without needing its toolchain installed — or even better, imagine running Emscripten in the browser.

The announcement looks to a future of compiling native Python libraries, when "any project depending on LLVM can now be easily compiled to WebAssembly..."

"This is the beginning of an awesome journey, we can't wait to see what you create next with this."
<a href="http://twitter.com/home?status='Running+Clang+in+the+Browser+Using+WebAssembly'%3A+https%3A%2F%2Fdevelopers.slashdot.org%2Fstory%2F24%2F10%2F12%2F0519256%2F%3Futm_source%3Dtwitter%26utm_medium%3Dtwitter"; rel="nofollow"><img src="https://a.fsdn.com/sd/twitter_icon_large.png"></a>;
<a href="http://www.facebook.com/sharer.php?u=https%3A%2F%2Fdevelopers.slashdot.org%2Fstory%2F24%2F10%2F12%2F0519256%2Frunning-clang-in-the-browser-using-webassembly%3Futm_source%3Dslashdot%26utm_medium%3Dfacebook"; rel="nofollow"><img src="https://a.fsdn.com/sd/facebook_icon_large.png"></a>;



https://developers.slashdot.org/story/24/10/12/0519256/running-clang-in-the-browser-using-webassembly?utm_source=rss1.0moreanon&utm_medium=feed
at Slashdot.

https://developers.slashdot.org/story/24/10/12/0519256/running-clang-in-the-browser-using-webassembly?utm_source=rss1.0mainlinkanon&utm_medium=feed
Author Public Key
npub1y0k2ql292ykh944azk2yvvj0umklpjnyxkfht4j5zlw56snc228s29f73e