TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Deno 1.25

73 pointsby 0xedbover 2 years ago

8 comments

nextaccounticover 2 years ago
Can Deno be embedded in a larger Rust application? I know I can embed v8 directly <a href="https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;rusty_v8" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;rusty_v8</a> but I wish I could use other parts of Deno.<p>In particular, I wish I could write a Tokio async program in Rust, and load plugins using deno, and have this work seamlessly<p>edit: actually, <a href="https:&#x2F;&#x2F;deno.land&#x2F;manual@v1.25.0&#x2F;embedding_deno" rel="nofollow">https:&#x2F;&#x2F;deno.land&#x2F;manual@v1.25.0&#x2F;embedding_deno</a> <a href="https:&#x2F;&#x2F;crates.io&#x2F;crates&#x2F;deno_core" rel="nofollow">https:&#x2F;&#x2F;crates.io&#x2F;crates&#x2F;deno_core</a> <a href="https:&#x2F;&#x2F;docs.rs&#x2F;deno_core&#x2F;latest&#x2F;deno_core&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.rs&#x2F;deno_core&#x2F;latest&#x2F;deno_core&#x2F;</a><p>It doesn&#x27;t expose tokio so I suppose that it manages its own runtime separate from the executor of the application using it (edit 2: it doesn&#x27;t, it lets the user bring their own executor. cool!)
评论 #32599569 未加载
MuffinFlavoredover 2 years ago
&gt; New experimental HTTP server API<p>&gt; Our benchmarks show a 4x improvement in hello-world request per second performance compared to Node.js and a 3x improvement compared to our existing web server.<p>What the heck was wrong with the previous implementation? :P<p><a href="https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;deno&#x2F;pull&#x2F;15405" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;deno&#x2F;pull&#x2F;15405</a><p>I think this is the PR for it though.<p>Unless the performance benefits are from something else in <a href="https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;deno&#x2F;releases&#x2F;tag&#x2F;v1.25.0" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;deno&#x2F;releases&#x2F;tag&#x2F;v1.25.0</a>
akmittalover 2 years ago
Npm support is really big addition. I thought of exploring deno for big project, but was worried if I can&#x27;t find deno package for specific feature.<p>With bun claiming to be fastest I want to see how deno compares to bun.
评论 #32597389 未加载
nchudleighover 2 years ago
Seems like some competition is a good thing!<p>Love to see the experimental npm support.<p>deno init is a bit silly imo.
评论 #32596351 未加载
评论 #32595013 未加载
peanut_wormover 2 years ago
Really happy to see. I have been using Deno for a project and I have really enjoyed it. It solves all of the annoyances of Node for me.
评论 #32607324 未加载
ralusekover 2 years ago
The main thing I want from Deno is per dependency sandboxing. They let you enable file system or internet access for the whole project, but that&#x27;s basically useless in most of my usecases. If I could whitelist the couple of dependencies that might need http access or whatever, that&#x27;d be great.
评论 #32603892 未加载
评论 #32609558 未加载
MuffinFlavoredover 2 years ago
&gt; When doing this, no npm install is necessary and no node_modules folder is created.<p>Where do they go for say... Docker container purposes?
评论 #32596971 未加载
synergy20over 2 years ago
My node.js needs is related to electron.js, wish deno becomes one of Electron.js backend someday.
评论 #32597338 未加载
评论 #32604853 未加载