TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Deno in 2023

406 点作者 olestr超过 1 年前

29 条评论

ogoffart超过 1 年前
I&#x27;m interrested in the WebGPU feature.<p>With Slint [1] we&#x27;re working on a framework which allow to make a desktop GUI in Javascript&#x2F;Typescript, without bringing a browser&#x2F;webview. Currently, we do it by using binaries through napi-rs so we can bring in a window using the platform native API. And then we do some hack to merge the event loops.<p>But if Deno supports bringing up a window directly, this means we can just ship wasm instead of native binary for all platform. And also I hope event loop integration will be simplified.<p>Although we&#x27;d also need more API than just showing a window (mouse and keyboard input, accessibility, popup window, system tray, ...)<p>[1] <a href="https:&#x2F;&#x2F;slint.dev" rel="nofollow">https:&#x2F;&#x2F;slint.dev</a><p>Edit: I got excited a bit too early. The WebGPU feature doesn&#x27;t include the API to launch a Window. One still need to rely on an extra library binary.
评论 #39261082 未加载
评论 #39262874 未加载
评论 #39261612 未加载
评论 #39266118 未加载
评论 #39263839 未加载
评论 #39262007 未加载
dingdingdang超过 1 年前
Would love to see the compile situation fixed - the generated executables are ~90MB+ at this stage and do now allow compression without erroring out. Deploying ala Golang is not feasible at that level but could well be down the line if this dev branch is picked up again!<p>The exe output grew from from ~50MB to plus ~90MB from 2021 to 2024: <a href="https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;deno&#x2F;discussions&#x2F;9811">https:&#x2F;&#x2F;github.com&#x2F;denoland&#x2F;deno&#x2F;discussions&#x2F;9811</a> which mean Deno is worse than Node.js&#x27;s pkg solution by a decent margin.
评论 #39261141 未加载
评论 #39261165 未加载
评论 #39261057 未加载
评论 #39260466 未加载
评论 #39260550 未加载
评论 #39260952 未加载
pachico超过 1 年前
I&#x27;m not a big fan of JavaScript but I admit I stayed away from it because I dislike nodejs and npm terribly.<p>I was forced to start coding again in JS some weeks ago and I wanted to try Deno. I must say it&#x27;s been a very smooth and fast experience so far. Very well done!
评论 #39261930 未加载
评论 #39261911 未加载
wldlyinaccurate超过 1 年前
I deployed my first non-trivial Deno app to production in 2023. There were some teething issues with learning to keep the lock file in sync, especially in a repo with multiple entry points each with separate lock files. Some of the granular permissions stuff didn&#x27;t work how I expected, to the point where I almost gave up and just allowed network to&#x2F;from all hosts. But overall the experience was good, and I have positive feelings towards Deno. I look forward to seeing where they take it.
评论 #39266967 未加载
olestr超过 1 年前
You can join the waitlist in the sneak peak of JSR linked in the end of the article: <a href="https:&#x2F;&#x2F;jsr.io&#x2F;waitlist" rel="nofollow">https:&#x2F;&#x2F;jsr.io&#x2F;waitlist</a><p>I&#x27;m curious on what the Deno team is building here.
评论 #39260552 未加载
评论 #39265785 未加载
评论 #39259675 未加载
评论 #39259685 未加载
评论 #39259711 未加载
kebman超过 1 年前
&quot;Jupyter, the open source notebook tool, added support for JavaScript and TypeScript using Deno. This means data science, visualization, and more can all be done using modern JavaScript and TypeScript and web standards APIs.&quot;<p>I love this! At the same time, who would want to do this, given Python&#x27;s excellent support for numbers and mathematics? And what about Haskell?
评论 #39260857 未加载
评论 #39266173 未加载
评论 #39261516 未加载
评论 #39267043 未加载
apatheticonion超过 1 年前
Deno is such a great project. I would love to see greater support for embedding it into a Rust host process.<p>I&#x27;m writing a JavaScript bundler and need a Node.js runtime to execute plugins. Deno&#x27;s executable has fantastic Node support (at least, good enough for my use case) however the deno-core crate is super barebones and difficult to embed.<p>At this stage I can&#x27;t simply add the deno runtime into my Rust application, I need to copy&#x2F;paste internal crates from the Deno executable and wire them up myself (without documentation on how).<p>I&#x27;d love to see expansion for my use case - Deno could become the &quot;plugin runtime&quot; for the JS tooling world if it had a nice embed story.<p>Right now I am just going with a Nodejs child process that I talk to from the Rust host process using stdio. In my tests, the stdio approach has 10x the communication latency when compared to an embedded Deno runtime (that adds ~1 second per round trip message in a project with 100k assets)
rtcode_io超过 1 年前
Deno Deploy dropped from 35 GCP regions to just 12: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39127598">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=39127598</a>
评论 #39259714 未加载
评论 #39272720 未加载
brodo超过 1 年前
I use Deno as a Javascript&#x2F;Typescript-REPL. It has syntax-highlighting built-in.
评论 #39289259 未加载
评论 #39261983 未加载
agos超过 1 年前
I&#x27;d love to use Fresh but a framework for web development which calls itself v1.x and yet only supports Tailwind for styling purposes feels very immature.<p>The fact that for the next iteration they are prioritizing view transitions and not CSS bundling is baffling.
评论 #39266123 未加载
评论 #39268504 未加载
评论 #39266272 未加载
评论 #39265089 未加载
tarruda超过 1 年前
What is the state of Deno&#x27;s node.js compatibility when compared to Bun?
评论 #39259424 未加载
cactusfrog超过 1 年前
I’ve used Jupyter notebooks with deno decently. They seem much better than Python Jupyter notebooks because of the lack of pain around dependency management.
评论 #39266241 未加载
simlevesque超过 1 年前
I deployed 3 projects on Deno last year and I&#x27;m planning on launching 2 websites in the next couple of months. Mix of personal projects and some for clients.<p>Deno Deploy just works, albeit the cold start can be slow but I&#x27;m now using an hybrid setup with Fresh routes backed by a CDN.<p>The dev experience is great. I&#x27;ve used a couple of other solutions similar (Next, Nuxt and vite-ssr-plugin) and I sometimes I need to do somethings manually that would already exist on other platforms but in the end my projects stay simpler.<p>I love saaskit [1] and Netzo [2]<p>[1] <a href="https:&#x2F;&#x2F;deno.com&#x2F;saaskit" rel="nofollow">https:&#x2F;&#x2F;deno.com&#x2F;saaskit</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;netzo&#x2F;netzo">https:&#x2F;&#x2F;github.com&#x2F;netzo&#x2F;netzo</a>
msoad超过 1 年前
If Deno is looking for more growth they should make it super easy to run Next.js with it
评论 #39259892 未加载
andsoitis超过 1 年前
what is a great comparison between Bun, Deno, and Node.js?<p>Why should I choose Bun over Deno or vice versa?
评论 #39263069 未加载
评论 #39261852 未加载
评论 #39262771 未加载
ohnoesjmr超过 1 年前
I still haven&#x27;t figured out how to bring in a deno &quot;app&quot;, a cli tool, into an air-gapped environment. There is literally zero docs and everything assumes you are connected to the internet. The whole thing is too magical, and has no hope in the corporate world.
bheadmaster超过 1 年前
It is interesting to me that none of the new NodeJS alternatives support multithreading. Why is that?<p>Is it just a side-effect of using V8 engine for the heavy lifting, or is it some part of the ECMAScript specification which forbids multithreaded implementations of the language?
评论 #39260498 未加载
评论 #39268786 未加载
asim超过 1 年前
Is anyone a user of Deno KV? What&#x27;s your experience been like?
评论 #39266521 未加载
评论 #39266344 未加载
nerder92超过 1 年前
I&#x27;m really interested in deno, but I didn&#x27;t yet have the chance to test it properly.<p>I would love for this year to see the runtime support for either Google Cloud Functions or AWS Lambdas
MadSudaca超过 1 年前
I know it sound silly but I love the aesthetic behind Deno&#x27;s brand, it makes me want to use it for one project or another. Node.js is so old now. it&#x27;s reliable but boring. I want something new, bold, and daring. Node.js is not it, although it was ~11 years ago. It&#x27;s interesting how our views change.
评论 #39259812 未加载
评论 #39260179 未加载
评论 #39259867 未加载
评论 #39263792 未加载
评论 #39261313 未加载
nikisweeting超过 1 年前
Awesome work Deno team! I&#x27;ve been hard on ya&#x27;ll in the past to add NPM package support and I can now officially retract all of my earlier criticisms.<p>It&#x27;s amazing to see Deno mature so fast while staying well-thought-out, and I&#x27;m excited to use it in as many projects as I can now.
apitman超过 1 年前
Are there any libraries or frameworks to facilitate writing code that accesses things like the filesystem and network, but also works in Node, Deno, and Bun (bunodeno)?
winrid超过 1 年前
Is Deno using the same request&#x2F;response buffer sizes as Node in those benchmarks?
ecmascript超过 1 年前
I have a deno app in production and it is working just fine. However, I still think node is superior when you self host when you are not using docker. Deno afaik still doesn&#x27;t support any way of running one process for every CPU like the cluster module in Node.js.<p>I like to run my shit on the metal and without Docker and it feels like Deno was designed to run on Docker or some other kind of virtual containerized environment.<p>However, you can run it on node thanks to pm2, but I guess why even run on Deno in the first place?
评论 #39260024 未加载
评论 #39271308 未加载
brightball超过 1 年前
Sounds like it would be a great talk for a polyglot event like the Carolina Code Conference…
mongrelion超过 1 年前
Slightly off topic but I just came here to show appreciation for the hang glider in the picture.<p>Shout out to all my fellow hang gliders.
a3w超过 1 年前
Shouldn&#x27;t the HN title be *Deno in 2023 (2024)*,<p>so we know::<p>- it is not about a discussion of deno being new, relevant or modern in 2023, and<p>- avoid thinking that the article is from 2023?
bmwolf102990超过 1 年前
Interestingly, Deno and Node were both originally developed by the same person, Ryan Dahl.<p>Why did he feel the need to build a competitor to his own product? Whatever features are supposed to make Deno &quot;better&quot; than Node...why didn&#x27;t he just work on integrating them into Node?<p>I understand that sometimes changes to software can be infeasible, especially if they are large fundamental&#x2F;foundational changes, but this is still a bit of a head scratcher to me.
评论 #39260332 未加载
评论 #39260543 未加载
评论 #39260222 未加载
评论 #39260264 未加载
评论 #39260551 未加载
mborch超过 1 年前
&gt; A program run with Deno has no file, network, or environment access unless explicitly enabled.<p>You can do this using containerization technology, no need to invent this per language runtime.
评论 #39267105 未加载
评论 #39260265 未加载
评论 #39260290 未加载