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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

WelsonJS: Build a Windows app on the Windows built-in JavaScript engine

48 点作者 hcho39 个月前

6 条评论

cdaringe9 个月前
I saw a partial example, but not clear instructions on how to bootstrap a project. Did I miss it in the README? Or should it be obvious to me if I have some XYZ experience?
评论 #41325383 未加载
rvnx9 个月前
Quite amazing solution. From the .hta file you can see it was inspired by VBScript (whose most popular software is ILOVEYOU I guess).<p>It looks like the ultimate hack, but why not ? It&#x27;s very creative and the intention is good as well: TypeScript&#x2F;JavaScript is a very popular language. Though C#.NET is great as well.<p>It could make sense in the very long-term that Microsoft themselves explore this possibility.<p>Ultimately &quot;TypeScript.NET or JavaScript.NET&quot;
评论 #41321183 未加载
评论 #41342218 未加载
评论 #41320875 未加载
withinrafael9 个月前
Before anyone gets the wild idea to use this, beware HTAs, VBScript, etc. are slated for removal from Windows around 2027.
mappu9 个月前
HTAs are tied to MSHTML.dll (the old IE renderer) and WSH&#x2F;CScript is tied to the old, slow IE javascript engine, right?<p>I would expect this to have very limited compatibility, and even with the transpiling, very limited performance. Or is it possible for this to somehow use Chakra, or Edge&#x27;s V8 engine?
评论 #41325704 未加载
h335ian9 个月前
Despite being down on all the extras, I wanna reiterate - I do think this is a cool project and I dig that HTAs are still around.
h335ian9 个月前
Been doing this since 1999. The only thing novel I see here is the transpilers - but you know… you don’t need that. You can build HTAs with native JavaScript, CSS and HTML - and with a little VBScript mixin, directly work with Windows libs. Back in ‘99 and early 00’s I was delivering “thin-client” control panels &amp; management tools for server farms, sensitive accounting data, among a variety of other things. It was (and likely still is) a great way to provide a web interface as a desktop app for scenarios where exposing the management interface to the open web is undesirable.<p>Nifty project, but IMHO the world is better off using native JavaScript without all the BS that comes with TypeScript, etc. JavaScript is so powerful and amazing, it’s a bummer to hamstring your app by using TypeScript and classic OO inheritance models that preclude the beauty and dynamics of JavaScript as a functional, prototypal language.
评论 #41320823 未加载
评论 #41322456 未加载
评论 #41322037 未加载
评论 #41322903 未加载
评论 #41322607 未加载
评论 #41320776 未加载
评论 #41323462 未加载
评论 #41322464 未加载
评论 #41320680 未加载
评论 #41325073 未加载