Re: Spasm - webassembly libary for single page applications
On Saturday, 13 October 2018 at 04:34:28 UTC, Nick Sabalausky (Abscissa) wrote: Nifty, I'll have to look into this. Any idea what it would take to get this doing some WebGL? (Or playing audio?) Or is this more for HTML-ish sorts of stuff? This is more focused on HTML rendering, but you can do anything that you can do from JS, you just have to write JS glue code. WebGL is based on and follows the OpenGL ES (Embedded Systems) spec, which is a subset of OpenGL. So if you have the API definitions you are already half done. The other half is writing that in JS and calling the actual WebGL. If you want to do it right now you can use vladimir's dscripten-tools project, which is based on emscripten. I just don't like emscripten because it has a complex toolchain (D->LDC->(patched)LLVM->asm.js->binaryen->wasm) and results in bloated code.
Re: Spasm - webassembly libary for single page applications
On Friday, 12 October 2018 at 19:43:25 UTC, Sebastiaan Koppe wrote: I like to announce Spasm https://github.com/skoppe/spasm It is a webassembly library to develop single page applications and builds on my previous work (https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org). I must say even at this stage this library is awesome! Good job! Keep up with the good work! :)
Re: Spasm - webassembly libary for single page applications
On Saturday, 13 October 2018 at 04:34:28 UTC, Nick Sabalausky (Abscissa) wrote: What are the main current limitations? Mainly that it is written in betterC, which is quite the limitation if you are used to freely call anything from phobos, or expect the GC to clean up. Also I currently don't free memory.
Re: LDC iOS cross-compiler with arm64
On Saturday, 24 October 2015 at 15:43:03 UTC, Dan Olson wrote: Jacob Carlborg writes: On 2015-10-24 12:01, Suliman wrote: Would it be hard to add Windows/Linux host available? Would it be hard to develop iOS apps on Windows in comparison of using MacOSX? It depends on what you mean. Microsoft already supports developing iOS apps on Windows, but the building is actually performed on OS X. In addition, the LDC cross-compiler could be built with a few tweaks for any build host that LDC already supports. If someone already has a Windows/Linux dev environment for iOS, then LDC could be used with it. hope some one can continue work on this.
LDC 1.12.0
Glad to announce LDC 1.12: * Based on D 2.082.1. * Support for LLVM 7, which is used for the prebuilt packages. Due to an LLVM 7.0.0 regression, the prebuilt x86[_64] LDC binaries require a CPU with SSSE3. * LTO working for Win64 targets. * IR-based PGO working for Windows targets. * New, Easy::jit-like interface for dynamic/JIT compilation. * Experimental support for Android/x86_64. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.12.0 Thanks to all contributors!