News for hackers. Stuff that matters.
Re:Sqlite3 WebAssembly by rezonant on Tuesday October 15, 2024 @05:07PM (#41853135)
> We publish ONLY vanilla JS and adamantly refuse to go down rabit hole of supporting the frameworks du jour

A bit confused at this, NPM is just a package manager / distribution mechanism, not a framework. Totally fair if you don't want to publish for all the package managers, though for Javascript there's only a few that are relevant. NPM has been around for a decade.

Re:Sqlite3 WebAssembly by sgbeal on Tuesday October 15, 2024 @05:12PM (#41853181)
> A bit confused at this, NPM is just a package manager / distribution mechanism, not a framework

It's an out-of-language packaging/distribution framework (and it's not the only one). It's not part of the JS standards.

My comments above have been edited to reframe our stance on npm and frameworks in general.

Re:Sqlite3 WebAssembly by rezonant on Tuesday October 15, 2024 @06:24PM (#41853749)
I don't think there will ever be a package manager dictated by the Ecmascript standards.
Re:Sqlite3 WebAssembly by syndicatedjelly on Tuesday October 15, 2024 @07:29PM (#41854172)
Then ES will continue to remain an outlier among major language implementations
Re:Sqlite3 WebAssembly by sorrythanks on Thursday October 17, 2024 @12:50PM (#41871335)
what package manager is dictated by the C, C++, Common Lisp, Ruby, Prolog, Pascal... any language's standard?

I am struggling to think of a single standardized language whose standard defines the package manager

Re:Sqlite3 WebAssembly by kazinator on Thursday October 17, 2024 @01:59PM (#41871993)
Languages should make it easy to use third party pieces directly, without a package manager. People actually do that, and so that status quo is maintained; any increment in the difficulty of constructing programs out of components will result in loud protests.

Package managers are an anti-pattern. When the standard package manager is present, the packaging problem is regarded as solved ("just use the package manager"), and so the actual mechanisms underlying program construction are then out of the negative feedback loop and will rot.

Re:Sqlite3 WebAssembly by rezonant on Thursday October 17, 2024 @11:55PM (#41876211)
Somewhat confused by this statement, I'm having trouble thinking of a language where it's hard to consume code without a package manager...
Re:Sqlite3 WebAssembly by syndicatedjelly on Sunday October 20, 2024 @02:11AM (#41893275)
Imagine a world where your language’s package manager became a company that basically offered “Package Management as a Service”. How effective do you imagine that would be?
Re:Sqlite3 WebAssembly by samatman on Tuesday October 15, 2024 @06:58PM (#41853977)
I think the communication barrier here is that in JavaScript, framework very distinctly means things like React, Vue, Angular, and so on. It definitely does not refer to projects like Node/npm/Bun/Deno, those are toolchains, sometimes called ecosystems for obscure reasons.

If you changed the word "framework" to "toolchain" in your post I think it would make a lot more sense to people.

Re:Sqlite3 WebAssembly by sgbeal on Tuesday October 15, 2024 @08:59PM (#41854657)
> If you changed the word "framework" to "toolchain" in your post I think it would make a lot more sense to people.

Fair point but the edit window has passed ;). For the sake of clarity for those still following along: "framework," in the context of my above comments, includes any non-formally-standardized tools or APIs which are built atop the standardized core.