Comments (5)
Interesting - I didn't know about Mojo.
I won't do this (now) because
- the project is very bug and non-functional and the serialization layer isn't part of that bugginess
- the reasons they list to use Mojo instead of protobufs is to "support transfer of native object handles (e.g. file descriptors) across process boundaries." This is not a feature deno would need - the IPC is just for communication in the same process between V8 and Go. Even if they were different processes, V8 is supposed to be a complete sandbox in Deno and not make syscalls itself. So there's would be no need to send it (functional) file descriptors.
- Deno is trying to be minimal and thus I'm afraid of diving headfirst into Chrome infrastructure - because it can get interdependent and large quickly.
but thanks for the links - it's good to know about.
from deno.
@ry thanks for looking into it! I think the benefits from this project using Mojo would be around the web compatibility goals. Offering web APIs like Bluetooth, NFC, WebAudio, fetch(), etc., might be easier if you could just use the Chromium implementations. Maybe worth thinking about again in the future.
from deno.
Mojo is also used by Flutter (or at least was used extensively back when it was called Sky, but I wouæd assume that didn't change)
from deno.
https://chromium.googlesource.com/chromium/src/+/master/mojo/README.md
from deno.
Good list of things being modulized inside blink via Mojo:
https://chromium.googlesource.com/chromium/blink/+/master/Source/modules/
from deno.
Related Issues (20)
- `deno task dev` fails in nextjs app created with app router HOT 2
- Nul characters when i write into a txt file HOT 9
- WebGPU: "Error: Invalid Surface Status" triggered randomly
- Support importMap transitivity for local development. HOT 1
- Stabilize FFI API for Deno 2
- `deno test` panics by deadlock at `cli/tools/test/channel.rs:428:7` HOT 1
- Error.cause is not inspect-formatted when printed by console.log
- `delete globalThis.closed` panics REPL
- Deno LSP crashing/freezing on a specific project on versions after 1.41.3 HOT 10
- Support global type augmentations using `declare global` in JSR
- Deno.rename not handling [ characters HOT 2
- Temporal seems to be broken
- `--doc` option seems disabling type checking
- deno compile + Worker + Blob URL dose not working
- Missing maxHeaderSize breaks Undici
- Deno.UnsafeWindowSurface panics with x11 HOT 3
- `deno lint` does not report file syntax errors
- `deno fmt` breaks code when formatting file with unterminated string literal HOT 1
- Cannot find module @rollup/rollup-linux-x64-gnu
- Invalid environment variable appear when using `deno install`ed command
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 deno.