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.

WinterJS

139 pointsby kevinakover 1 year ago

14 comments

TekMolover 1 year ago
They say running the hello world example &quot;is as simple as this:&quot;<p><pre><code> wasmer run wasmer&#x2F;winterjs --dir=. serviceworker.js </code></pre> But ... what does that mean?<p>After I turned on a new computer, I certainly can&#x27;t type that command and have it running &quot;a JavaScript Service Workers server written in Rust, that uses the SpiderMonkey runtime to execute JavaScript&quot; as they put it.<p>What is the background here? Say I have a newly installed Debian 12 machine - how do I get to use this thing?
评论 #38048124 未加载
评论 #38048150 未加载
评论 #38048158 未加载
Muromecover 1 year ago
After reading the whole page I still don’t get what it does, why I need it and how exactly it’s cool. I mean okey, JavaScript ant rust, yeah. Aaand?
评论 #38048508 未加载
评论 #38048523 未加载
评论 #38049783 未加载
评论 #38049915 未加载
评论 #38048624 未加载
评论 #38048240 未加载
评论 #38048939 未加载
评论 #38048371 未加载
crabmusketover 1 year ago
I actually tried writing something like this one weekend last year. I really like the idea of the <a href="https:&#x2F;&#x2F;wintercg.org&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;wintercg.org&#x2F;</a> group this runtime is named after, and I wanted a non-Node, non-Cloudflare, non-X version just to explore what it took to implement some of the APIs they&#x27;ve standardised on.<p>It was based on QuickJS and Tokio and never got far. Instead of implementing builtins in C, as the article suggests you would with QuickJS, I was implementing them in JS. I think I got to the point where the very simplest hello world would work.<p>Anyway, I&#x27;m glad someone else has done it.
remramover 1 year ago
It is weird that this is so high up in the frontpage yet no one in the comments understands what it is. Hopefully someone from the project team sees this and comes up with an understandable description.
评论 #38051973 未加载
politelemonover 1 year ago
&gt; The WinterJS server is published in Wasmer as wasmer&#x2F;winterjs.<p>Struggling with the assumed knowledge here, and having to hop a number of pages. What is wasmer? Why is this published there and not npm.<p>I think there is a new set or layer of terminology, some very close to each other, that the wasm world introduces but which nobody wants to explain. That leads to confusing when trying to understand a project like this.
评论 #38048898 未加载
vasergenover 1 year ago
What does it mean &quot;blazing fast&quot;? Every new thing is blazingly fast nowadays.. deno, bun, turbopack, etc. I don&#x27;t even know what does it mean to me as a user, does it really super fast or it is just some fancy words. &quot;blazingly fast&quot; compared to what?
评论 #38048175 未加载
评论 #38048488 未加载
评论 #38048173 未加载
评论 #38050309 未加载
评论 #38073413 未加载
评论 #38048449 未加载
评论 #38048315 未加载
评论 #38048969 未加载
评论 #38049730 未加载
评论 #38048381 未加载
charcircuitover 1 year ago
What&#x27;s the point of running a the javascript virtual machine on the WASM virtual machine?
评论 #38048101 未加载
评论 #38048428 未加载
pleoxyover 1 year ago
Pretty confusing to call their target a &quot;service worker&quot; when that is also the name of an in browser platform. Kind of a mess of a post.
ushakovover 1 year ago
WinterJS doesn’t support any other runtimes other than wasmer though?
评论 #38049513 未加载
hackandthinkover 1 year ago
Some fancy indirectly referenced stuff:<p>Taking Javascript Code and generating a specialized Interpreter for this Code which can be compiled to Webassembly. (Chris Fallin)<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Partial_evaluation#Futamura_projections" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Partial_evaluation#Futamura_pr...</a><p>via <a href="https:&#x2F;&#x2F;github.com&#x2F;cfallin&#x2F;weval">https:&#x2F;&#x2F;github.com&#x2F;cfallin&#x2F;weval</a>
indeyetsover 1 year ago
Why do I need service workers as standalone programs on the backend? What am I missing by not running them? Looks like another way to run server app<p>Fair question
chiubacaover 1 year ago
so, is this a cloud flare workers alternative?
评论 #38054960 未加载
elvis19over 1 year ago
Can i use this to compile Javascript to .wasm and run it with Apache mod_wasm?
评论 #38049482 未加载
throwoutwayover 1 year ago
Meta: with the double top-banner and the massive side-bar and gutters, the readable space for the blog is &lt;30% of the page