iswasmfast
Coral
Our great sponsors
iswasmfast | Coral | |
---|---|---|
4 | 10 | |
190 | 1,864 | |
- | 0.1% | |
0.0 | 9.9 | |
over 1 year ago | 7 days ago | |
JavaScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
iswasmfast
-
Pay Attention to WebAssembly
At a glance, the bindings for wasm copy the data,
https://github.com/zandaqo/iswasmfast/blob/54bbb7b539c127185...
If the running code is short enough then that copy might easily make the wasm version much slower. That is indeed a known downside of wasm (calls to JS are somewhat slow, and copying of data even more so - wasm shines when you can avoid those things).
If it's not that, then a 10x difference suggests you are running into some kind of a VM bug or limitation.
-
Node.js 16 Available Now
WASM has its moments, as you can see in this[1] benchmark it outperforms JS and native addons on certain tasks.
Since the bottleneck with native addons is usually data copying/marshalling, and we have direct access to WebAssembly memory from the JavaScript side, using WebAssembly on this "shared" memory might become the best approach for computationally heavy tasks. I wrote about it a bit here[2].
[1] https://github.com/zandaqo/iswasmfast
-
Is WebAssembly magic performance pixie dust?
A few years ago I did similar comparison but in context of Node.js and sans manual optimizations: https://github.com/zandaqo/iswasmfast
In my work, I have come to conclusion that it seldom pays off to go "native" when working with Node.js. More often than not, rewriting some computationally heavy code in C and sticking it as a native module yielded marginally better results when compared with properly optimized js code. Though, that doesn't negate other advantages of using said technologies: predictable performance from the start and re-using existing code base.
Coral
-
What Is a Vector Database
The Coral Project [0] (commenting platform used on Washington Post, New York Times, The Verge) uses an Apache 2.0 license [1]. Which doesn't seem to have prevented it from raking in big SaaS customers.
A lot of people worry about copy-cat services, but it's kind of rare that someone will be able to compete with you as the original in hosting your own service as well as you can. Especially when you consider support and maintenance requirements of a new product you aren't personally developing.
I could see copy-cat services being more of an issue in the late stage of a product though? When everyone knows lots about how to stand it up and use it?
[0] https://coralproject.net/
-
What's the result of Knight-Mozilla Initiative: Challenge 2 – Beyond Comment Threads
The Coral Project was created inline with this initiative. They have lots of guides that provide some of the research that was conducted: https://coralproject.net/
-
Commento - A Self Hosted Comment System for Websites
For comment system, I choose Coral Project Talk because it could use Akismet and Google Perspective API for reducing spam and harassment. I also need to think about the remove comments when user delete their account (GDPR stuff). Coral Talk has the above functions in the UI.
-
Everything you need to know about Opensource Jamstack
Another great API that could be self-hosted is Coral. It’s a commenting platform where users can leave online comments. It’s received contributions from over 40 people on Github. It has a good-first-issue tag and also offers a contribution guide.
-
Node.js 16 Available Now
Yup! We do a Typescript/Node.js/GraphQL back-end with React/Relay/Typescript on the front end.
https://github.com/coralproject/talk
It's pretty nice having the whole code base share types, syntax, structure, etc.
-
Show HN: I'm working on a open-source, self-host alternative to Disqus
Coral is poorly advertised outside it's ecosystem, but should be considered. https://github.com/coralproject/talk
See https://docs.coralproject.net/coral/v5/integrating/cms/ to get an idea of it's use.
-
I made a student publication @ university & discovered a deep hate for WordPress — so I made my dream publishing platform
Our highest tier comment system is quite powerful, and is based off Coral Talk by Vox. For beginners like yourself, if we allowed users to integrate Disqus on all tiers, would that alleviate your concerns with using Storipress?
-
Caching data on Apollo server
If you need some inspiration, we added support for server caching of responses on Coral: https://github.com/coralproject/talk/blob/develop/src/core/server/app/middleware/graphql/apolloServer.ts#L85-L88
-
Disqus, the Dark Commenting System
I've seen some examples in which people embed Discourse discussions.
There's also Coral (https://github.com/coralproject/talk) which used to be Mozilla + Vox project before Mozilla handed it over to Vox completely, but I have no experience with it.
What are some alternatives?
neon - Rust bindings for writing safe and fast native Node.js modules.
Discourse - A platform for community discussion. Free, open, simple.
expresscpp - Fast, unopinionated, minimalist web framework for C++ Perfect for building REST APIs
phpBB - phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
human-asmjs - Tips and tricks for writing asm.js as a human - Note: WebAssembly has replaced asm.js, so this is no longer maintained.
GNU social - GNU social is social communication software for both public and private communications.
friendly-pow - The PoW challenge library used by Friendly Captcha
Mastodon - Your self-hosted, globally interconnected microblogging community
proposals - Tracking WebAssembly proposals
remark42 - comment engine
design - WebAssembly Design Documents
commento - A fast, bloat-free comments platform (Github mirror)