Git Product home page Git Product logo

Comments (4)

saghul avatar saghul commented on May 20, 2024 1

Hi there!

Sorry for the delay. As you may have noticed the project is still young, and TBH I haven't made my mind up about package management.

It is not something I can think about right now, not at least there is a working WebSocket and HTTP server implementation in here :-)

I'm currently leaning towards an FFI interface for accessing external libraries indeed.

Now that you mentioned uws, I did take a quick look for maybe using it to power the WS server / client, but it looks like it just does servers, right?

My plan at the moment is to go with libwebsockets, because it will allow me to support WS and HTTP client / server with a single library. That would replace curl.

from txiki.js.

cirospaciari avatar cirospaciari commented on May 20, 2024 1

libwebsockets for all in one solution will be great!
Another thing is maybe go for an deno/es6 like import for packages aka:

import {
  add,
  multiply,
} from "https://x.nest.land/[email protected]/source/index.js";

from txiki.js.

saghul avatar saghul commented on May 20, 2024 1

libwebsockets for all in one solution will be great!

Another thing is maybe go for an deno/es6 like import for packages aka:

import {

  add,

  multiply,

} from "https://x.nest.land/[email protected]/source/index.js";

HTTP imports already work :-) Not sure what Deno does if the imported file imports another one relatively though, that might not work (yet) but I have not tried it.

from txiki.js.

guest271314 avatar guest271314 commented on May 20, 2024

libwebsockets for all in one solution will be great! Another thing is maybe go for an deno/es6 like import for packages aka:

import {
  add,
  multiply,
} from "https://x.nest.land/[email protected]/source/index.js";

I had the same idea https://www.reddit.com/r/Deno/comments/106r0v0/how_to_compile_servetls_for_import_into_quickjs/, https://www.reddit.com/r/javascript/comments/106m5i6/askjs_is_there_an_javascript_engine_agnostic/. The source files are downloaded to /home/user/.cache/deno/deps/https/deno.land/. Not sure how to proceed from there besides modifying the code by hand to remove references to Deno.

from txiki.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.