Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In my experience they're pretty rare. Not many Node packages need a native build (mostly node-sass in my experience, which has now been deprecated in favor of a Dart implementation which I believe compiles to JavaScript), and I don't think Deno even supports importing non-JS/WASM modules to begin with, so that type of problem should be fully impossible here


I usually see these binary dependencies in node projects:

- sass - imagemin-gifsicle - imagemin-jpegtran - imagemin-optipng - imagemin-svgo

Deno does support native plugins, so we could see the same thing happen there.


I think there's still a meaningful difference between runtime plugins (which to my understanding have to exist locally on the file system, outside of normal dependencies) vs normal dependencies that just sometimes have a native component. Deno projects won't occasionally accidentally have a native dependency like Node projects do; adding one will be a Big Deal that you choose to do on purpose, probably reserved for extreme cases, and for those special cases maybe you also choose to bail out and use Docker


Dart has AOT/JIT support since version 2.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: