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 crashes (not a rust panic), when debugging a specific piece of code
- Drop Typescript
- Deno has panicked during upgrade on MacOS
- release v.1.43.0 missing assets HOT 1
- [node:worker_threads] The behavior of `MessagePort.on()` differs between Deno and Node.js
- node:fs/promises watcher polyfill is not AsyncIterable
- Tracking issue for using WebGPU to render on the window of the desktop environment HOT 3
- [node:worker_threads] `MessagePort` is lacking methods `off` and `removeListener`
- Support deno lockfile in projects with only `package.json`
- Cannot start inspector server: Os { code: 10048, kind: AddrInUse, message: "Only one usage of each socket address (protocol/network address/port) is normally permitted." } HOT 1
- Uncaught Error: Not implemented: udp.UDP.prototype.unref
- WebGPU: Implement copyExternalImageToTexture HOT 1
- Deno using memory even when i;m not running a file with deno
- Deno should make simultaneous outgoing requests to IPv4 and IPv6 addresses when both exist HOT 3
- Deno 1.43.0 fails hard upon encountering lockfile with no `integrity` field. HOT 5
- 🐛Unable to connect sub-process standard input/output to a terminal with `Deno.Command`
- LSP Panicked with File Naming HOT 1
- getting file path from `Deno.FsFile`
- per-scope `JSR_URL`
- suggestion: check for circular dependencies in `deno publish --dry-run`
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.