mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 08:10:49 +00:00
commit 62d9da4e3e02251a0f61c904e826bc06cf964ff7 Author: Syrus <me@syrusakbary.com> Date: Sun Jul 7 18:16:34 2019 -0700 Fixed syscall221 commit a8fde9148d50d89616d8a85a68110b89e3273229 Author: Syrus <me@syrusakbary.com> Date: Sun Jul 7 18:16:04 2019 -0700 Improved ioctl use case commit 5ad109d39838624ad84232a4c17714b885835893 Merge: 61526e2c 5cab8161 Author: Syrus <me@syrusakbary.com> Date: Sun Jul 7 17:44:25 2019 -0700 Merge branch 'command/dash' into feature/emscripten-update commit 5cab816193d47d53aabb4be4ccaf448dca5ed0b2 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 20:11:49 2019 +0200 Generic IOCTLs mapping commit 5a0dc0374cdc5a3754e3ecc82584288df640d239 Merge: 61cfed79 9d120ed3 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 17:15:02 2019 +0200 Merge remote-tracking branch 'origin/master' into command/dash commit 61cfed7916078602eabbd4448b109f47dcfff1e8 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 13:04:04 2019 +0200 Fixed implementation for syscalls 200, 201 and 202 commit 91e26d1a0ee46d6f9ec4804ca13ca928d55e7bbb Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 13:03:26 2019 +0200 Improved debug messages commit 53a8fbeb2a0912e928609f0afcea6ffb1e911193 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 13:03:04 2019 +0200 [___syscall146] Move loop out of `unsafe` zone commit d6dd3696f10f4cbb0722321bd9d06e45a9d464ac Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 13:01:31 2019 +0200 [___syscall140] Fixed types commit c827a6a99346535764e22bfb5ab9147a52a0a543 Merge: 2bc16826 5e18d04d Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Sat Jul 6 12:21:33 2019 +0200 Merge remote-tracking branch 'origin/master' into command/dash commit 2bc16826b5923dba56243fe3bd99f4be8a09c990 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Thu Jul 4 07:05:00 2019 +0200 Implement `getpgid` syscall commit d464954f5803e4d84b6f94dc9ef87cc577aa9c65 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Thu Jul 4 07:04:36 2019 +0200 [fcntl64] Replace mock for real implementation commit 3fe0183d853624bcdc968a890ac36ff7062905a7 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Thu Jul 4 07:03:39 2019 +0200 [ioctl] No-of for `TIOCSPGRP` command & code clean-up commit cc83ec9ac1cf1ad60748fd3bb5114a6e6e471d92 Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Thu Jul 4 07:02:47 2019 +0200 [___syscall5] debug messages commit 91587c8bde9d2b02402a7843f37eee22322d86fb Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com> Date: Thu Jul 4 07:02:20 2019 +0200 [___syscall57] debug messages
Wasmer Libraries
Wasmer is modularized into different libraries, separated into three main sections:
Runtime
The core of Wasmer is the runtime, which provides the necessary abstractions to create a good user experience when embedding.
The runtime is divided into two main libraries:
- runtime-core: The main implementation of the runtime.
- runtime: Easy-to-use API on top of
runtime-core
.
Integrations
The integration builds on the Wasmer runtime and allow us to run WebAssembly files compiled for different environments.
Wasmer intends to support different integrations:
- WASI: run WebAssembly files with the WASI ABI.
- Emscripten: run Emscripten-generated WebAssembly files, such as Lua or nginx.
- Go ABI: we will work on this soon! Want to give us a hand? ✋
- Blazor: research period, see tracking issue
Backends
The Wasmer runtime is designed to support multiple compiler backends, allowing the user to tune the codegen properties (compile speed, performance, etc) to best fit their use case.
Currently, we support multiple backends for compiling WebAssembly to machine code:
- singlepass-backend: Single pass backend - super fast compilation, slower runtime speed
- clif-backend: Cranelift backend - slower compilation, normal runtime speed
- llvm-backend: LLVM backend - slow compilation, native runtime speed