News for hackers. Stuff that matters.
Re:Deno Desktop by bel8 on Monday June 22, 2026 @02:49AM (#48626625)
I'm happy for competition in this space, specially because Deno can run true TypeScript directly and not just strip types like the current Node implementation.

With that said, this is going to eat a lot of Tauri market. Why would I use Tauri now? The 150mb of additional bundle size is just an extra 1 to 10 seconds of download time in most internet connections and you get a reliable rendering engine.

Re:Deno Desktop by flohofwoe on Monday June 22, 2026 @03:29AM (#48626927)
Deno also just strips the type annotations when running TS code - at least by default. To get type checking you'll need to run via `deno run --check`, or use the separate `deno check` subcommand. No big deal since type checking and linting usually happens automatically in the IDE during development.
Re:Deno Desktop by bel8 on Monday June 22, 2026 @04:30AM (#48627377)
Good to know. Does it also preclude features like enums?
Re:Deno Desktop by Timon3 on Monday June 22, 2026 @07:28AM (#48628735)
Huh, I was going to mention Node's `--experimental-transform-types`, but that was completely removed in v26: https://github.com/nodejs/node/pull/61803
Re:Deno Desktop by bel8 on Monday June 22, 2026 @03:41PM (#48635027)
Wow, this is sad to hear. So if I understood correctly, node is walking back from trying to run TypeScript? Pretty sad if so.

I hope it's a temporary step back to leap forward, in the future.

Re:Deno Desktop by Timon3 on Monday June 22, 2026 @09:27PM (#48638975)
Only for non-erasable Typescript! The support for running erasable TS is here to stay. It's not ideal, but on the other hand this is paving the way for the TC39 proposal - if that ever progresses...
Re:Deno Desktop by bartlomieju on Monday June 22, 2026 @06:45AM (#48628400)
Bartek from the Deno here. Nope, we do support enums OOTB.
Re:Deno Desktop by aabhay on Monday June 22, 2026 @03:48AM (#48627058)
Tauri doesn't lock you in to one JS ecosystem. In fact, it doesn't require you to use javascript at all.

Also, we've had several developer framework startups get acquired -- Astro, Nuxt, UV, Bun, Vite. It doesn't exactly inspire confidence in a software that you want to last and give support for years.

Re:Deno Desktop by thephyber on Monday June 22, 2026 @10:49PM (#48639575)
I don’t understand this logic. The acquisition doesn’t guarantee the project dies and staying unacquired doesn’t guarantee the project continues.

The state of OSS funding is precarious. The acquisitions at least guarantee some runway for the maintainers. Maybe the acquirer has alternative intentions than to simply bankroll the project’s the way it was, but at least someone is paying to keep the maintainers fed.

After having worked in the JavaScript ecosystem for over a decade, I don’t think _any_ project of significant size is guaranteed to last or have support. We need to be thinking about resilience (_when_ the framework stops being supported), not pretending like using OSS projects without paying them should magically give you some support contract/assurances.

Re:Deno Desktop by swiftcoder on Monday June 22, 2026 @03:10AM (#48626787)
> and you get a reliable rendering engine

How is it more reliable than Tauri - aren't they both using the system webview?

Re:Deno Desktop by bel8 on Monday June 22, 2026 @03:12AM (#48626796)
Deno Desktop can bundle CEF (Chromium Embedded Framework) according to https://docs.deno.com/runtime/desktop/comparison
Re:Deno Desktop by fiatpandas on Monday June 22, 2026 @03:15AM (#48626817)
Deno desktop can use system web view OR embed CEF. Tauri is just system web view.
Re:Deno Desktop by aabhay on Monday June 22, 2026 @03:39AM (#48626992)
The benefit of Deno Desktop is it's like Tauri except for when you want it to be Electron???
Re:Deno Desktop by GeneralMaximus on Monday June 22, 2026 @04:43AM (#48627505)
This is a feature many apps actually need.

E.g. Tauri uses WebKitGTK on Linux, which has historically been slow, unstable, and frequently lagging behind the main WebKit project. This is enough of an issue that even Tauri is working on the ability to use CEF instead of the system web view in Tauri apps.

Things are generally fine on recent versions of Windows and macOS. The system web views on these platforms will be evergreen versions of WebKit or Blink. But if you want to support very old versions of Windows or macOS, you might choose to use CEF instead of wrestling with Safari-from-five-years-ago.

Re:Deno Desktop by jpace121 on Monday June 22, 2026 @03:11AM (#48626791)
> Why would I use Tauri now?

You’re “backend” isn’t JavaScript.

Re:Deno Desktop by SpaghettiX on Monday June 22, 2026 @05:40AM (#48627930)
But that would be the same argument for using electron? Why use this and not electron?
Re:Deno Desktop by liamgm on Tuesday June 23, 2026 @04:09AM (#48641870)
the option to use system webview , electron don't provided that
Re:Deno Desktop by farco12 on Monday June 22, 2026 @08:48AM (#48629464)
If you want desktop and mobile builds.

Tauri 2.0 added support for iOS and Android builds as targets.

Re:Deno Desktop by jemmyw on Monday June 22, 2026 @09:47AM (#48630094)
> Deno can run true TypeScript directly and not just strip types

What exactly do you mean by that? Because no js engine carries the ts types into the runtime as far as I know. Deno and nodejs both use v8 as the runtime. v8's internal types are not connected at all to the ts types regardless of the wrapper. The only difference might be when/if static type checking is performed.

Re:Deno Desktop by steve_adams_86 on Monday June 22, 2026 @09:50AM (#48630130)
I think they mean deno handles transpiling for you so there’s no visible machinery for this aspect of the program. It’s just convenient.
Re:Deno Desktop by jemmyw on Tuesday June 23, 2026 @01:33AM (#48640734)
I assumed they meant more than that because nodejs does the same since v22.18 and prior would do it with a flag. But they mentioned type stripping, which is really all transpiling of ts does for most code.
Re:Deno Desktop by callc on Monday June 22, 2026 @09:56AM (#48630204)
Temporarily at a place with 10-15 mbps. 150 MB is around 1 minute.

I grew up on 30 mbps. >= 100 is all I need nowadays.

But 10 mbps and websites and downloads really start to take a while.

The more bits and bytes you save, the more people will be pleased with your stuff! Even if they don’t know what bits and bytes are, and just go based on impatience

Re:Deno Desktop by znort_ on Monday June 22, 2026 @09:59AM (#48630237)
>I'm happy for competition in this space, specially because Deno can run true TypeScript directly and not just strip types like the current Node implementation.

this is misleading. there is no "running true ts". you will always be running pure js (until someone actually develops a "true" ts engine), and deno does "type stripping" just the same. the only difference is that it bundles the tools and makes it transparent and config-free which is more convenient (although more rigid).

Re:Deno Desktop by pier25 on Monday June 22, 2026 @10:29AM (#48630656)
There’s no running TS. Everyone executes JS.

Also TS itself is going towards stripped types. There’s this proposal which might land on browsers some day:

https://tc39.es/proposal-type-annotations/

And in preparation you can use this setting on your tsconfig:

https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly

Re:Deno Desktop by seanclayton on Monday June 22, 2026 @04:43PM (#48635901)
> Why would I use Tauri now?

The same set of reasons anyone made desktop apps before Deno desktop launched. Deno desktop is not the reason desktop apps are made. If someone really wanted a desktop app made before, deno desktop isn't going to suddenly make new ones start appearing. It will just be a new choice among the many.