Comments (1)
Cranelift (formerly Cretonne) is currently focusing on "backend" compilation, however if it is successful, we hope to extend it some day with high-level inter-procedural optimizations.
While Cranelift includes the cranelift-wasm
crate for translating wasm, it isn't sufficient for complete wasm compilation. One needs additional support, such as the support now provided by Wasmtime.
It is theoretically possible that Cranelift could output to wasm some day, however it is not set up to do so right now.
Cranelift is indeed meant to be useful in both JIT and AOT configurations. Lucet and rustc_codegen_cranelift are examples of using it in an AOT configuration, and Wasmtime is an example of using it in a JIT configuration.
If you have any further questions, please re-open this issue or file a new one!
from wasmtime.
Related Issues (20)
- wasi-http: Consider unhiding `add_only_http_to_linker` functions HOT 2
- std::env::var from guest gives an error: cannot leave component instance HOT 6
- Fail to create link file with AT_SYMLINK_FOLLOW parameter. HOT 1
- wasmtime main.wasm ,then encounter an error: `gojs::runtime.scheduleTimeoutEvent` has not been defined HOT 1
- Feedback on some changes between wasmtime 17 and 21 HOT 1
- `wasmtime serve` can't run components requiring >10MB of memory by default HOT 7
- riscv64: Panic using the Zicond extension
- Winch: Assertion failure with saturating conversion instructions HOT 2
- Cranelift: JIT assertion failure when using `ArgumentPurpose::StructArgument` on macOS (A64) HOT 4
- [Partially answered myself] [Question] Problems with leveraging `cargo component` and `wasmtime-wasi` to run a "plugin" on the host HOT 3
- Is it possible to abort a component function call without fueling mechanism? HOT 1
- O_TRUNC setting.
- riscv64: Panic about worst_case_size for ReturnCall HOT 2
- What should the default behavior of `wasmtime serve` be with scheme/authority? HOT 13
- how can I access file system with k8s? HOT 2
- index out of bounds in crates/cranelift/src/debug/transform/attr.rs HOT 1
- feature pooling-allocator doesn't compile on its own HOT 2
- `#include <wasmtime/conf.h>` fails since `conf.h` is not generated HOT 10
- `wasi-common`: Does `sync` crate feature really rely on `wasmtime` dependency?
- Cranelift: jit: "region" "2.2.0" dependency doesn't compile on OpenBSD 7.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmtime.