ideas
ideas copied to clipboard
LLVM frontend for WASM
Project description
There are some tools converting LLVM IR/bitcode into WASM modules. But I have not found any doing the inverse task: converting WASM modules into LLVM IR/bitcode, though the idea seems to be obvious.
There is some demand on these tools. Some even develop VMs interpreting WASM code, but it is loss of performance.
Relevant Technology
[Write what technology is relevant. What language, what platform, any particular library/framework/existing project it is based on?]
Complexity and required time
[Please only tick off one box in each category by changing [ ]
to [x]
. The labels on the project will then be updated by the maintainers as soon as possible.]
Complexity
Cannot estimate.
Required time (ETA)
Cannot estimatte.
I was thinking, what about an online wasm compiler / repl, I mean you are already on the browser, so why not!
I was thinking, what about an online wasm compiler / repl, I mean you are already on the browser, so why not!
Completely different task.
Online compiler proposed in #160 is just a CLang + LLVM + emscripten built into wasm + some GUI for that.
Here other thing is proposed.
I mean you are already on the browser
Wasm modules are not tied to browser and can be used separately.
So you want a disassembler for WASM bytecode into LLVM IR?
That seems to exist for x86 so why not indeed.
This would be interesting! It could be a way to compile WebAssembly to native.
A nice work on the topic https://github.com/gwsystems/aWsm :)