Displaying 20 results from an estimated 1000 matches similar to: "Compile R to WebAssembly / Emscripten?"
2019 Feb 26
1
Compile R to WebAssembly / Emscripten?
As I recall, the major blocker is that R links against a number of other
things (notably BLAS, pcre, etc) so while technically possible (?) I
suppose, the universe of things you'd have to compile over and then get
working is much larger than just the R internals.
I think most people who consider this (including me years ago, as well as
the poster of Gabor's message to rdevel) hit that
2019 Feb 20
0
Compile R to WebAssembly / Emscripten?
This was some time ago:
https://stat.ethz.ch/pipermail/r-devel/2013-May/066724.html
So probably not hopeless, but I would think it is a lot of work.
Gabor
On Wed, Feb 20, 2019 at 8:17 AM Todd Wilder <wildert at gmail.com> wrote:
>
> Has anyone attempted to compile R (probably without any OS bindings) to
> WebAssembly / Emscripten? If so, how far did you get? (would be crazy
>
2019 May 08
2
Where to send emails with questions about WebAssembly?
Okay, so where should I send questions for WebAssembly? Is it this mailing list or a different one? I want to ask about how to compile WebAssembly modules with Clang directly, without Emscripten, for situations like what I have currently where I have a problem with generating WebAssembly and/or JavaScript glue code (I have a problem with the gen_struct_info stuff; I asked on the Emscripten
2017 Jun 30
3
[LLD] Adding WebAssembly support to lld
Hi llvmers,
As you may know, work has been progressing on the experimental
WebAssembly backend in llvm. However, there is currently not a good
linking story. Most the of existing linking strategies (i.e. those in
the emscripten toolchain) involve bitcode linking and whole program
compilation at link time.
To improve this situation I've been working on adding a wasm backend
for lld. My
2015 Jun 18
5
[LLVMdev] [RFC] WebAssembly Backend
>
> This seems interesting, I have a few questions:
>
>
> Has the ISA been finalized yet or is it still a work in progress? Will
> there be a fixed number of registers?
>
The design document has a high-level idea of the ISA, or rather of the AST
we're thinking of going with:
https://github.com/WebAssembly/design/blob/master/AstSemantics.md
The final encoding isn't
2017 Jul 01
1
[LLD] Adding WebAssembly support to lld
Can you link to docs about the wasm object format? (both relocatable and
executable)
Also, traditional object file linkers are primarily concerned with
concatenating binary blobs with small amount of patching of said binary
blobs based on computed virtual (memory) addresses. Or perhaps to put it
another way, what traditional object file linkers do is construct program
images meant to be mapped
2011 Dec 16
2
[LLVMdev] Emscripten: LLVM => JavaScript
Hi everyone,
I wanted to mention a project using LLVM: Emscripten. Emscripten
is an open source LLVM to JavaScript compiler,
http://emscripten.org
https://github.com/kripken/emscripten/
There are various demos linked to on the wiki (the first link),
of various large C/C++ codebases compiled to JS and running
on the web, like Python, Bullet, Poppler, etc.
Emscripten is not a
2011 Dec 16
0
[LLVMdev] Emscripten: LLVM => JavaScript
On Thu, Dec 15, 2011 at 4:10 PM, Alon Zakai <azakai at mozilla.com> wrote:
> On that topic, I see there is an LLVM users page,
>
> http://llvm.org/Users.html
>
> - what is the procedure for suggesting adding a project to
> there?
Send a patch to llvm-commits.
> The third issue I want to raise is regarding closer
> integration with LLVM. Right now, Emscripten uses
2011 Dec 17
0
[LLVMdev] Emscripten: LLVM => JavaScript
On Fri, Dec 16, 2011 at 7:14 PM, Alon Zakai <azakai at mozilla.com> wrote:
>
>
> ----- Original Message -----
>> From: "Eli Friedman" <eli.friedman at gmail.com>
>> To: "Alon Zakai" <azakai at mozilla.com>
>> Cc: llvmdev at cs.uiuc.edu
>> Sent: Thursday, December 15, 2011 7:02:34 PM
>> Subject: Re: [LLVMdev] Emscripten:
2015 May 05
2
Compiling opus with emscripten: malloc_hook
Hi xiph,
I'm trying to compile libopus from git.xiph.org/opus.git with
emscripten. The regular:
$ emconfigure ./configure --enable-fixed-point
$ emmake make
gets me quite far, but it hangs on the use of __malloc_hook in the tests:
tests/test_opus_api.c:1776:16: error: use of undeclared identifier
'__malloc_hook'; did you mean 'malloc_hook'?
orig_malloc=__malloc_hook;
2011 Dec 17
3
[LLVMdev] Emscripten: LLVM => JavaScript
----- Original Message -----
> From: "Eli Friedman" <eli.friedman at gmail.com>
> To: "Alon Zakai" <azakai at mozilla.com>
> Cc: llvmdev at cs.uiuc.edu
> Sent: Thursday, December 15, 2011 7:02:34 PM
> Subject: Re: [LLVMdev] Emscripten: LLVM => JavaScript
> On Thu, Dec 15, 2011 at 4:10 PM, Alon Zakai <azakai at mozilla.com>
> wrote:
>
2017 Jul 01
2
[LLD] Adding WebAssembly support to lld
Hi Sam,
First, I want to know the symbol resolution semantics. I can imagine that
that is set in stone yet, but just that you guys are still discussing what
would be the best semantics or file format for the linkable wasm object
file. I think by knowing more about the format and semantics, we can give
you guys valuable feedback, as we've been actively working on the linker
for a few years
2019 Oct 15
4
Wasm, start function, and default globals
Apologies if there is a better forum for these questions. Please redirect me if so.
I’ve been using the clang/wasm-ld tools to experiment with some basic examples, and there’s a couple things I’m wrestling with.
1) How to denote a function as the “start” function (https://webassembly.github.io/spec/core/binary/modules.html#start-section)
2) How to avoid the defaulted __heap_base global.
I’ve
2014 Jun 13
1
port Opus to Javascript using Emscripten
Hi there,
We are interested in adopting Opus into our web based application for speech recording. I'm wondering if there is a plan to port Opus encoder and decoder to Javascript using Emscripten in the near future?
Best Regards,
Rachel Wu
ETS.org
________________________________
This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely
2018 Jun 20
1
Xapian ported to WebAssembly for use in web browser
Hi all,
First off, apologies if this list is not the correct place for this message. Although we have used Xapian with our email services for a long time (over 10 years) we haven't had the opportunity to contribute or participate in the Xapian community until now. We might therefore not be entirely familiar with acceptable protocol here, but we thought others might be interested in a new
2015 Jun 17
8
[LLVMdev] [RFC] WebAssembly Backend
Hello all,
WebAssembly [0] its a new virtual ISA being designed to efficiently
run compiled code in web browsers and other things, starting with
C/C++, and eventually many other languages [1]. WebAssembly
distinguishes itself from other virtual ISAs with optimizations to
reduce download size and decode time, strong portability and
predictability invariants (for example, the base has no undefined
2020 Aug 10
2
(wasm-ld) Any fundamental problems with linking a shared wasm library statically?
wasm-ld is currently unable to link a shared wasm library (generated with
`wasm-ld --shared`) with .o files and produce a working executable.
I'm curious if there's a fundamental reason for this, or is this simply
something that wasn't needed and could be implemented if needed.
I think this could be done by
- Resolving "GOT.mem" and "GOT.func" imports and
2018 May 08
2
"opus will be very slow" message
I get the following message when cross compiling Opus 1.2.1 for android
with clang in a standalone build.
CC src/opus_decoder.lo
src/opus_decoder.c:37:10: warning: You appear to be compiling without
optimization, if so opus will be very slow. [-W#pragma-messages]
# pragma message "You appear to be compiling without optimization, if so
opus will be very slow."
Looking at the
2020 Aug 05
2
Debugging a potential bug when generating wasm32
Hi,
Sorry if you've seen this message before on llvm.discourse.group or elsewhere --
I've been trying to get to the bottom of this for a while now and asked about
this in a few different platforms before.
I'm currently trying to debug a bug in a LLVM-generated Wasm code. The bug could
be in the code that generates LLVM (rustc) or in the LLVM, I'm not sure yet.
LLVM IR and Wasm
2017 Jan 03
2
LLVM WebAssembly target
Hello.
Excuse me.
Why CMakeLists.txt from llvm-3.9.1.src does not contain WebAssembly target?
So, it is like
set(LLVM_ALL_TARGETS
AArch64
AMDGPU
ARM
BPF
Hexagon
Mips
MSP430
NVPTX
PowerPC
Sparc
SystemZ
X86
XCore
)
but not like
set(LLVM_ALL_TARGETS
AArch64
AMDGPU
ARM
BPF
Hexagon
Mips
MSP430
NVPTX
PowerPC
Sparc
SystemZ
Webassembly
X86